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)



RE: [RELEASE] PseudoTV (Video) Addon: Virtual EPG&TV Channel Surfing Script for XBMC - halloween2311 - 2013-02-25

(2013-02-25, 19:31)halloween2311 Wrote:
(2013-02-25, 16:38)Doctor3D Wrote:
(2013-02-25, 16:28)halloween2311 Wrote: Okay, I'm still troubleshooting the pause when not playing setting. I tried creating a channel with only one show that is paused when not playing. Again it shows in the EPG with just number and no show info (in eden the first show would at least show up in EPG). This time I can tune to the channel using the number buttons as long as I fo not try to tune to it from the EPG. If I select it from the EPG then PTV freezes up then crashes.

Does it show the "(Paused)" phrase on the channel?

I could be wrong, but judging by the log you just posted -- it looks like a skin-related issue. Have you tried changing XBMC or the PTV skin to something else to see what that does?

No it doesn't show anything on the paused channel.  In Eden it showed the current show and (paused) next to it, but in Frodo it's showing nothing.  Skin issue was my first thought.  I normally run metropolis but I also tried transparency with same result. I will give confluence a try and see it it changes anything.
Okay I tried it with the confluence skin and the same thing happened. Nothing but the channel number shows in the EPG, I can tune to it by typing in the channel number but if I try to go to it using the EPG (or even just move past it) it crashed PTV. Here is the latest log snippet:
13:03:43 T:2551593792 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 11
13:03:58 T:2551593792 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 25
13:04:04 T:2551593792 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 31
13:04:14 T:2551593792 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 41
13:04:16 T:2551593792 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 42
13:04:35 T:3037435648 NOTICE: Samba is idle. Closing the remaining connections
13:05:14 T:2551593792 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 99
13:05:55 T:2691877696 ERROR: EXCEPTION: Non-Existent Control 100
13:06:00 T:2691877696 ERROR: script.pseudotv-EPGWindow: Exception in setButtons
13:06:00 T:2691877696 ERROR: script.pseudotv-EPGWindow: Traceback (most recent call last):
File "/home/johnathon/.xbmc/addons/Jasonra-XBMC-PseudoTV-85aa0e6/resources/lib/EPGWindow.py", line 297, in setButtons
self.channelButtons[row].append(self.getButton())
AttributeError: 'EPGWindow' object has no attribute 'getButton'
13:06:00 T:2691877696 ERROR: script.pseudotv-EPGWindow: Unknown EPG Exception
13:06:00 T:2691877696 ERROR: script.pseudotv-EPGWindow: Traceback (most recent call last):
File "/home/johnathon/.xbmc/addons/Jasonra-XBMC-PseudoTV-85aa0e6/resources/lib/EPGWindow.py", line 404, in onAction
self.GoDown()
File "/home/johnathon/.xbmc/addons/Jasonra-XBMC-PseudoTV-85aa0e6/resources/lib/EPGWindow.py", line 501, in GoDown
self.setProperButton(self.focusRow + 1)
File "/home/johnathon/.xbmc/addons/Jasonra-XBMC-PseudoTV-85aa0e6/resources/lib/EPGWindow.py", line 632, in setProperButton
self.setFocus(self.channelButtons[newrow][0])
IndexError: list index out of range
13:06:04 T:3037435648 NOTICE: DVDPlayer: Opening: /home/johnathon/Videos/Nick_at_Nite_Intro_Channel/Season 1/1x01.Sitcoms.avi
13:06:04 T:3037435648 NOTICE: CDVDPlayer::CloseFile()
13:06:04 T:3037435648 NOTICE: DVDPlayer: waiting for threads to exit
13:06:04 T:2664061760 NOTICE: CDVDPlayer::OnExit()
13:06:04 T:2664061760 NOTICE: DVDPlayer: closing audio stream
13:06:04 T:2664061760 NOTICE: Closing audio stream
13:06:04 T:2664061760 NOTICE: Waiting for audio thread to exit
13:06:04 T:2618788672 NOTICE: thread end: CDVDPlayerAudio::OnExit()
13:06:04 T:2664061760 NOTICE: Closing audio device
13:06:05 T:2664061760 NOTICE: Deleting audio codec
13:06:05 T:2664061760 NOTICE: DVDPlayer: closing video stream
13:06:05 T:2664061760 NOTICE: Closing video stream
13:06:05 T:2664061760 NOTICE: waiting for video thread to exit
13:06:05 T:3035089728 ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
13:06:05 T:2627181376 ERROR: Previous line repeats 1 times.
13:06:05 T:2627181376 NOTICE: thread end: video_thread
13:06:05 T:2664061760 NOTICE: deleting video codec
13:06:05 T:2664061760 NOTICE: CDVDPlayer::OnExit() deleting demuxer
13:06:05 T:2664061760 NOTICE: CDVDPlayer::OnExit() deleting input stream
13:06:05 T:3037435648 NOTICE: DVDPlayer: finished waiting
13:06:05 T:3037435648 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
13:06:05 T:2664061760 NOTICE: Thread CDVDPlayer start, auto delete: false
13:06:05 T:2664061760 NOTICE: Creating InputStream
13:06:05 T:2664061760 NOTICE: Creating Demuxer
13:06:05 T:2664061760 NOTICE: Opening video stream: 0 source: 256
13:06:05 T:2664061760 NOTICE: Creating video codec with codec id: 13
13:06:05 T:2664061760 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
13:06:05 T:2664061760 NOTICE: Creating video thread
13:06:05 T:2639768384 NOTICE: Thread CDVDPlayerVideo start, auto delete: false
13:06:05 T:2639768384 NOTICE: running thread: video_thread
13:06:05 T:2664061760 NOTICE: Opening audio stream: 1 source: 256
13:06:05 T:2664061760 NOTICE: Finding audio codec for: 86017
13:06:05 T:2664061760 NOTICE: Creating audio thread
13:06:05 T:2683484992 NOTICE: Thread CDVDPlayerAudio start, auto delete: false
13:06:05 T:2683484992 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
13:06:05 T:2683484992 NOTICE: Creating audio stream (codec id: 86017, channels: 2, sample rate: 44100, no pass-through)
13:06:05 T:2627181376 NOTICE: Thread Jobworker start, auto delete: true
13:06:05 T:2639768384 NOTICE: fps: 30.000000, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
13:06:05 T:2639768384 NOTICE: Display resolution DESKTOP : 1280x800 @ 60.00 - Full Screen (16)
13:06:05 T:3037435648 NOTICE: CDVDPlayer::CloseFile()
13:06:05 T:3037435648 NOTICE: DVDPlayer: waiting for threads to exit
13:06:05 T:2664061760 NOTICE: CDVDPlayer::OnExit()
13:06:05 T:2664061760 NOTICE: DVDPlayer: closing audio stream
13:06:05 T:2664061760 NOTICE: Closing audio stream
13:06:05 T:2664061760 NOTICE: Waiting for audio thread to exit
13:06:05 T:2683484992 NOTICE: thread end: CDVDPlayerAudio::OnExit()
13:06:05 T:2664061760 NOTICE: Closing audio device
13:06:05 T:2664061760 NOTICE: Deleting audio codec
13:06:05 T:2664061760 NOTICE: DVDPlayer: closing video stream
13:06:05 T:2664061760 NOTICE: Closing video stream
13:06:05 T:2664061760 NOTICE: waiting for video thread to exit
13:06:05 T:2639768384 NOTICE: thread end: video_thread
13:06:05 T:2664061760 NOTICE: deleting video codec
13:06:05 T:2664061760 NOTICE: CDVDPlayer::OnExit() deleting demuxer
13:06:05 T:2664061760 NOTICE: CDVDPlayer::OnExit() deleting input stream
13:06:05 T:3037435648 NOTICE: DVDPlayer: finished waiting
13:06:06 T:2664061760 NOTICE: Thread Background Loader start, auto delete: false
13:06:06 T:2664061760 NOTICE: Previous line repeats 1 times.
13:06:06 T:2664061760 WARNING: CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
13:06:06 T:3037435648 NOTICE: CDVDPlayer::CloseFile()
13:06:06 T:3037435648 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
13:06:06 T:3037435648 NOTICE: DVDPlayer: waiting for threads to exit
13:06:06 T:3037435648 NOTICE: DVDPlayer: finished waiting
13:06:07 T:3037435648 ERROR: ClearBlock: Trying to clear non existent block /home/johnathon/.xbmc/addons/Jasonra-XBMC-PseudoTV-85aa0e6
13:06:07 T:2691877696 ERROR: script.pseudotv-Active Thread: MainThread
13:06:07 T:2691877696 ERROR: script.pseudotv-Active Thread: SleepTimer
13:06:07 T:2691877696 WARNING: The python script "/home/johnathon/.xbmc/addons/Jasonra-XBMC-PseudoTV-85aa0e6/pseudotv.py" has left several classes in memory that we couldn't clean up. The classes include: ControlButton,ControlImage,ControlImage,Player,WindowXMLDialog,ControlImage,ControlButton,ControlImage,WindowXMLDialog,DialogProgress,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,ControlButton,DialogProgress

