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
|
- AWilco - 2011-02-05 thezoggy Wrote:there shouldnt have been any need to change anything for sickbeard. if anything just added the two new classes used to the css. which i already mention a week ago before the changes got pushed to master branch. Mine wouldn't show anything because the scapers cut out too much of the page, left only a blank header section. Not sure why you can't see it though... - AWilco - 2011-02-05 RaNaMaster Wrote:ok guys i need some info and please go easy im a noob my ? is what do we need mysql for in my config i see By default XBMC uses a SQLLite database, so you do not need to use that bit (which is why it is commented out). You should only need the first db links: Code: $xbmcdbconn = array( - Celox - 2011-02-05 thezoggy Wrote:there shouldnt have been any need to change anything for sickbeard. if anything just added the two new classes used to the css. which i already mention a week ago before the changes got pushed to master branch. actually the comingepisodes listing stopped appearing for me to on MFP since an sickbeard update a few days ago. i had the changes for the new classes though, i didn't change a thing in the config or css since then. - RaNaMaster - 2011-02-05 thank you AWilco - thezoggy - 2011-02-06 Celox Wrote:actually the comingepisodes listing stopped appearing for me to on MFP since an sickbeard update a few days ago. i had the changes for the new classes though, i didn't change a thing in the config or css since then. just tested MFP with sickbeard (git source) latest and things look fine, just made some slight changes to make some things look better. I'd recommend updating MFP github with: http://zoggy.net/comingepisodes.css --z - DPickles - 2011-02-06 currently I have this is my config Code: $sickbeardcomingepisodes = 'http://nerdbox:8081/comingEpisodes'; This works fine in my browser and sickbeard works fine as well. But, for some reason I'm unable to get the coming episodes widget to work? I did a clean install and everything else is working fine. Any ideas? - AWilco - 2011-02-06 thezoggy Wrote:just tested MFP with sickbeard (git source) latest and things look fine, just made some slight changes to make some things look better. I'd recommend updating MFP github with: http://zoggy.net/comingepisodes.cssinteresting. I've done some testing myself, and the HTML I get back from Sickbeard, after stripping to the body tags, is this: Code: <div id="comingepisodeswrapper"><h1>Coming Episodes</h1> The stripInnerWrapper command looks for Code: $pos = strpos($body, "<script"); Code: <div id="comingepisodeswrapper"><h1>Coming Episodes</h1> would you be willing to look to see what HTML you get? DPickles: You might have the same problem as me, hopefully zoggy can take a look. - steve1977 - 2011-02-06 Thanks again for the great work. It has been working great, but suddenly 2 issues came up: 1) The bar on the top stating "XBMC", "Sickbeard", etc is not really visible anymore. The height is only 1mm, so that only a fraction of the "X" from "XBMC" is visible... 2) "Coming episodes" still works, but there is a long intro now including "home", "add shows", "manual post-processing", "restart", "shutdown", etc. This is taking all the space that coming episodes only show at the bottom of the page... Any thoughts? - mwkurt - 2011-02-06 Hello again, I am hoping...well, begging for someone to step up and me out with this installation. Once again, I am using Windows 7 32 bit and the MySQL database with XBMC. Has anyone installed this who is running a mysql database? If so, can you please help me out? I have uninstalled Xampp and just installed Apache 2.2.17 and am trying to get this to work without all of the extra stuff that Xampp installs. I never could get around the problems I was having with PEAR and whatnot. (Don't understand why no one else had the problems with PEAR?) I do not know what else if anything I have to do now, however I know that it is currently not working in it's present state. I have installed Apache in "C://Apache" After doing that I entered "http://localhost" and got the window that says "IT WORKS"...yeah! So I unzipped the file for MediaFrontPage into the "C://Apache/htdocs" directory. I renamed the 2 default files to config.php and layout.php. Refreshed the browser page and was shown a, "Index of" what was in the htdocs folder: Index of / * .gitignore * README * config.php * css/ * favicon.ico * functions.php * index.php * js/ * jsonservice.php * layout.php * m/ * media/ * mediafrontpage.php * nav.php * sickbeardposter.php * widgets.php * widgets/ * xbmcjsonlib.php Can anyone tell me what I need to do now? Please! Edit #1 - I have also installed PHP 5.3.5 into the directory "C://PHP", following the directions on this page: http://www.webdevelopersnotes.com/how-do-i/install-PHP-windows-7.php I still get the "Index of" when entering "http://localhost. Thanks, Mark - branlr - 2011-02-06 mwkurt Wrote:Hello again, That's pretty weird, because the fact that it is listing index.php ought to mean that it automatically loads that file by default just by going to the directory.... Try adding index.php at the end of the url. Edit: why not just use Xampp? Seriously, it works really well for me, and all that extra stuff is good to have anyway. I find myself using the ftp server etc just because I have it there anyway! If you were having troubles... I don't know... some kind of conflict on your system or something... On a clean install of windows, it should be this simple: 1. install xamp 2. Put mediafrontpage in the htdocs directory 3. edit config file appropriately 4. uncomment curl under php.ini in xampp 5. Go to http://yourip/mediafrontpage/ 6. Success. EDIT: Actually, just thought of something--it sounds like you are putting the files directly into htdocs... try putting them in a folder and add it to your url... http://yourip/nameoffolder/ instead of just your ip. If that doesn't work, add index.php. - thezoggy - 2011-02-06 AWilco Wrote:interesting. I've done some testing myself, and the HTML I get back from Sickbeard, after stripping to the body tags, is this: did you clear your browsers cache recently? stripinner actually looks for: $pos = strpos($body, "<h1>Coming Episodes</h1>"); - thezoggy - 2011-02-06 steve1977 Wrote:Thanks again for the great work. It has been working great, but suddenly 2 issues came up: clear browser cache, you have stale css - AWilco - 2011-02-06 mwkurt. Here is a tutorial that should help you: http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml note especially: How to Configure Apache for PHP 5 a. Running PHP 5 as an Apache Module (this is preferred to the CGI method) and c. Configuring the Default Index Page This is probably where your installation isn't done. However it's probably worth reading the whole tutorial to check you installed things correctly. also note what branlr says about putting it in a subfolder (you might want to run other things on your apache server in the future ) - AWilco - 2011-02-06 thezoggy Wrote:did you clear your browsers cache recently? cleared the cache, still not working. Code: function stripInnerWrapper($body) { Finds the position of "<h1>Coming Episodes</h1>" Removes everything before it. Finds the position of "<script" Removes everything after it. which based on my Sickbeard output leaves what is in the post above, do you get different output from Sickbeard? - mwkurt - 2011-02-06 branir, Thanks for responding to my plea. A clean install of Windows could be what I need, but I'd rather not try that at this point in time. If you go back a few pages you can see the problems that I was having with Xampp and why I uninstalled it. I kept getting the follwing errors: Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\Config.php on line 80 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\Config.php on line 166 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\Config\Container.php on line 111 Nobody seemed to know how to fix that. From what I have read, it is not really an error but could be a future problem. The way to get rid of it was to add "~E_DEPRECATED" to the error_reporting line of the php.ini file. Tried that, didn't work. Wouldn't really fix the problem anyway, just mask the problem. The strange thing is, the first time that I installed Xampp, It all seemed to work except for those errors. I got the upcoming, latest music latest videos, etc. After uninstalling and reinstalling I could never get it back to that point. I continued to have the Deprecated errors and couldn't understand why no one else reported them. I guess it's my system. At any rate, Jason28 gave me the url of a guide to follow. However, it appears to me, that following that guide is for those who are using the standard sqlite database. I am using the mysql database and question whether the guide will set it up for a MySQL user? So I ask again....Is anyone here using the MYSQL DB with this, that could help me with whatever settings need to be made? Thanks again, Mark |