MediaFrontPage - Web interface with widget type architecture to control multiple apps - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: MediaFrontPage - Web interface with widget type architecture to control multiple apps (/showthread.php?tid=83304) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
- Zarquon - 2010-11-17 Archigos Wrote:I wanted to mention a possible bug and had a quick question...As a slight tweak to Nick8888's suggestion. Create a file in the css directory called something like archigos.css and place the above css code snippet in there. then set the $customStyleSheet in your config.php. Code: $customStyleSheet="css/archigos.css"; Also if your layout changes are not saving it is typically because you do not have write permissions to the layout.php file or have not created it. - Archigos - 2010-11-17 The edit to layout.php worked great, but using Nick's CSS tweak directly or via the edit above doesn't change anything to that widget. I've force refreshed to make sure it wasn't a cache issue, but still no good. *** From bottom post *** I found the area in the CSS to change for what I wanted/needed... Either in the comingepisodes.css at the bottom of the file is: Quote:#main #wComingEpisodes.widget .widget-content {and needs to be changed to: Quote:#main #wComingEpisodes.widget .widget-content { Or use Zarquon's suggestion of the custom css file. I still can't get a scrollbar on the widget so it just hides most of them, but any suggestions on that would be great - Archigos - 2010-11-17 (Double Post) My apologies, feel free to delete this post... - Nick8888 - 2010-11-17 changing listingWrapper works as intended here. May have been because I accidentally put an = instead on a : in the post (yes very stupid of me). Glad you got it going anyway. Zarquon is right, don't change any of the included files if you don't necessarily need to so that changes persist through updates. - Archigos - 2010-11-17 Nick, I figured it out, if you take your suggestion of max-height and my suggestion, using both together will give the user the scrollbar. I changed the two required sections in a custom CSS file and it works great. *** Added Info *** Use the custom theme in the config.php as Zarquon suggests and use the below code in your custom.css to get the scrollbar and still have the overall show count and episode count still show up at the bottom of the widget (which is why there is a 30px difference). Quote:#listingWrapper { - DejaVu - 2010-11-17 RSS works to a certain degree. Add's it to Sab, but sab rejects it as the Username and APIKey for NZBMatrix is missing... Guessing this will be added to the config.php? - Nick8888 - 2010-11-17 https://github.com/nick8888/mediafrontpage/commit/ba62782375754dfa66d1ea5eff30cab10f934314 Quote:Note: If you are receiving this: error:invalid_login In addition zarquon has allowed pp, script, cat and priority to be specified for each rssfeed in MFP's config (in accordance with http://sabnzbd.wikidot.com/api#toc28). Perhaps you might like to add an example using these options in the default-config. If none of these are present in the rssfeed's array then the "add to sab" link won't showup I think its ready for default-layout now! Well done on this. - Robotica - 2010-11-17 Hi Nick and Zarquon (and others), Great project is this! I really appreciate all efforts to have this great download experience on my HTPC. One suggestion: Slash is having some great idea's to improve the default web interface. It would be great if things between that project and this project could be uniformed. http://forum.xbmc.org/showthread.php?tid=83962 - Nick8888 - 2010-11-17 Hi Robotica, the problem is MFP requires php to do much of its work, and xbmc's web server does not support php. If you read this ticket you'll see slash is referring to broadening the xbmc related features of xbmc's web interface and the features he intends are far outside the scope of MFP. My intentions for MFP is to complement (and bring together) these other web interfaces rather than fully replace them. However, feel free to make a feature request if there is anything in particular you would like to see MFP do. However, I do think it would be nice if they changed xbmc's default web interface to have a more flexible architecture which allowed developers to add to the default interface rather than replace it. - gugahoi - 2010-11-17 RSS widget looks fantastic! Well done. An ye, as NICK said, the nzbmatrix info must be on sab already. Except, for nzbmatrix at least, there's a rss with inbuilt user info and api that can be used. You can find it in Code: http://rss.nzbmatrix.com/ It can also be personalized, so it's pretty cool. - gugahoi - 2010-11-17 Archigos Wrote:*** Added Info *** I've tried this out with no luck. Is the custom css just meant to contain those couple of lines? I keep getting this when I activate the custom css Code: Warning: Division by zero in C:\xampp\htdocs\config.php on line 70 - Nick8888 - 2010-11-17 from default-config.php Code: //$customStyleSheet = "css/lighttheme.css"; That error means php is trying to divide whatever you have in there so make sure your " (quotes) are correct so that it knows its a string. - gugahoi - 2010-11-18 Thanks Nick, for some reason the text editor I was using wasn't writing the proper characters. Couple of things I need to ask: For the RSS widget, is there a way to ensure the name of a file doesn't take more than one line? And, like for the coming episodes, is there a way to limit the sides height, so that if it should be bigger than the page, one could just scroll the side and not the entire page? - DejaVu - 2010-11-18 Archigos Wrote:#listingWrapper { Did you try it with percent? Works just as well and works for every screen resolution! Helps if you access from lots of different computers. Mine - Code: #listingWrapper { - DejaVu - 2010-11-18 gugahoi Wrote:Thanks Nick, for some reason the text editor I was using wasn't writing the proper characters. I looked into ellipsis CSS, which seems to say it does exactly that... Probably the easiest option. I think it would smarten the look up as well. http://www.electrictoolbox.com/ellipsis-html-css/ As for the Coming Episodes, see code box above. I'm not sure if Auto will do it, but percent works for me! |