Thanks for the reply Doctor3D, I forgot to thank you in my last post. Sad Any thoughts would be appreciated!


RE: [RELEASE] PseudoTV (Video) Addon: Virtual EPG and TV Surfing Script for XBMC - Skulley0427 - 2013-02-25

I'm having an issue with the pre-stable release 2.1.0-56. When force channel reset is selected, the channels will only populate with the background updating on. If I use either the minimal or off setting for background dating, it just goes to a black screen. I noticed this originally on my HTPC running the offical Frodo release with about 40 channels, but recreated it on my laptop running Frodo with only 3 channels. When this black screen pops up, nothing works. Pressing buttons will make sounds, but the only thing that will appear is the shutdown menu. I liked to not use background updating so i could just jump to whatever channel as soon as I started after a channel reset, but its just a minor inconvenience to use background updating. Thanks in advance for the help!

Here is the log snippet:
Code:
14:26:21 T:4372  NOTICE: -->Python Interpreter Initialized<--
14:26:21 T:4372   ERROR: C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\Overlay.py:70: DeprecationWarning: object.__init__() takes no parameters
                                              xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs)
14:26:21 T:4372   ERROR: C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\Overlay.py:41: DeprecationWarning: object.__init__() takes no parameters
                                              xbmc.Player.__init__(self, xbmc.PLAYER_CORE_AUTO)
