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 and TV Channel Surfing Script for XBMC - phreaq - 2012-12-27

can you share channels between Windows and Android versions of XBMC? I have my channels on a Windows Server, and the Win XBMC machines can access it (by means of a mapped drive), but I'm unsure of how the Android will connect.

thanks!


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - moontan77 - 2012-12-27

(2012-12-21, 23:48)esk1 Wrote:
(2012-12-21, 22:53)Jason102 Wrote: Forgot to push to github again. So...yea...there's that.


My bad.

Well It got past channel 2. I'll go try it on my openelec box as well once this finishes. Thanks!

I'm getting an exception on openelec that I'm not seeing on windows. The screen is still going to a black box.

Code:
16:30:19 T:140702365239040   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xa3' in position 70: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/XBMC-PseudoTV-stable-pre/resources/lib/Overlay.py", line 170, in onInit
                                                if self.readConfig() == False:
                                              File "/storage/.xbmc/addons/XBMC-PseudoTV-stable-pre/resources/lib/Overlay.py", line 250, in readConfig
                                                self.channels = self.channelList.setupList()
                                              File "/storage/.xbmc/addons/XBMC-PseudoTV-stable-pre/resources/lib/ChannelList.py", line 113, in setupList
                                                self.setupChannel(i + 1, False, makenewlists, False)
                                              File "/storage/.xbmc/addons/XBMC-PseudoTV-stable-pre/resources/lib/ChannelList.py", line 379, in setupChannel
                                                if self.makeChannelList(channel, chtype, chsetting1, chsetting2, append) == True:
                                              File "/storage/.xbmc/addons/XBMC-PseudoTV-stable-pre/resources/lib/ChannelList.py", line 573, in makeChannelList
                                                fileList = self.buildFileList(fle, channel)
                                              File "/storage/.xbmc/addons/XBMC-PseudoTV-stable-pre/resources/lib/ChannelList.py", line 1158, in buildFileList
                                                dur = self.videoParser.getVideoLength(uni(match.group(1)).replace("\\\\", "\\"))
                                              File "/storage/.xbmc/addons/XBMC-PseudoTV-stable-pre/resources/lib/VideoParser.py", line 52, in getVideoLength
                                                if FileAccess.exists(filename) == False:
                                              File "/storage/.xbmc/addons/XBMC-PseudoTV-stable-pre/resources/lib/FileAccess.py", line 91, in exists
                                                if os.path.exists(filename):
                                              File "./Lib/genericpath.py", line 18, in exists
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xa3' in position 70: ordinal not in range(128)
                                            -->End of Python script error report<--


i'm having a similar issue with openelec using the build of pseudotv linked in one of the previous threads. I get this in the xbmc log:

17:44:07 T:140707741402880 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\xbf' in position 143: ordinal not in range(128)
Traceback (most recent call last):
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/Overlay.py", line 170, in onInit
if self.readConfig() == False:
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/Overlay.py", line 250, in readConfig
self.channels = self.channelList.setupList()
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 113, in setupList
self.setupChannel(i + 1, False, makenewlists, False)
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 379, in setupChannel
if self.makeChannelList(channel, chtype, chsetting1, chsetting2, append) == True:
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 573, in makeChannelList
fileList = self.buildFileList(fle, channel)
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 1158, in buildFileList
dur = self.videoParser.getVideoLength(uni(match.group(1)).replace("\\\\", "\\"))
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/VideoParser.py", line 52, in getVideoLength
if FileAccess.exists(filename) == False:
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/FileAccess.py", line 91, in exists
if os.path.exists(filename):
File "./Lib/genericpath.py", line 18, in exists
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbf' in position 143: ordinal not in range(128)
-->End of Python script error report<--




RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - moontan77 - 2012-12-27

another one here

18:17:46 T:140111958095616 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\u2013' in position 78: ordinal not in range(128)
Traceback (most recent call last):
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/Overlay.py", line 170, in onInit
if self.readConfig() == False:
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/Overlay.py", line 250, in readConfig
self.channels = self.channelList.setupList()
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 113, in setupList
self.setupChannel(i + 1, False, makenewlists, False)
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 379, in setupChannel
if self.makeChannelList(channel, chtype, chsetting1, chsetting2, append) == True:
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 571, in makeChannelList
fileList = self.buildMixedFileList(dom, channel)
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 1277, in buildMixedFileList
fileList.extend(self.buildFileList(GEN_CHAN_LOC + rulename, channel))
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/ChannelList.py", line 1158, in buildFileList
dur = self.videoParser.getVideoLength(uni(match.group(1)).replace("\\\\", "\\"))
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/VideoParser.py", line 52, in getVideoLength
if FileAccess.exists(filename) == False:
File "/storage/.xbmc/addons/Jasonra-XBMC-PseudoTV-ca64b70/resources/lib/FileAccess.py", line 91, in exists
if os.path.exists(filename):
File "./Lib/genericpath.py", line 18, in exists
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 78: ordinal not in range(128)
-->End of Python script error report<--


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - ylafont - 2012-12-27

