Kodi Community Forum
[RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+----- Forum: PseudoTV / PseudoTV Live (https://forum.kodi.tv/forumdisplay.php?fid=231)
+----- Thread: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script (/showthread.php?tid=90738)



- zepfan - 2011-02-05

Sranshaft Wrote:This will be the new default skin and should roughly the same regardless of the skin you are using in XBMC. Until XBMC allows addons to define their own fonts, unfortunately some of the text's font will change thus changing the spacing and overall appearance. Not much more can be done.

I've tried it on Confluence, Fusion, Slik and Alaska and while one might look better than the other, they all look good enough to use on a daily basis.

I'll be looking into adapting them soon to fit natively into Confluence and perhaps Alaska unless someone else would like to do that.

Great ! Thanks for the work.


- Jason102 - 2011-02-05

@zepfan: So it looks like a directory in the repository got a bit messed up, which is why you're having problems. I'll try and fix the repository and tell you when it's correct again.


- zepfan - 2011-02-05

Jason102 Wrote:@zepfan: So it looks like a directory in the repository got a bit messed up, which is why you're having problems. I'll try and fix the repository and tell you when it's correct again.

Lol. We'll get this yet!


- derekos - 2011-02-05

Sranshaft Wrote:Glad you like it. It's available now on the pre stable branch but needs some adjustments. If you don't mind bugs give it a look. It'll get pushed upstream into the stable branch as soon as things are finalized.

Terrific. Grabbing it now. If I can help with Alaska let me know.


- derekos - 2011-02-05

pre-stable not working at the moment, see below. Can't find the TVOverlay.xml


22:16:37 T:2956983152 M:1378480128 NOTICE: -->Python Interpreter Initialized<--
22:16:39 T:2956983152 M:1378369536 ERROR: Error Type: exceptions.TypeError
22:16:39 T:2956983152 M:1378369536 ERROR: Error Contents: XML File for Window is missing
22:16:39 T:2956983152 M:1378344960 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/script.PseudoTV/default.py", line 20, in ?
MyOverlayWindow = Overlay.TVOverlay("script.PseudoTV.TVOverlay.xml", __cwd__, "Default")
TypeError: XML File for Window is missing


- zepfan - 2011-02-05

Yea I think that's the same problem I'm having. Jason knows said he'd work on it when he has a chance.


- derekos - 2011-02-05

Doh! Case sensitive, where line 20 reads "Default" but the directory structure reads "default".

Rename addons/script.PseudoTV/resources/skins/default to Default

~: cd addons/script.PseudoTV/resources/skins
~: mv default Default

LOOKS AWESOME!


- zepfan - 2011-02-05

derekos Wrote:Doh! Case sensitive, where line 20 reads "Default" but the directory structure reads "default".

Rename addons/script.PseudoTV/resources/skins/default to Default

~: cd addons/script.PseudoTV/resources/skins
~: mv default Default

LOOKS AWESOME!

And it works? What xbmc version are you running?


- derekos - 2011-02-05

Dharma

Rename that directory, reboot and try again. If it still fails, post the relevant portion of your xbmc.log


- steppedup - 2011-02-05

Documenting this in case someone else runs into this - because I revamped/ reformated my file names, the playlists are now dying:

Error Message from PseudoTV: Unable to set Channel 1.
Debug log here.

Windows 7, Dharma, using ReFocus skin with latest mod.

Error is below - where Eureka is played. Eureka.1x01.Pilot.avi - but I've just switched over to a different format: Eureka - 1x01 - Pilot.avi, so the file is no longer there according to the playlist. But XBMC, the library does see the newly renamed file. And this is after already cleaning my library.

23:44:57 T:20308 M:667742208 ERROR: CDVDPlayer::OpenInputStream - error opening [F:\F\TV_Series\Eureka\Season 1\Eureka.1x01.Pilot.avi]
23:44:57 T:20308 M:667742208 NOTICE: CDVDPlayer::OnExit()
23:44:57 T:20308 M:667738112 NOTICE: CDVDPlayer::OnExit() deleting input stream
23:44:57 T:20308 M:667738112 DEBUG: Thread 20308 terminating

So, to resolve removing the Channel playlists, then will clean the library, the re-add the playlists. And will update after troubleshooting.

Update 1: Leaving playlists in the library, and "Clean Library" with them there.

SOLUTION: Thanks to Sranshaft! - Bring up PseudoTV's settings window (press 'c' while PseudoTV is highlighted) and make sure Force reset is ticked. Then start PseudoTV.

Problem solved, and script running...


- Sranshaft - 2011-02-05

zepfan Wrote:And it works? What xbmc version are you running?

Ahh the joys of Linux and its case-sensitive filesystem. Laugh Great to hear you've got it working though.

steppedup Wrote:Documenting this in case someone else runs into this - because I revamped/ reformated my file names, the playlists are now dying:

Error Message from PseudoTV: Unable to set Channel 1.
Debug log here.

Windows 7, Dharma, using ReFocus skin with latest mod.

Error is below - where Eureka is played. Eureka.1x01.Pilot.avi - but I've just switched over to a different format: Eureka - 1x01 - Pilot.avi, so the file is no longer there according to the playlist. But XBMC, the library does see the newly renamed file. And this is after already cleaning my library.

23:44:57 T:20308 M:667742208 ERROR: CDVDPlayer::OpenInputStream - error opening [F:\F\TV_Series\Eureka\Season 1\Eureka.1x01.Pilot.avi]
23:44:57 T:20308 M:667742208 NOTICE: CDVDPlayer::OnExit()
23:44:57 T:20308 M:667738112 NOTICE: CDVDPlayer::OnExit() deleting input stream
23:44:57 T:20308 M:667738112 DEBUG: Thread 20308 terminating

So, to resolve removing the Channel playlists, then will clean the library, the re-add the playlists. And will update after troubleshooting.

Update 1: Leaving playlists in the library, and "Clean Library" with them there.

And that didn't work.... Continuing to troubleshoot -but any suggestions would be much appreciated!

Have you tried resetting PseudoTV? Bring up PseudoTV's settings window (press 'c' while PseudoTV is highlighted) and make sure Force reset is ticked. Then start PseudoTV.


- steppedup - 2011-02-05

That did the trick!

Thank you!


- Sranshaft - 2011-02-05

steppedup Wrote:That did the trick!

Thank you!

Thought it might. Because PseudoTV creates its own copy of the playlist, you'll need to Force Reset it if you ever change the playlists around or do a bulk rename of your files.


- steppedup - 2011-02-05

This script is once again looking good...with one minor gotcha.

At the bottom of the screen (using the reFocus skin in Dharma/ Windows 7, debug log here), is a tall blue bar with:

SHOW NAME
SHOW TITLE

show description

but nothing next to them.

doesn't matter what Channel I chose, it still remains.

Any suggestions?


- Jason102 - 2011-02-05

Hmmm, haven't seen this issue yet. I'm doing some testing today, so hopefully I'll run into it.