14:26:22 T:4372   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'utf8' codec can't decode byte 0x85 in position 59301: invalid start byte
                                            Traceback (most recent call last):
                                              File "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\Overlay.py", line 170, in onInit
                                                if self.readConfig() == False:
                                              File "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\Overlay.py", line 250, in readConfig
                                                self.channels = self.channelList.setupList()
                                              File "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\ChannelList.py", line 113, in setupList
                                                self.setupChannel(i + 1, False, makenewlists, False)
                                              File "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\ChannelList.py", line 379, in setupChannel
                                                if self.makeChannelList(channel, chtype, chsetting1, chsetting2, append) == True:
                                              File "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\ChannelList.py", line 573, in makeChannelList
                                                fileList = self.buildFileList(fle, channel)
                                              File "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\ChannelList.py", line 1131, in buildFileList
                                                json_folder_detail = self.sendJSON(json_query)
                                              File "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\ChannelList.py", line 267, in sendJSON
                                                return uni(data)
                                              File "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6\resources\lib\Globals.py", line 38, in uni
                                                string = unicode(string, encoding)
                                            UnicodeDecodeError: 'utf8' codec can't decode byte 0x85 in position 59301: invalid start byte
                                            -->End of Python script error report<--
14:26:27 T:8000  NOTICE: Storing total System Uptime
14:26:27 T:8000  NOTICE: Saving settings
14:26:27 T:8000  NOTICE: stop all
14:26:27 T:8000  NOTICE: ES: Stopping event server
14:26:27 T:8000  NOTICE: stopping zeroconf publishing
14:26:27 T:8000  NOTICE: Webserver: Stopping...
14:26:27 T:8000  NOTICE: WebServer: Stopped the webserver
14:26:27 T:8000  NOTICE: Webserver: Stopped...
14:26:27 T:1556  NOTICE: ES: UDP Event server stopped
14:26:27 T:8000  NOTICE: stop sap announcement listener
14:26:27 T:8000  NOTICE: clean cached files!
14:26:27 T:8000  NOTICE: unload skin
14:26:27 T:8000   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6
14:26:27 T:8000   ERROR: Previous line repeats 3 times.
14:26:27 T:8000 WARNING: CGUITextureManager::Cleanup: Having to cleanup texture button-nofocus.png
14:26:27 T:8000 WARNING: CGUITextureManager::Cleanup: Having to cleanup texture button-focus.png
14:26:27 T:8000  NOTICE: stop python
14:26:32 T:8000   ERROR: XBPyThread::stop - script C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6/pseudotv.py didn't stop in 5 seconds - let's kill it
14:26:32 T:4372   ERROR: script.pseudotv-Active Thread: MainThread
14:26:32 T:4372   ERROR: script.pseudotv-Active Thread: RefreshLocks
14:26:32 T:4372 WARNING: The python script "C:\Users\Scott\AppData\Roaming\XBMC\addons\Jasonra-XBMC-PseudoTV-85aa0e6/pseudotv.py" has left several classes in memory that we couldn't clean up. The classes include: ControlImage,Player,ControlImage,ControlImage,DialogProgress,WindowXMLDialog,File,WindowXMLDialog
14:26:32 T:8000  NOTICE: stopped
14:26:32 T:8000  NOTICE: destroy