PseudoTV (2.1.0)not lauching on Frodo RC2 - ubunutu 12.10

3:55:19 T:139891264407296 NOTICE: -->Python Interpreter Initialized<--
13:55:19 T:139891264407296 ERROR: EXCEPTION: Unimplemented method: executehttpapi::executehttpapi(...)
13:55:19 T:139891264407296 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Unimplemented method: executehttpapi::executehttpapi(...)
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/XBMC-PseudoTV-master/default.py", line 37, in <module>
if xbmc.executehttpapi("GetGuiSetting(1, services.webserver)")[4:] == "False":
RuntimeError: Unimplemented method: executehttpapi::executehttpapi(...)
-->End of Python script error report<--

any clues?


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - mietzekotze - 2012-12-27

@ylafont: got the same one. Did you use the PseudoTV-master.zip? On which system did you use it?


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - ylafont - 2012-12-27

PseudoTV (2.1.0) on Frodo RC2 - ubunutu 12.10, yeap, used PseudoTV-master.zip since it is not available on the Repo, Any fix?


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - esk1 - 2012-12-27

(2012-12-27, 21:05)ylafont Wrote: PseudoTV (2.1.0) on Frodo RC2 - ubunutu 12.10, yeap, used PseudoTV-master.zip since it is not available on the Repo, Any fix?

You need to change to the stable-pre branch. Master is not the current Frodo build.




RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - ylafont - 2012-12-27

Thank you, do i need to remove the current add-on?


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - esk1 - 2012-12-27

(2012-12-27, 21:37)ylafont Wrote: Thank you, do i need to remove the current add-on?

I assume so, won't do you any good anyways.


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - ylafont - 2012-12-27

One other idiotic question, the Master.zip addon that i installed previously, is not listed as an addon that can be enable/disable or uninstalled? is there a cli command to uninstall it? Highly appreciated!

Never mind, i was looking in the wrong place, it is listed under -progam add-ons not video addons.


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - Jason102 - 2012-12-28

Moontan77: is this with a stable-pre from yesterday or today?

ylafont: make sure that you get the stable-pre branch from Github.


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - ylafont - 2012-12-28

Yes, already done. - I was glad to see it working again!


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - SOME1 - 2012-12-28

Hi,

thanks for this great addon.
I have an error message when I try to use this script.
my log file is here http://pastebin.com/40Eem1kT
I can see all the videos when I use regular xbmc videos menus but not when using PseudoTV (looks like pseudotv can not connect to remote servers although xbmc do it ok)

thanks for your help.


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - esk1 - 2012-12-28

Jason,

I few days ago I mentioned playback errors, I finally got around to putting together a log to recreate the issue because I was away for a few days. This only occurs on my openelec box and not on windows, I did get the latest pre-stable in case you pushed any more updates out while I was gone. Basically it goes through the channel population stuff just fine but when its done I get an error stating that playback failed and when I hit any button psuedo tv quits. In the logs I see a bunch of stuff about codec errors and a few other things.


LOG

edit: Oh I have backgrounding off. I believe if I do a force full channel reset playback will work just fine but I will have to test this again later. I think its a timing issue of some sort.


RE: [RELEASE] PseudoTV (Video) Addon - Virtual EPG and TV Channel Surfing Script for XBMC - pisoj1 - 2012-12-28

Hey Jason, you've done a great job...wondering if there is any plans to sort of rework the plugin? I use windows and run a pretty powerful machine, much more so than what most people would run for their htpc....

I hate that the EPG menu kind of takes forever to update...like it sort of updates each channel one by one...and it flashes when it does...just sort of makes it feel a little slower... Still an amazing job...

A small feature request is sort of add some sort of way to make particular shows on a channel play a certain time/day...

My biggest memory as a child was watching the simpsons at 6pm every weeknight. It would also be cool if channels could kind of work in 12 hour blocks? Like it will repeat what was on between the hours of 10am-10pm from 10pm-10am. Smile I know a lot of channels do this on cable.