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 Addon: Virtual EPG and TV Channel Surfing Script - spanktastic2120 - 2013-04-06

(2013-04-06, 12:45)WolvesPhil Wrote: Hi,
This addon looks great - when I launch it I get the following

11:50:03 T:5664 NOTICE: -->Python Interpreter Initialized<--
11:50:03 T:5664 ERROR: EXCEPTION: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
11:50:03 T:5664 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::XBMCAddon::xbmc::executehttpapi(...)
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\XBMC\addons\XBMC-PseudoTV-master\default.py", line 37, in <module>
if xbmc.executehttpapi("GetGuiSetting(1, services.webserver)")[4:] == "False":
RuntimeError: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
-->End of Python script error report<--

Thanks in advance :-)

I think youre using frodo with the build for eden, try the latest stable pre: https://github.com/Jasonra/XBMC-PseudoTV/archive/stable-pre.zip


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - DaMan57 - 2013-04-06

I have found where PTV hangs, at least on my files.

I turned on debugging and started the latest version of PTV and it hung at 2 on channel 1. Looking at the log showed the 3rd file was a flv. The xbmc.log was showing many FLVParser entries. To test this I loaded the 1-23 version, let it populate the channels, then checked if any flv's were in the playlist and there were none. The version from 1-23 apparently does not parse flv files.

The scrapers parse these files and xbmc plays them without issue. Here is the mediainfo for the flv that hung in my above test.
Code:
General
Complete name                            : U:ichangedthisline.flv
Format                                   : Flash Video
File size                                : 117 MiB
Duration                                 : 23mn 37s
Overall bit rate                         : 692 Kbps
Tagging application                      : Yet Another Metadata Injector for FLV - Version 1.5

Video
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : 7
Duration                                 : 23mn 37s
Bit rate                                 : 614 Kbps
Width                                    : 854 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.062
Stream size                              : 105 MiB (90%)
Writing library                          : x264 core 107
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=abr / mbtree=0 / bitrate=614 / ratetol=6.5 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.41 / pb_ratio=1.25 / aq=1:1.00

Audio
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Mode extension                           : MS Stereo
Codec ID                                 : 2
Codec ID/Hint                            : MP3
Duration                                 : 23mn 37s
Bit rate mode                            : Constant
Bit rate                                 : 64.0 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Delay relative to video                  : 84ms
Stream size                              : 11.4 MiB (10%)
Writing library                          : LAMEUUULAME3.98.4
I hope this helps.

EDIT:
Just found more stuff in the log that might help.
Code:
04:41:42 T:2763691072   DEBUG: script.pseudotv-ChannelList: runActions 2 on channel 1
04:41:42 T:2763691072   DEBUG: script.pseudotv-VideoParser: getVideoLength smb://FREENAS/ichangedthisline.flv
04:41:42 T:2763691072   DEBUG: FLVParser: determineLength smb://FREENAS/ichangedthisline.flv
04:41:42 T:2763691072   DEBUG: script.pseudotv-FileAccess: trying to open smb://FREENAS/ichangedthisline.flv
04:41:42 T:2763691072   DEBUG: script.pseudotv-FileAccess: Opening for reading
04:41:42 T:2763691072   DEBUG: CSmbFile::Open - opened ichangedthisline.flv, fd=10000
04:41:42 T:2763691072   DEBUG: script.pseudotv-VFSFile: Opening smb://FREENAS/ichangedthisline.flv
04:41:42 T:2763691072   DEBUG: FLVParser: detected tag type 8
04:41:45 T:2675881024   DEBUG: Previous line repeats 234 times.
04:41:45 T:2675881024   DEBUG: Thread Jobworker 2675881024 terminating (autodelete)
04:41:45 T:2763691072   DEBUG: FLVParser: detected tag type 8
04:41:45 T:2650657856   DEBUG: Previous line repeats 2 times.
04:41:45 T:2650657856   DEBUG: Thread Jobworker 2650657856 terminating (autodelete)
04:41:45 T:2763691072   DEBUG: FLVParser: detected tag type 8
04:41:45 T:2780468288   DEBUG: Previous line repeats 38 times.
04:41:45 T:2780468288   DEBUG: script.pseudotv-FileLock: refreshLocks
04:41:45 T:2763691072   DEBUG: FLVParser: detected tag type 8
04:41:49 T:2650657856   DEBUG: Previous line repeats 361 times.
There are lots of these entries, this one was related to the file above.


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - _XbmcUser_ - 2013-04-06

This addon is really awesome! Thanks so much! Smile


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - rich.h - 2013-04-07