**EDIT**

I just tried the fix that I had used on my laptop on my HTPC and it didn't work and has basically the same log file. I tried switching skins to see if that was the problem (I was using Aeon Nox on my HTPC and conflunce on my laptop) but that didn't seem to work either. Any help with this is greatly appreciated!

**EDIT AGAIN**

Well it looks like I solved the problem by rebuilding my channels from scratch. I had used the PseudoTV Manager to build my channels before, but I guess the pre-stable didn't like that channel list. I haven't run into any problems yet so fingers crossed.

By the way, if anyone is using the Aeon Nox skin, I messed around with the now playing OSD and made it a little more to my liking. Its at the bottom of the screen now rather than the top and I think it looks a lot better. I saw that someone else had attempted to fix it as well so I went ahead and posted my final product in that thread. Link.

Hope all of this helped someone out!


RE: [RELEASE] PseudoTV (Video) Addon: Virtual EPG and TV Channel Surfing Script - kurtamery929 - 2013-02-27

awesome thanks for the skin mate works a treat


RE: [RELEASE] PseudoTV (Video) Addon: Virtual EPG and TV Channel Surfing - tman12 - 2013-02-27

If anyone is interested I'm making a new skin for PTV, I have it posted in Aeon Nox - the current skin I use but the skin will be available for all skins once I release it.

http://forum.xbmc.org/showthread.php?tid=157452


RE: [RELEASE] PseudoTV (Video) Addon: Virtual EPG - burner33 - 2013-02-28

I have recently acquired the Arctic MC001 it is a passively cooled dual atom system with the AMD fusion chipset.I am able to stream 1080p files just fine from my NAS box but for some reason using PTV latest build and openelec latest build (frydo) selecting HD video files crashes PTV. Works fine with SD shows and movies.

My past history with PTV is I have it working fine on the RPI and the HP n40L Just looking to get it working on a passively cooled system that has more power than the RPI.

How do I even turn logging on to post logs like other people on this thread.


logos - D-MaxPWR - 2013-02-28

Is there any way to turn Logo's off for specific shows? Some of my TV Shows have a logo already embedded within in so it will overlay the logo's twice and looks awful. Confused But I don't want to turn it completely off because I do have shows that don't have the logo and it looks so nice when my custom one is on there. Big Grin


RE: [RELEASE] PseudoTV (Video) - foxxiee - 2013-02-28

PseudoTV is broken for me ever since I updated to Frodo. Im using the Stable-Pre and everytime I start PseudoTV and it starts populating the channels, it gets stuck every time on "Added x videos", sometimes it's low 30s, sometimes it's 4, sometimes it goes up to the 200s before freezing. Anyone else getting this problem? Anyone know how to fix?

Thanks!


RE: [RELEASE] PseudoTV (Video) - Lunatixz - 2013-02-28

(2013-02-28, 22:15)foxxiee Wrote: PseudoTV is broken for me ever since I updated to Frodo. Im using the Stable-Pre and everytime I start PseudoTV and it starts populating the channels, it gets stuck every time on "Added x videos", sometimes it's low 30s, sometimes it's 4, sometimes it goes up to the 200s before freezing. Anyone else getting this problem? Anyone know how to fix?

Thanks!

It's probably on your end...

