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)



- Sranshaft - 2011-02-14

Griffith86 Wrote:This may sound odd, but if you could add in a way (or tell me what i need to do) that the channel logos are overlayed in the bottom right corner like actual tv to make it seem more authentic?

That wouldn't be hard to do at all but would have to be something that is optional. Things would start to look messy if you happen to watch tv shows downloaded from the internet with that channel's logo being overlayed with the channel logo from PseudoTV.

That being said, it'd look okay with dvd rips of tv shows but would need a new set of icons that have a bit of transparency. I don't mind whipping of few of these 'overlay logos' if Jason feels up to adding in the code for it.


- Griffith86 - 2011-02-14

Sranshaft Wrote:That wouldn't be hard to do at all but would have to be something that is optional.

I actually meant to add in "or option" after add in a way but yeah I agree it could look messy if you have internet downloaded tv shows.


- tungmeister - 2011-02-14

You're probably aware of this but Jason but the stable-pre branch won't create channels it just throws and error that no channels have valid data.


- jtucker1972 - 2011-02-14

FYI, I put in an enhancement request to add ability to create rules for episode.mpaa, episode.studio and movie.studio. The soonest I can see this being added based on the current log is version 12 which isn't scheduled for release until 2012. Maybe after version 12 or never. Who knows? Jason, see my pm on idea of working around this limitation with the JSON or whether it's worth it or not.


- Jason102 - 2011-02-14

I've updated the stable-pre branch. It now supports the use of preset playlists (provided by jtucker1972) to fill out your channel list. This feature can also be disabled if you don't want it.

@tungmeister: Did you create smart playlists with the Channel_x.xsp file name? If not, this is how you can specify channels. Or you can try the latest stable-pre branch...no playlist creation required!


- TheOddLinguist - 2011-02-14

@Jason102: Just updated my local copy to stable-pre...and wanted to say the updates are fantastic. The preset channels are the feature that put this one over the top. Well done, to you and all involved.

I hope to find some time this week to fix up by fork branch and update the pull request. Hopefully I'll have something for you soon; we'll see. By any chance, did you get a chance to look at any of the code? Perhaps see somewhere I should start?


- zepfan - 2011-02-14

Jason, just FYI. I went back to the official release. Everything is fine.


- MrLuddite - 2011-02-14

When trying out the new stable pre branch versions of Pseudo TV, is there anything special that needs to be done cleaning out the currently installed version? Does installing from zip properly overwite the current version? I just want to make sure that something that I don't know about isn't lingering in a folder somewhere that might muck up trying the newer versions.


- zepfan - 2011-02-14

MrLuddite Wrote:When trying out the new stable pre branch versions of Pseudo TV, is there anything special that needs to be done cleaning out the currently installed version? Does installing from zip properly overwite the current version? I just want to make sure that something that I don't know about isn't lingering in a folder somewhere that might muck up trying the newer versions.

I always clear out the folder but keep the script.PseudoTV folder. The playlists are saved elsewhere so no loss.


- tungmeister - 2011-02-14

Jason102 Wrote:@tungmeister: Did you create smart playlists with the Channel_x.xsp file name? If not, this is how you can specify channels. Or you can try the latest stable-pre branch...no playlist creation required!

Yes I created the smart playlists I've been using this add on since the beginning lol. Just re-downloaded the stable-pre branch and I'm still getting the error that no channels have valid data - nothing in my setup has changed and the smart playlists work fine on their own so it must be an issue with the script. I've tried clearing the scripts settings but still no success.


- Jason102 - 2011-02-14

Installing a new version should properly overwrite an older one.

@TheOddLinguist: I had looked at some of the changes that you made. The problem is that with the addition of preset channels and the ability to skip empty ones, I've diverged even farther from the previous way of handling data. I need to sit and take a second look at it...there are a few limitations that your method would resolve, so it'll get in there sooner or later.

@tungmeister: are you using dharma? There is an issue with the latest git build that would cause that error: JSON has a bug and isn't returning duration values. If you are using Dharma, please turn on debug logging and send me a log.


- mwkurt - 2011-02-14

Hey guys,

I would like to have this script start when I start XBMC. I understand that I need to use an autoexec.py file and locate it in my user folder. What I don't know is how to go about building the autoexec.py. Someone in their infinite wisdom took down the wiki page for the autoexec.py.
So does anyone know what to put inside the autoexec.py to get PseudoTV to start when XBMC starts?

By the way, using Windows 7 and Dharma.

Thanks,
Mark


- jtucker1972 - 2011-02-14

Jason, getting the following error when i have no Channel.xsp playlists created.

Image

Here's my settings

Image

Code:
11:46:16 T:2584 M:2527633408   DEBUG: script.PseudoTV-EPG: Media Path is C:\Users\Administrator\AppData\Roaming\XBMC\addons\script.PseudoTV\resources\skins\default\media/
11:46:16 T:2584 M:2527633408   DEBUG: script.PseudoTV-TVOverlay: findMaxChannels
11:46:16 T:2584 M:2527633408   DEBUG: script.PseudoTV-TVOverlay: findMaxChannels return 0
11:46:16 T:2584 M:2527633408   FATAL: script.PseudoTV-TVOverlay: FATAL ERROR: Unable to find any channels. Create smart
                                            playlists with file names Channel_1, Chanbel_2, etc.
11:46:16 T:2584 M:2528268288    INFO: Loading skin file: DialogOK.xml
11:46:16 T:1028 M:2527436800   DEBUG: ------ Window Init (DialogOK.xml) ------
11:46:31 T:1028 M:2512371712   DEBUG: SDLKeyboard: scancode: 55, sym: 316, unicode: 0, modifier: 0
11:46:31 T:1028 M:2512371712   DEBUG: CApplication::OnKey: 61482 pressed, action is Screenshot
11:46:31 T:1028 M:2503602176   DEBUG: Saving screenshot C:\xbmc-screenshots\screenshot009.png
11:46:37 T:1028 M:2518990848   DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
11:46:37 T:1028 M:2518990848   DEBUG: CApplication::OnKey: 61453 pressed, action is Select
11:46:37 T:1028 M:2519158784   DEBUG: ------ Window Deinit (DialogOK.xml) ------
11:46:37 T:2584 M:2518921216   DEBUG: script.PseudoTV-TVOverlay: end
11:46:37 T:1028 M:2519932928   DEBUG: ------ Window Deinit (C:\Users\Administrator\AppData\Roaming\XBMC\addons\script.PseudoTV\resources\skins\default\720p\script.PseudoTV.TVOverlay.xml) ------
11:46:37 T:2584 M:2519932928   DEBUG: script.PseudoTV-TVOverlay: __init__ return
11:46:37 T:2584 M:2519932928    INFO: Scriptresult: Success



- tungmeister - 2011-02-14

Jason102 Wrote:@tungmeister: are you using dharma? There is an issue with the latest git build that would cause that error: JSON has a bug and isn't returning duration values. If you are using Dharma, please turn on debug logging and send me a log.

yes I'm using Dharma, I'll sort you out a debug log, It's strange because I've always used the stable-pre branch and never encountered any issues so must be a recent change you've made or my install has somehow got borked.


- tungmeister - 2011-02-14

Here's my debug log http://www.megaupload.com/?d=UMJ54BJZ

your script is started on line 3183.