Kodi Community Forum
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)



- gugahoi - 2011-05-14

Ok guys, I made a light fix for the trakt widget. I'm gonna fork from the main repo now that it's not taking in so much away from everything else and keep my development in my own repo, just wanted to fix that before starting my own.

It should be something like this now --> http://www.youtube.com/watch?v=QNGLRrjwoBo

Alright, I've got a question for yall: how do you fork something taht was forked from you without losing your original fork?


- _Mikie_ - 2011-05-14

If I fork the main repo and then make changes. If the main repo gets updated what do I do? Do I have to manually add all those changes into my code if I want them on my repo?

EDIT: After a bit of reading I found the answer.


- madmunky - 2011-05-14

I cant get the XBMC pictures to work it seems to be the VFS part

if I do

http://192.168.1.4:8080/vfs/
or
http://xbmc:[email protected]:8080/vfs/

I just get File Not Found

but also if I do

http://xbmc:[email protected]:8080/jsonrpc/

I get the same yet MFP pulls all the lists from XBMC just not the pictures.

I have MFP running on my Windows 7 PC running XAMPP and XBMC is on a standalone XBMCLive install

Anyone got any ideas the error I get is

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


- DejaVu - 2011-05-14

madmunky Wrote:I cant get the XBMC pictures to work it seems to be the VFS part

if I do

http://192.168.1.4:8080/vfs/
or
http://xbmc:[email protected]:8080/vfs/

I just get File Not Found

but also if I do

http://xbmc:[email protected]:8080/jsonrpc/

I get the same yet MFP pulls all the lists from XBMC just not the pictures.
Are your Port number conflicting? 8080 is usually reserved for SAB. Change it in XBMC to 8082 and then use http://192.168.1.4:8082/vfs/[/quote]

I have MFP running on my Windows 7 PC running XAMPP and XBMC is on a standalone XBMCLive install

Quote:Anyone got any ideas the error I get is

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

I'm seeing this on exactly the same setup. I'm about to check that PHP-Curl is active in the PHP.ini (This is being done on a mates PC over Teamviewer).


- madmunky - 2011-05-14

DejaVu Wrote:Are your Port number conflicting? 8080 is usually reserved for SAB. Change it in XBMC to 8082 and then use http://192.168.1.4:8082/vfs/

I have MFP running on my Windows 7 PC running XAMPP and XBMC is on a standalone XBMCLive install



I'm seeing this on exactly the same setup. I'm about to check that PHP-Curl is active in the PHP.ini (This is being done on a mates PC over Teamviewer).[/quote]

Sabnzbd is running on a different PC to XBMC so wont be that issue plus I can access the XBMC web interface on 192.168.1.4:8080

Also my PHP.ini has the following enabled

"extension=php_curl.dll"
"extension=php_pdo_sqlite.dll"


- madmunky - 2011-05-14

madmunky Wrote:I have MFP running on my Windows 7 PC running XAMPP and XBMC is on a standalone XBMCLive install



I'm seeing this on exactly the same setup. I'm about to check that PHP-Curl is active in the PHP.ini (This is being done on a mates PC over Teamviewer).

Sabnzbd is running on a different PC to XBMC so wont be that issue plus I can access the XBMC web interface on 192.168.1.4:8080

Also my PHP.ini has the following enabled

"extension=php_curl.dll"
"extension=php_pdo_sqlite.dll"[/quote]

But like I said it seems to be able to talk to the jsonrpc service just not the VFS


- DejaVu - 2011-05-14

I've looked into this a little and it seems as though XAMP is pulling the config.php file out from C:\XAMP\PHP\PEAR\Config.php and using it in MFP instead. It looks to me like it could be a XAMP problem.

It means that the PEAR folder is HTTP PATH added into the server and it's causing a conflict because of the filenames. I'm not sure how to sort it. Dont think that MFP needs this PEAR plugin, but dont quote me on this.


- steve1977 - 2011-05-14

After haven't updated for a few weeks, I now made the step. Really cool to see all the cool new functions. Really love the 4 columns and all the new functions.

I have a few questions though:

1) Is it possible to keep "coming episodes", but do not show the "episode summary" to save space.

2) What is the transmission-widget supposed to do and is it relevant if I don't use torrents?

3) Is trakt.tv only working if I have an account? If so, why because the relevant displayed info is available on the web-site.

4) When searching on TVDB, I get proper result, but also the following error message:
> Notice: Undefined property: stdClass::$type in
> C:\xampp\htdocs\widgets\searchComponents\query.php on line 179 Notice:
> Undefined property: stdClass::$type in
> C:\xampp\htdocs\widgets\searchComponents\query.php on line 179 Notice:
> Undefined property: stdClass::$type in
> C:\xampp\htdocs\widgets\searchComponents\query.php on line 179

5) There used to be a widget shown in this thread, which showed some technical figures (IP address, temperature, etc). Is this not included in the latest github version anymore?

6) Anything planning to show upcoming dvd/bluray releases that I can add directly from there to CP?