Had a look through some of this thread so I may have missed something but I can't find out how to disable subtitles. I'm running the latest frodo version of xbmc and when watching a tv show or movie through those sections I can just hit T on the keyboard to toggle on or off. But in PseudoTV it doesn't work. Is this a known thing that will or won't be added in future or have I missed a step in the configure set up?


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - Jason102 - 2013-04-07

DaMan57: so PTV freezes after that? Is there anything after that point in the log? Please try one last thing: copy that movie into a new directory, create a directory channel with the new dir, and see if you still get the freeze. That will say whether it's that file or not.


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - spanktastic2120 - 2013-04-08

(2013-04-07, 13:16)rich.h Wrote: Had a look through some of this thread so I may have missed something but I can't find out how to disable subtitles. I'm running the latest frodo version of xbmc and when watching a tv show or movie through those sections I can just hit T on the keyboard to toggle on or off. But in PseudoTV it doesn't work. Is this a known thing that will or won't be added in future or have I missed a step in the configure set up?

You set xbmc to enable subtitles for all videos. The T keypress isnt mapped to subtitles within PseudoTV, so you will need to hit M to bring up the video OSD then navigate to the speaker icon and uncheck the subtitles radio button. If you want you can set it to be default from that menu too.


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - rich.h - 2013-04-08

(2013-04-08, 04:18)spanktastic2120 Wrote:
(2013-04-07, 13:16)rich.h Wrote: Had a look through some of this thread so I may have missed something but I can't find out how to disable subtitles. I'm running the latest frodo version of xbmc and when watching a tv show or movie through those sections I can just hit T on the keyboard to toggle on or off. But in PseudoTV it doesn't work. Is this a known thing that will or won't be added in future or have I missed a step in the configure set up?

You set xbmc to enable subtitles for all videos. The T keypress isnt mapped to subtitles within PseudoTV, so you will need to hit M to bring up the video OSD then navigate to the speaker icon and uncheck the subtitles radio button. If you want you can set it to be default from that menu too.

Thanks solved my issue.


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - razorclovis - 2013-04-09

Hello.

I´m using PseudoTV often and have made many channels. But i have one Problem.

I have certain of Directory Channels. I planned these as Sport Channels where things like NFL or Formula 1 is shown, but they are not playing in the right order. I named the files that the videos are in the correct order but pseudotv plays that random.

So my question: Is there any possibility to set directory channels to play the files in named order?


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - mwkurt - 2013-04-09

(2013-04-09, 10:46)razorclovis Wrote: Hello.

I´m using PseudoTV often and have made many channels. But i have one Problem.

I have certain of Directory Channels. I planned these as Sport Channels where things like NFL or Formula 1 is shown, but they are not playing in the right order. I named the files that the videos are in the correct order but pseudotv plays that random.

So my question: Is there any possibility to set directory channels to play the files in named order?

No, directory channels are not scanned into XBMC therefore they can not be played in the correct order as PTV uses XBMC as it's backbone. What you could do would be to make a homemade nfo file and have your sports scanned into XBMC in whatever playing order you want. I think that is going to be your only option to get a correct order out of these things.

Mark


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - Lunatixz - 2013-04-09

(2013-04-09, 10:46)razorclovis Wrote: Hello.

I´m using PseudoTV often and have made many channels. But i have one Problem.

I have certain of Directory Channels. I planned these as Sport Channels where things like NFL or Formula 1 is shown, but they are not playing in the right order. I named the files that the videos are in the correct order but pseudotv plays that random.

So my question: Is there any possibility to set directory channels to play the files in named order?

Directory channels should build in alphabetical order, check your rules...


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - cranstoun - 2013-04-10

I'm having an issue with movie stubs. I have a library of stubs for my dvd collection but pseudotv actively adds these to a channel. When trying to access these it causes pseudotv to crash. Is there a way to prevent pseudotv from adding .dvd stubs to a channel?


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - locoguano - 2013-04-11

First time trying to use this addon... Of course, I ran into a problem right away. I am trying to set up a channel using a custom playlist. When I try to browse for the file no folders are listed. Is the playlist supposed to be stored in a specific folder?


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - scilz - 2013-04-11

if u have playlist set up in xbmc u should see them soon as u click on custom playlist

AppData\Roaming\XBMC\userdata\playlists\video is the folder btw


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - locoguano - 2013-04-11

Yeah.. Just tried a smart playlist through the xbmc UI... worked fine. What did not work was a playlist created from a queue (.m3u). Are m3u file usable for "channel playlists"?

Doing what I needed right now with the smart playlist editor. Making a superheroes channel. It will have as many superhero themed movies and tv series as I can find.


RE: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - scilz - 2013-04-12

sorry i dont know about the .m3u files and good luck on the super hero channel i had a channel for super hero movies then another for cartoons