I would check your playlists... check your media... check your network shares (if used).
Also make sure debug is enabled on your xbmc so you can narrow down where your problems are coming from.
If all else fails delete your settings2.xml (back it up first) and rebuild your channels.

(2013-02-28, 21:41)D-MaxPWR Wrote: Is there any way to turn Logo's off for specific shows? Some of my TV Shows have a logo already embedded within in so it will overlay the logo's twice and looks awful. Confused But I don't want to turn it completely off because I do have shows that don't have the logo and it looks so nice when my custom one is on there. Big Grin

No only by channel... You could always add the feature yourself Smile

(2013-02-25, 17:05)TorMenTPS Wrote: I couldn't get hulu to work with Frodo, dropped back down to eden and it works with PTV fine now. May try frodo on a different computer, see if there is a problem with this one.

It's not working properly in frodo as it did in eden...
I have a number of working strm channels in frodo using both hulu and other sources...

I haven't been able to narrow down why ptv detects less strms then in eden... I think it may have something to do with how frodo handles strms files... (remember without duration info ptv will just ignore the files).


RE: [RELEASE] PseudoTV Virtual EPG and TV Channel Surfing Script for XBMC - Lunatixz - 2013-02-28

(2013-02-25, 00:24)noumenon Wrote: each time i run the add-on it plays video for a few minutes and then crashes xbmc. I'm running the pre build of pseudotv from 2/22 and stable frodo. I've tried reinstalling pseudotv to no avail. I'm not seeing it in the log file either. is there a separate log for pseudotv?


thanks,
noumenon

are you using trakt, follw.it... if yes, disable them and reboot and see if it fixes your problem


RE: [RELEASE] PseudoTV (Video) - spanktastic2120 - 2013-03-01

(2013-02-28, 23:18)Lunatixz Wrote: It's not working properly in frodo as it did in eden...
I have a number of working strm channels in frodo using both hulu and other sources...

I haven't been able to narrow down why ptv detects less strms then in eden... I think it may have something to do with how frodo handles strms files... (remember without duration info ptv will just ignore the files).

What strm sources do you have working? I have a bunch of strm files from freecable (added with mylibrary) and 1channel that play in frodo but not with PTV.


[RELEASE] PseudoTV (Video) Addon: Virtual EPG and TV Channel Surfing Script for XBMC - cami - 2013-03-01

Was trying this out for the first time and it doesn't start. Using Frodo. Has it not been fixed yet?

I tried the master version first and then the development version. Neither would start. I could get in to the channels set up in the addon settings but I had no clue what to do there.


RE: [RELEASE] PseudoTV (Video) - Lunatixz - 2013-03-01

(2013-03-01, 00:57)spanktastic2120 Wrote:
(2013-02-28, 23:18)Lunatixz Wrote: It's not working properly in frodo as it did in eden...
I have a number of working strm channels in frodo using both hulu and other sources...

I haven't been able to narrow down why ptv detects less strms then in eden... I think it may have something to do with how frodo handles strms files... (remember without duration info ptv will just ignore the files).

What strm sources do you have working? I have a bunch of strm files from freecable (added with mylibrary) and 1channel that play in frodo but not with PTV.


Freecable strms don't work... but strms created directly from bluecops hulu addon work... and I have customs strms I've put together that also work. Problem is almost 100% related to runtime info... haven't had time to track down the problem, and hope Jason finds it soon...


PseudoTV (Video) Addon: Virtual EPG and TV Channel Surfing Script for XBMC - Basekid - 2013-03-01

I also had some problems with PseudoTV hanging on adding videos (at random moments) and it turned out the culprit is that videos with the extension m2ts hangs the program.

Removing this video solved the issue for me. So anyone with the same issue could give this a shot Smile


RE: [RELEASE] PseudoTV (Video) Addon: Virtual EPG andTV Channel SurfingScript forXBMC - opentrick1 - 2013-03-02

FYI .flv files seem to choke it as well...checked the logs and it was always hanging at an flv file...I only had 5 or 6 of those so I moved them out of the library and voila it proceeded to load the rest of my channels Big Grin


RE: [RELEASE] PseudoTV (Video) Addon - LakersFan - 2013-03-02

I had the hanging while updating issue and it turns out it was because I disabled my pagefile and ran out of memory. lol