Thanks in advance!!!


- DejaVu - 2011-05-14

steve1977 Wrote:I have a few questions though:

1) Is it possible to keep "coming episodes", but do not show the "episode summary" to save space.
Look up the CSS Minimal at the end of the config.php file

steve1977 Wrote:2) What is the transmission-widget supposed to do and is it relevant if I don't use torrents?
Nope. It monitors and displays the summary of Transmission on the MFP Front End.

steve1977 Wrote:3) Is trakt.tv only working if I have an account? If so, why because the relevant displayed info is available on the web-site.
Because it uses your Unique API ID from the website, hence you need an account.

steve1977 Wrote:4) When searching on TVDB, I get proper result, but also the following error message:
> Notice: Undefined property: stdClass::$type in
> C:\xampp\htdocs\widgets\searchComponents\query.php on line 179 Notice:
> Undefined property: stdClass::$type in
> C:\xampp\htdocs\widgets\searchComponents\query.php on line 179 Notice:
> Undefined property: stdClass::$type in
> C:\xampp\htdocs\widgets\searchComponents\query.php on line 179
XAMP seems to be centre of attention ATM. It has broken a few MFP's running on Windows servers.
steve1977 Wrote:5) There used to be a widget shown in this thread, which showed some technical figures (IP address, temperature, etc). Is this not included in the latest github version anymore?
It was never submitted, it was asked for, but had no reply from the creator.
steve1977 Wrote:6) Anything planning to show upcoming dvd/bluray releases that I can add directly from there to CP?
The new Trakt.tv widget does this - but only shows the newest additions that others have got (Trending). You can also use Gugahoi's search to find any movies and add them directly into CP.


steve1977 Wrote:Thanks in advance!!!
Your Welcome. Wink


- steve1977 - 2011-05-14

Thanks for the quick reply. This is really cool!!!

DejaVu Wrote:Because it uses your Unique API ID from the website, hence you need an account.

Ok, I added the API from my account, but it still doesn't display correctly. Is this also related to XAMP? Actually, it doesn't show anything. It first shows a full list with links and then a dialogue box saying "movies_trakt" and nothing else. Any ideas?

DejaVu Wrote:XAMP seems to be centre of attention ATM. It has broken a few MFP's running on Windows servers.

Anything I can do? Or just wait until one of the next MFP versions to fix this?


- steve1977 - 2011-05-14

DejaVu Wrote:Look up the CSS Minimal at the end of the config.php file

Actually, it doesn't work for me. If I unmark "light-posters" (I am using posters), nothing changes at all. If I unmark "light-bannners", only posters show, but nothing else at all (leaving a widely empty box not even showing the episode date and name.


- steve1977 - 2011-05-14

DejaVu Wrote:The new Trakt.tv widget does this - but only shows the newest additions that others have got (Trending)

Not sure whether "trending" is the best. It lists the movies currently being watched, which doesn't really help a lot. Wouldn't weekly most watched (or played) movies be the better function and could this be implemented?


- gugahoi - 2011-05-14

steve1977 Wrote:Actually, it doesn't work for me. If I unmark "light-posters" (I am using posters), nothing changes at all. If I unmark "light-bannners", only posters show, but nothing else at all (leaving a widely empty box not even showing the episode date and name.

I only reworked the banner view since it was the one I used. It would not be very hard to update the minimal poster view to work with the way things are now. If you can post a screenshot of the way things are now and they way you want them to be I could give it a shot.

steve1977 Wrote:Not sure whether "trending" is the best. It lists the movies currently being watched, which doesn't really help a lot. Wouldn't weekly most watched (or played) movies be the better function and could this be implemented?

I think with the way I made the widget, just about any functions available in their api could be implemented easily. The widget is not nearly close to done as I am having tons of problems with the current slideshow plugin. For some reason I have not been able to understand how it works in full. If you can find an alternative to contentFlow that is compatible with our already implemented libraries and has good functionality, I'd be more than happy to try and implement it. The alert boxes that show up are probably because I must've forgotten to turn them off, that's how I was debugging the javascript functions. Furthermore, if you have a completely different idea of how to implement the widget, I'm open to suggestions! You can see the information the calls return in the trakt api website. Both get and post functions have already their core implemented so eventually I want to have most of the accessible calls in the widget somehow.


- hernandito - 2011-05-14

gugahoi Wrote:Furthermore, if you have a completely different idea of how to implement the widget, I'm open to suggestions! You can see the information the calls return in the trakt api website. Both get and post functions have already their core implemented so eventually I want to have most of the accessible calls in the widget somehow.

Hi Guga,

While the CoverFlow is nice eye candy, I think just as nice would be a plain old slideshow. Specially if the code is giving you a headache...

I do like the idea of something that gives you ideas for movies or TV shows to add to my collection.


- hernandito - 2011-05-14

Semi-Dumb widget idea... how about a little text input box where one could send a custom message to the XBMC client to display on the screen..? Like "5 minutes till bedtime..!"