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)



- The_Dogg - 2011-05-30

SleepyP Wrote:because they don't want people to say things like "You're watching The Fresh Prince! Are you maxing, relaxing, and playing some B Ball outside of the school?" LOL

muahahahaah

I can understand that. I was thinking some people were afraid of piracy (it is illegal in some places to download TV eps, but at the same time a lot of people uses trakt.tv also, so It didn't make much sense to me.

thanks for the clarification Smile


- drunkendragon - 2011-05-30

DejaVu Wrote:Been away for 4 days, first time I saw this.

The scroll bar readjusts itself to the size required, if it only moves a small amount, it's because the the Coming Episodes list is not very big. If it's small enough to appear all on the screen, the scroll bar does not show at all.
If I am wrong and information is missing, please let me know.

Add a few more current TV Shows and see if the scroll bar grows.

Makes sense. With the latest gugahoi it works just fine, maybe the scrollbar itself needs to be a little smaller, but thats just cosmetical

I also recommended uniform server before wamp and/or xampp

Most of us in this topic made blurry screenshots..so did I Smile no particular reason.


- CoinTos - 2011-05-30

gugahoi Wrote:Awesome! The link is not working for me tho.

Weird, worked for me, anyways here's a megashare link


- gugahoi - 2011-05-31

CoinTos Wrote:Weird, worked for me, anyways here's a megashare link

Got it now. Will put it up soon.

DejaVu Wrote:Been away for 4 days, first time I saw this.

The scroll bar readjusts itself to the size required, if it only moves a small amount, it's because the the Coming Episodes list is not very big. If it's small enough to appear all on the screen, the scroll bar does not show at all.

If I am wrong and information is missing, please let me know.

Add a few more current TV Shows and see if the scroll bar grows.

Deja, I don't think that's right. It does resize automatically but something was not configured properly (I think CSS related) and my change fixed that. But I still think something is a bit off, sometimes it loads with the scroll icon being the perfect size at first and when finished loading the page the scroll changes to a different size which is not what I thought should happen.


- snappz - 2011-05-31

First off, a quick thanks to all involved in this project. I am using it constantly and really appreciate it!

However it appears that the bug of trakt.tv not working due to capitalisation problems in the widget has returned.

snappz


- DejaVu - 2011-05-31

gugahoi Wrote:But I still think something is a bit off, sometimes it loads with the scroll icon being the perfect size at first and when finished loading the page the scroll changes to a different size which is not what I thought should happen.

No it's not, although I've noticed it loads small, then readjusts to the size required.
I cannot seem to recreate what you mean. I'm also using your latest repo.

Odd!?


- _Mikie_ - 2011-05-31

I think it might be a browser specific problem..


- gugahoi - 2011-05-31

snappz Wrote:First off, a quick thanks to all involved in this project. I am using it constantly and really appreciate it!

However it appears that the bug of trakt.tv not working due to capitalisation problems in the widget has returned.

snappz

That was my bad. Will fix it now!

_Mikie_ Wrote:I think it might be a browser specific problem..

You could be right.


- gugahoi - 2011-05-31

I think I've committed all my changes to the official repo, with the exception of the new config page. Can people with proxy pass try them out and possibly correct the path according to their own setup so I can upload it to master?


- drunkendragon - 2011-05-31

_Mikie_ Wrote:I think it might be a browser specific problem..

It could still be that i don't watch to many upcomming epsiodes Smile Maybe ill checkout the main in a few days.
Tried it with Firefox 4.0.1, Chrome 11.0.696.71.
IE 8 wich i never use says:
Code:
Webpage error details
Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js

Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js

Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js


Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js

Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js


Message: 'document.getElementById(...)' is null or not an object
Line: 428
Char: 9
Code: 0
URI: http://10.0.0.157:8888/mp/mediafrontpage.php

Message: 'document.getElementById(...)' is null or not an object
Line: 428
Char: 9
Code: 0
URI: http://10.0.0.157:8888/mp/mediafrontpage.php


Message: Expected identifier, string or number
Line: 16
Char: 9
Code: 0
URI: http://10.0.0.157:8888/mp/js/widget.js

Message: '$' is undefined
Line: 85
Char: 9
Code: 0
URI: http://10.0.0.157:8888/mp/widgets/wComingEpisodes.php?display=yes

Message: Object expected
Line: 100
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/widgets/wComingEpisodes.php?display=yes


Message: Object expected
Line: 226
Char: 1
Code: 0
URI: http://10.0.0.157:8888/mp/widgets/wComingEpisodes.php?display=yes

Message: A security problem occurred.
Line: 112
Char: 7
Code: 0
URI: http://10.0.0.157:8888/mp/mediafrontpage.php



- _Mikie_ - 2011-05-31

I don't know exactly why this is happening but from another project I'm working on I have a general idea. If I use authentication for sickbeard and put it in the config (new or old) when I load mfp it still asks me for it with a pop up. If I cancel it still loads fine. From what I can tell the problem is the call for the images. For ever call the widget makes to sickbeard it needs authentication and somewhere along the line its missing one. It asks for the pop up on every auto refresh of the widget if I cancelled it in the beginning. Or maybe its just me? Can someone verify? Clear cache and restart browser just to check there aren't any cookies etc.

EDIT: It actually asks for authentication on ever reload even if I accept it


- _Mikie_ - 2011-05-31

drunkendragon Wrote:It could still be that i don't watch to many upcomming epsiodes Smile Maybe ill checkout the main in a few days.
Tried it with Firefox 4.0.1, Chrome 11.0.696.71.
IE 8 wich i never use says:
Code:
Webpage error details
Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js

Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js

Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js


Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js

Message: 'document.getElementById(...)' is null or not an object
Line: 26
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/js/ajax.js


Message: 'document.getElementById(...)' is null or not an object
Line: 428
Char: 9
Code: 0
URI: http://10.0.0.157:8888/mp/mediafrontpage.php

Message: 'document.getElementById(...)' is null or not an object
Line: 428
Char: 9
Code: 0
URI: http://10.0.0.157:8888/mp/mediafrontpage.php


Message: Expected identifier, string or number
Line: 16
Char: 9
Code: 0
URI: http://10.0.0.157:8888/mp/js/widget.js

Message: '$' is undefined
Line: 85
Char: 9
Code: 0
URI: http://10.0.0.157:8888/mp/widgets/wComingEpisodes.php?display=yes

Message: Object expected
Line: 100
Char: 5
Code: 0
URI: http://10.0.0.157:8888/mp/widgets/wComingEpisodes.php?display=yes


Message: Object expected
Line: 226
Char: 1
Code: 0
URI: http://10.0.0.157:8888/mp/widgets/wComingEpisodes.php?display=yes

Message: A security problem occurred.
Line: 112
Char: 7
Code: 0
URI: http://10.0.0.157:8888/mp/mediafrontpage.php

I have 6 upcoming shows. I just thing the implementation has issue. The scrollable section of the scroll bar should be 100% of the widget and then the scroll bar bit should just take up a section of that and depending on how many shows you have and how far it has to scroll it should change lengths.

Currently it scroll perfectly BUT it only takes up 50% of the widget height which makes it look out of place and buggy. There isn't an issue with the scrolling just with the length of the scrollable area.

The widget is also too long in general. I think its proabably set to 100% which would be okay however due to the nav bar taking up like 10% it pushes the widget down a bit and means I have to scroll the entire page down to see the bottom of the coming episode widget.

This is all on firefox 4.0.1

EDIT: I am using a slightly dated version of mfp.. couple days so something might have been fixed


- DejaVu - 2011-05-31

_Mikie_ Wrote:Currently it scroll perfectly BUT it only takes up 50% of the widget height which makes it look out of place and buggy. There isn't an issue with the scrolling just with the length of the scrollable area.

This is the way it's meant to look and the way I wanted it. If the scrollbar reached the bottom it overshot and looked worse. It also has the feature of easing, so it does not stop suddenly when the scrollbar stops.

Original Scrollbar before implementing.


- CoinTos - 2011-05-31

_Mikie_ Wrote:Currently it scroll perfectly BUT it only takes up 50% of the widget height which makes it look out of place and buggy. There isn't an issue with the scrolling just with the length of the scrollable area.

Don't be afraid to open up the css files and edit them. I myself didn't prefer the 50% bar and just edited the css files associated with the scroll bar and coming soon to fit my needs.

Here's what my scrollbars look like after some simple edits.
Image


- _Mikie_ - 2011-05-31

CoinTos Wrote:Don't be afraid to open up the css files and edit them. I myself didn't prefer the 50% bar and just edited the css files associated with the scroll bar and coming soon to fit my needs.

Here's what my scrollbars look like after some simple edits.
Image

Yeah I will do that. I was just saying that I don't know how the current way it is is actually likeable as it looks so weird. But everyone to there own Smile