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
|
- steve1977 - 2011-07-17 DejaVu Wrote:Have you cleared your browser cache after doing this? Mmh, would love to get it working exactly like in your youtube video. Not sure what is still wrong with my config. I am using subsonic on Win7x32. Could it be related to this? Also, besides main.jsp (which I changed), there are 2 similar (main_jsp.java and main_jsp.class), which I left untouched. Any other thoughts? - gugahoi - 2011-07-17 Dougedey Wrote:@ dejavu: I changed wNowPlaying.php so the thumbnail check became this That look like a good change actually. Will put it up soon steve1977 Wrote:Thanks, sounds promising. I tried your repo before config.ini existed and it didn't work with reverse-proxy. It didn't pull it from the navbar properly and just returned site-not-found error. There was someone else reporting same issue back then. Try not using '/' in the reverse proxies. Just the name - xbmc, tv, movies, etc... - gugahoi - 2011-07-17 rflores2323 Wrote:why dont you guys add an auto update function to mediafrontpage like sickbeard and couch potato have? that way when you go the webpage you can check if there is a new version in the repo to download and compare the version. sraue Wrote:please dont do this via git or svn like there... thats a very ugly way because git is no tool for update, and if you add a autoupdate function make it fully optional via a configfile (so it cant be enabled via the browser) I've looked into that before but as Deja said it will probably not be in MFP for a little while. Still need to finish up this last batch of changes. BTW Sraue, how do you recommend we do the updates then? - gugahoi - 2011-07-17 Dougedey Wrote:I looked into it a lot more last night, the feedback from the JSON RPC calls to get the active playlist items are extremely inconsistent, sometimes there'll be a plot, sometimes not, sometimes it'll give a non-existant file (like the fanart) sometimes it won't. Ye, it is not very reliable the RPC yet, but I haven't run into this problem. DejaVu Wrote:Going by the information gives us nothing to work with. Deja, this was actually what I pointed to you days ago. You can get rid of that for each loop in there, it only need to load on the Widgets page otherwise it will certainly throw errors. It's not that big a deal tho, but it's definitely not supposed to be in nav.php - gugahoi - 2011-07-17 rflores2323 Wrote: This is probably because MFP auto generated config.php for you in the past. Apache is probably the owner of the file so git doesn't have permissions to overwrite it. A chmod should fix that, but if not, just re git because the changes were quite significant. Dougedey Wrote:Thanks for the updates DejaVu, is there anyway to disable the notifcations when it saves each page? Atm I get two notifications (one appears to be the update URL) That folder is actually not needed anymore like that. You should get the EXTRAS from my repo since I've updated it and it now contains info on how to set up XBMC to work over reverse proxies. @DejaVu you should also have a look around my repo because I've noticed I've updated some files that you missed like the EXTRAS folder. Also, as mentioned before, the save button in the CSS Settings page is out of frame. You may need to change it to a two row layout. Also wanted to say that I really like the changes you've been doing. Keep up the good work. I haven't gotten very far on my settings page in the last few days tho, been a bit busy with other stuff. - rflores2323 - 2011-07-17 DejaVu Wrote:Right, to get my Repo working, you should clone it as master from scratch. I am still getting the message errors below. its only when I navigate to another program while inside MFP like sickbeard, CP, Sab, etc.. Notice: Undefined variable: wIndex in /opt/lampp/htdocs/mediafrontpagexbmc/nav.php on line 40 Warning: Invalid argument supplied for foreach() in /opt/lampp/htdocs/mediafrontpagexbmc/nav.php on line 40 I am also now getting this message on the harddrive widget Code: Warning: disk_total_space() [function.disk-total-space]: No such file or directory in /opt/lampp/htdocs/mediafrontpagexbmc/widgets/wHardDrives.php on line 26 - steve1977 - 2011-07-17 gugahoi Wrote:Try not using '/' in the reverse proxies. Just the name - xbmc, tv, movies, etc... Wow, this is cool and working. A few things that do not work (with dejavu's latest repo), but I assume they are most likely independent of the reverse-proxy settings: 1) CSS modifications cannot be saved and thus do not work 2) Headphone and Subsonic do not work from navbar yet. I assume this is just not implemented yet. I added "programs.php?p=HeadPhones" in the conf GUI and also added the reverse-proxy setting in the config.ini directly, but I assume there is some coding needed to make it actually work? 3) The reverse-proxy still needs to be manually edited in the config.ini file, which I don't mind at all 4) Changing RSS feeds has some bug, which leads to config.ini not being usable anymore (e.g., you can replicate the error by changing the order of the RSS feeds through the config GUI Thanks again!!! - DejaVu - 2011-07-17 gugahoi Wrote:Deja, this was actually what I pointed to you days ago. You can get rid of that for each loop in there, it only need to load on the Widgets page otherwise it will certainly throw errors. It's not that big a deal tho, but it's definitely not supposed to be in nav.phpSo moving the foreach statement to my index.php (mediafrontpage.php) is a better option and should stop the errors? I dont really want to remove the CSS statement as it's used to skin the Nav bar. gugahoi Wrote:@DejaVu you should also have a look around my repo because I've noticed I've updated some files that you missed like the EXTRAS folder. Also, as mentioned before, the save button in the CSS Settings page is out of frame. You may need to change it to a two row layout.I forked from your (INI_CONFIG) Repo on 8th July and you've had no commits since. I thought I was all upto speed with the changes. Have you managed to sort out removing any of the saving alerts in settings.php yet? CSS Save Button must be with peeps with low resolutions. Mine runs at 1680x1050 and is there. Will fix this. --EDIT-- Oh SHIT! I've been watching your repo, you've been working on the Official Repo... Oops! https://github.com/MediaFrontPage/mediafrontpage/tree/INI I'm going to try a Pull Request from it into my Repo and see if it all goes pear shaped. If it does, I'll start again. gugahoi Wrote:Also wanted to say that I really like the changes you've been doing. Keep up the good work. I haven't gotten very far on my settings page in the last few days tho, been a bit busy with other stuff. Glad you approve, going to probably re-fork today and add my changes to it again. Seems the easiest option. --EDIT-- I edited the files manually, but on save, it states there is a problem and to contact the Dev's, yet the config.ini does actually save, but only one section at a time! Code: function ajaxRequest(params){ It's whinging and saving! lol - gugahoi - 2011-07-17 DejaVu Wrote:So moving the foreach statement to my index.php (mediafrontpage.php) is a better option and should stop the errors? That's weird but I was going to say anyway that it is still full of bugs. I havent done anything in the last few days... - gugahoi - 2011-07-17 Ok, good news. I think it's 99% ready. Have look and let me know what you think. - DejaVu - 2011-07-17 The settings page appears to be fixed now. Do you reckon it's usable and ready for me to restart my changes? Should not take too long to get to where I was...? I'll remove my Repo now and re-fork it again and start over. - _Mikie_ - 2011-07-17 Quick question. The coming episode widgets. Minimal poster and minimal banner. Whats it meant to display? Series name ? Season-Episode Episode name Banner/Poster Description ? Does anyone have a script that will fetch images from outside the webroot? Does anyone have the code for the slide bar in coming episode widget so I don't have to go digging for it? Thanks - DejaVu - 2011-07-17 In wComingEpisodes.php This sets the Divs. Code: // START Container for Scroller bar (Wraps comingepisodeswrapper before it created). In mediafrontpage.php towards the end and activates it. Code: <!-- START: JQuery Scrollbar for Coming Episodes Widget, Javascript Entries --> You need to embed the scrollbar.css too. - _Mikie_ - 2011-07-17 DejaVu Wrote:In wComingEpisodes.php Thanks! Forgot about the scrollbar.css. In the coming episode widget what does widgetComingEpisodesHeader function do exactly? Where do I put the content code. After before in between? - DejaVu - 2011-07-17 I'm going to start this post by thanking Gugahoi for finishing the Settings Branch (INI) Modifications. Nice one buddy! My Repo got completely wiped out earlier today and I re-added all the modification I've made over the past few days - today! Reverse Proxies is now implemented but will need testing by others as I am still unable to get my Apache to play nice. Previous wIndex errors should now be solved and no longer occur. CSS Save Button is now in view. SubSonic & HeadPhones are fully supported - but edits to files within SubSonic are required. Files that need editing to get SubSonic to stop jumping out of the iFrame. PlayAddDownload.jsp, top.jsp & main.jsp. (Do NOT touch and Class or Java files) PlayAddDownload.jsp Change - Code: <a href="javascript:noop()" onclick="top.playlist.onAdd('${path}');"> Code: <a href="javascript:noop()" onclick="parent.playlist.onAdd('${path}');"> top.jsp Change - Code: <a href="j_acegi_logout" target="_top"> Code: <a href="j_acegi_logout" target="_parent"> main.jsp Change - Code: <a href="javascript:noop()" onclick="top.playlist.onPlay('${path}')"><fmt:message key="main.playall"/></a> | Code: <a href="javascript:noop()" onclick="parent.playlist.onPlay('${path}')"><fmt:message key="main.playall"/></a> | login.jsp Change - Code: <script type="text/javascript"> Code: <!-- <script type="text/javascript"> Feel free to refresh your install from my Repo. You should be able to keep your previous config.ini file and the settings should get picked up. But I suggestion starting from scratch again. Any issues, let me know. I shall be re-doing my ReadMe.md file for a while now. |