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 - mietzekotze - 2012-12-30

(2012-12-30, 02:44)Vaneshi Wrote: Shouldn't that be .avi? If so see what happens when you rename it and try to play just it on its own.

yes, i know. if i play it out of its own, it works fine. where can i find the playlist, that PTV creates? I think, that for some reason PTV makes a wrong playlist and that this is the mistake.



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

(2012-12-29, 04:40)Jason102 Wrote: Eh, the change they made didnt seem to speed anything up for me. Me extensive use of graphics is outside the normal use for addons, though, so I guess I can understand it not being a high priority for the developers. I am always trying to speed up the damn EPG, though, so maybe I'll stumble upon some great solution.

@jason

I help develop the TVCatchup EPG addon:

http://forums.tvcatchup.com/showthread.php?8832-New-XBMC-Plugin-with-EPG-function.&p=77949&viewfull=1#post77949

This was also a victim of the dreaded slowdown (as I like to call it), in fact I still run Eden RC2 on my living room HTPC due to the locking that was introduced straight into the Eden release version.

I have just checked the performance of our addon and even showing 24 hours for 9 channels (265 programs/controls) we have no significant slow down (that's on a Revo 3610 running Win7), even whilst playing video in a window, so PseudoTV should have no problem displaying the number of controls it handles.

I have had a quick look at your code and 2 things spring to mind, you are not removing any controls so I guess eventually that could get unwieldy (although I doubt that is the problem), but you also move the controls on and off screen, I don't know for sure but could that be the source of the problem? I would have thought there was some locking going on there and since you move them individually maybe that could cause a problem.

In our addon when we need to redraw the guide, we simply remove all the current controls (using removeControls with a list, in your code I guess you could make myadds a member and just call self.removeControls(self.myadds) when necessary), and then start again.

I wouldn't be surprised if all the tweaks you added to get round the slowdown are now what are causing it, which would be rather ironic!

I hope that helps, I know exactly how you feel about this as I went through exactly the same with our addon, (and again when the addControls/removeControls got broke recently).

Let me know if you need any help (I've PMed you as well)



I have now had a chance to have a better look at this.
I don't get much slow down on my setup with PseudoTv 'cos my test setup is very basic (just one directory channel with 5 videos in it), but even so the following changes do help. Also with our TVCatchup addon I tried moving the controls off screen before deleteing them and this definitely causes a very siginificant slowdown to the rate of redrawing.

First as I mentioned above I changed myadds to a member variable and initialised it in the constructor

Code:
self.myadds = []

Then in the setChannelButtons() method in the USING_FRODO section first remove the current controls:

Code:
if USING_FRODO:  
    if len(self.myadds):
        self.removeControls(self.myadds)          
    self.myadds = []

In the for loop you obviously now need to use self.myadds, ie

Code:
self.myadds.append(cntrl.getControl())

also

Code:
if len(self.myadds):
    self.addControls(self.myadds)



Then in the setButtons method, comment out the following line

Code:
#rowbuttons.extend(self.channelButtons[row])

And the final part of the method:

Code:
#for button in rowbuttons:
#    button.setPosition(-4000, -4000, True)
                
#    self.buttonCache.extend(rowbuttons)



You should get rid of the buttonCache completely, the getButton method then becomes just:

Code:
def getButton(self):
        baseh = self.getControl(111).getHeight()
        return EPGButton(self, -4000, -4000, 5, baseh, '')



The moveButtonsUp and moveButtonsUp methods will need fixing/simplifying too, and the returnButton method isn't used anymore so that can probably be removed too.


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

@jason

I run PseudoTV on a Raspberry Pi running raspbmc.
While this seems to run fine in overall I observed some weird glitches.

1) Playlist Generation

When generating playlists (e.g. userdata/addon_data/script.pseudotv/cache/channel_1.m3u)
sometimes the last character of the file name seems to "get lost", e.g. a file name extensions like ".mkv" becomes ".mk",
same goes for ".mp4" and others.

Here's an excerpt from a wrong .m3u file:

Quote:#EXTM3U
#EXTINF:6229,Pitch Black////After crash-landing on a seemingly lifeless planet, pilot Carolyn Fry and the remaining passengers -- including murderer Riddick
and policeman William J. Johns -- encounter an army of creatures whose only weakness is light. As night approaches and the aliens emerge, the passengers must
rely on Riddick's powerful night vision to lead them through the darkness
smb://x.x.x.x/movielib1/Horror/Pitch Black (2000).mk
#EXTINF:5205,Cube////The claustrophobic debut of Canadian director Vincenzo Natali takes seven strangers out of their daily lives and places them mysteriousl
y in a deadly cube where they all agree they must find their way out. A mix of thriller and psychodrama and a small budget film that gained cult status
smb://x.x.x.x/movielib1/Horror/Cube (1997).mk

And here's a log message trying to play such a wrongly named file:

Quote:16:33:44 T:3035656928 DEBUG: CPlayerCoreFactory::GetPlayers(smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mk)
16:33:44 T:3035656928 NOTICE: COMXPlayer: Opening: smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mk
16:33:44 T:2646914064 DEBUG: CSmbFile::Open - opened movielib1/Horror/Ghost Ship (2002).mk, fd=-1
16:33:44 T:2646914064 INFO: FileSmb->Open: Unable to open file : 'smb://x.x.x.x/movielib1/Horror/Ghost%20Ship%20(2002).mk'
16:33:44 T:2646914064 ERROR: COMXPlayer::OpenInputStream - error opening [smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mk]
16:33:44 T:3035656928 ERROR: Playlist Player: skipping unplayable item: 6, path [smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mk]

Some facts:

- the files have proper names/extensions on the NAS (e.g. .mkv and _not_ .mk)
- all movies are properly scraped in the library and play perfectly when selected from the library
- library is stored in a mysql db
- the issue described does not always happen, when I force a channel reset, they m3u files may end up with proper file names, but yet not always
- I have a channel setup with 6 movie genres, even when resetting all channels, some may get proper file names, some don't. Also, it happens to add a given film with a truncated extension to one m3u file, and adding the very same film with proper file name to another m3u file
- So far I did multiple reset runs, but I couldn't observe any rule, it just seems to happen at random

I tried to figure if there was a scanning error during m3u build, below is a log excerpt.
To me it seems like the files are properly found, but somehow get truncated when writing the m3u file.
Though I didn't find any log entry that would pinpoint this somehow.

Quote:15:12:58 T:2873095184 DEBUG: script.pseudotv-MKVParser: Duration is 5077
15:12:58 T:2873095184 DEBUG: script.pseudotv-ChannelList: runActions 2 on channel 1
15:12:58 T:2873095184 DEBUG: script.pseudotv-VideoParser: getVideoLength smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-MKVParser: determineLength smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-FileAccess: trying to open smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: openFile smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: base: x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: host: x.x.x.x
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: File dir: movielib1
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: File path: /Horror/Ghost Ship (2002).mkv


2) Broken EPG

This issue is not related to 1)

I added 6 movie genre channels (1 to 6), then added 6 "bumber" channels (991 - 996), which I set to "do not play".
Then I configured interleaving as "channel 1 with 991, channel 2 with 992, etc).

So far, the m3u files where correctly written out, interleaving the movies with the bumbers as espected.

The playback also works properly as expected.
However when trying to bring up the EPG, it shows distorted. I should have done a screenshot of this, but
to describe it:

The EPG shows six rows, but no description / channel name, and neither the names of the movies to be playing.
I cannot use the "left/right/up/down" buttons to navigate through the EPG (as there's nothing displayed so nothing to navigate to).
Yet, when closing the EPG, it seems like the TV overlay window somehow loses it's focus, because it wouldn't react
on the channel up/channel down command.
When pressing STOP, playback stops, but the TV overlay would never close, so a blank screen stays there, and the
actual XBMC menu wouldn't show up. Also the usual "pseudoTV shutdown / save" dialog is not seen.
There's no way to exit back out to XBMC so all I can do is restarting XBMC alltogether.


The same happens if I just popup the EPG and close it right away, without trying to navigate within the EPG.

Now, if I go and remove channels 991-996 and disable the interleaving, the EPG builds up properly and
can be navigated properly as expected. Also quitting pseudoTV works properly.


Any ideas on this?
If you need more details, I'll gladly provide it to you.

Cheers,
mdpg


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

(2012-12-30, 04:02)mietzekotze Wrote:
(2012-12-30, 02:44)Vaneshi Wrote: Shouldn't that be .avi? If so see what happens when you rename it and try to play just it on its own.

yes, i know. if i play it out of its own, it works fine. where can i find the playlist, that PTV creates? I think, that for some reason PTV makes a wrong playlist and that this is the mistake.

userdata/addon_data/script.pseudotv/cache/

Should find a load of m3u files there.


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

(2012-12-29, 01:23)Jason102 Wrote: Amelandbor: try the newest stable-pre, I fixed this issue a couple of days ago.

After deleting all pseudotv references and installing a fresh pseudotv I was able to load PTV.

But now I get the can't populate channels error.
PHP Code:
12:11:08 T:140057876887296   DEBUGscript.pseudotv-VideoParsergetVideoLength nfs://192.168.1.49/volume1/Disk1/Series/NameTVShow/Season/Episode.mkv
12:11:08 T:140057876887296   DEBUGscript.pseudotv-MKVParserdetermineLength nfs://192.168.1.49/volume1/Disk1/Series/NameTVShow/Season/Episode.mkv
12:11:08 T:140057876887296   DEBUGscript.pseudotv-FileAccesstrying to open nfs://192.168.1.49/volume1/Disk1/Series/NameTVShow/Season/Episode.mkv
12:11:08 T:140057876887296   DEBUGscript.pseudotv-MKVParserUnable to open the file 

This is constantly in the debug log. This also happens when I try a NFS directory. When I try a SMB directory this is the output of that segment:

PHP Code:
12:22:18 T:139736384780032   DEBUGscript.pseudotv-VideoParsergetVideoLength smb://192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 - Official After Movie.mp4
12:22:18 T:139736384780032   DEBUGMP4ParserdetermineLength smb://192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 - Official After Movie.mp4
12:22:18 T:139736384780032   DEBUGscript.pseudotv-FileAccesstrying to open smb://192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 - Official After Movie.mp4
12:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManageropenFile smb://192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 - Official After Movie.mp4
12:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerbase192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 Official After Movie.mp4
12
:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerhost192.168.1.49
12
:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerFile dirDisk1
12
:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerFile path: /Music/Music Videos/Tomorrowland 2011 Official After Movie.mp4
12
:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerUsing an existing connection
12
:22:18 T:139736384780032   DEBUGMP4ParserNo file block
12
:22:18 T:139736384780032   DEBUGMP4ParserDuration

This looks good but for some reason it also gives the can't populate error.


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

(2012-12-31, 13:24)Amelandbor Wrote:
(2012-12-29, 01:23)Jason102 Wrote: Amelandbor: try the newest stable-pre, I fixed this issue a couple of days ago.

After deleting all pseudotv references and installing a fresh pseudotv I was able to load PTV.

But now I get the can't populate channels error.
PHP Code:
12:11:08 T:140057876887296   DEBUGscript.pseudotv-VideoParsergetVideoLength nfs://192.168.1.49/volume1/Disk1/Series/NameTVShow/Season/Episode.mkv
12:11:08 T:140057876887296   DEBUGscript.pseudotv-MKVParserdetermineLength nfs://192.168.1.49/volume1/Disk1/Series/NameTVShow/Season/Episode.mkv
12:11:08 T:140057876887296   DEBUGscript.pseudotv-FileAccesstrying to open nfs://192.168.1.49/volume1/Disk1/Series/NameTVShow/Season/Episode.mkv
12:11:08 T:140057876887296   DEBUGscript.pseudotv-MKVParserUnable to open the file 

This is constantly in the debug log. This also happens when I try a NFS directory. When I try a SMB directory this is the output of that segment:

PHP Code:
12:22:18 T:139736384780032   DEBUGscript.pseudotv-VideoParsergetVideoLength smb://192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 - Official After Movie.mp4
12:22:18 T:139736384780032   DEBUGMP4ParserdetermineLength smb://192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 - Official After Movie.mp4
12:22:18 T:139736384780032   DEBUGscript.pseudotv-FileAccesstrying to open smb://192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 - Official After Movie.mp4
12:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManageropenFile smb://192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 - Official After Movie.mp4
12:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerbase192.168.1.49/Disk1/Music/Music Videos/Tomorrowland 2011 Official After Movie.mp4
12
:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerhost192.168.1.49
12
:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerFile dirDisk1
12
:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerFile path: /Music/Music Videos/Tomorrowland 2011 Official After Movie.mp4
12
:22:18 T:139736384780032   DEBUGscript.pseudotv-SMBManagerUsing an existing connection
12
:22:18 T:139736384780032   DEBUGMP4ParserNo file block
12
:22:18 T:139736384780032   DEBUGMP4ParserDuration

This looks good but for some reason it also gives the can't populate error.

looks like you are trying to use this with dvd's? I think that you may need to rip them and then scrape them.Am not sure this will work with dvd as PTV needs to get lengths of whatever video it is using and can not get that correctly from a dvd.

Mark


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

You're seeing a problem with pseudotv getting the video duration. It appears to have problems reading the video file to determine what it is. I wouldn't expect to see it using SMBManager with stable-pre, though. I'll see if I have the same problem on my system.

Ok guys, an update to stable-pre. This puts in the recommended changes from spoyser (thanks for looking into this!) for the EPG...tell me if you see a speed-up on your system. One of mine was the same, and one saw a bit of an increase in performance. It also has a fix for the broken playlist filename issue. You may need to force a reset of the channels, but it shouldn't break again after that.


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

@jason

I'm still not convinced there is any need to cache or reuse any of the controls, in fact I think updating them will actually be inefficient, again because it has to be done one at a time and I'm sure will involve some locking, maybe even a refresh/render of the screen.

Try commenting out this line in the setButtons method to stop them getting reused;

Code:
rowbuttons.extend(self.channelButtons[row])

Then change the getbutton method to just this:

Code:
def getButton(self, x, y, h, w, label):
        return EPGButton(self, x, y, w, h, label)

Obviously the parameters will need to be added to the method calls and the sets removed.

This way controls are created from scratch each time they are needed already in the right position, size, and labelled, so you should then be able to remove all the stuff related to the activateChanges method in the EPGButton class (or just make the method return without doing anything) as they are never changed, just created and destroyed.

This will also require you to change the moveButtonsUp and moveButtonsDown so they just remove all the current controls and create all the news ones from scratch again, anything that updates existing controls is going to be a killer!! (although I can live with the timebar doing it LOL).

Like I said in my earlier post you have put tons of stuff in to basically get round a bug that was introduced into the WindowXML class which has now been fixed, and that stuff now appears to be causing you issues (see here http://trac.xbmc.org/ticket/13538 )

Our addon can easily render over 200 controls no problem, so PseudoTV should be even quicker (I would like to suggest instantaneous).


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

(2012-12-31, 20:41)Jason102 Wrote: Ok guys, an update to stable-pre. This puts in the recommended changes from spoyser (thanks for looking into this!) for the EPG...tell me if you see a speed-up on your system. One of mine was the same, and one saw a bit of an increase in performance. It also has a fix for the broken playlist filename issue. You may need to force a reset of the channels, but it shouldn't break again after that.

Hi Jason, I have just tried the latest stable-pre version and there was a problem for me straight away. When I start PTV and open the EPG and scroll up or down and get to the edge of the screen, the guide disappears! The only thing I can do is press "X" to exit.

Heres a LOG in case it helps.


As always thanks for all the hard work your putting in and thanks to Spoyser for the suggestions/fixes.



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

Folks, i use mysql with xbmc on my main pc which i use for storing media. I'm trying to use pseudotv on a client pc but i get these errors in the log:

21:43:37 T:140185273952000 NOTICE: -->Python Interpreter Initialized<--
21:43:39 T:140185273952000 ERROR: script.pseudotv-SMBManager: Unable to get the IP or hostname for HOME-PC
21:43:39 T:140185273952000 ERROR: Previous line repeats 5 times.
21:43:39 T:140185273952000 ERROR: script.pseudotv-Connection: Couldn't connect to 192.168.1.10 with the name HOME-PC, /
21:43:39 T:140185273952000 ERROR: script.pseudotv-Connection: Couldn't connect to 192.168.1.10 with the name HOME-PC, guest /
21:43:43 T:140185273952000 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 1
21:43:45 T:140185273952000 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 2
21:43:52 T:140185273952000 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 3


This client pc can access the mysql library and can connect to the samba shares on that pc (192.168.1.10) so I'm not sure why pseudotv is unable to connect to it? Have googled this error but havent seen anything that helps. Anyone know what could be wrong? Is it something as silly as the hypen in the pc name causing the issue (out of the two results that came up on on google one of them had a hypen in the pc name).


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

My reasoning for reusing controls (in the moveButtons case, at least) was that the python processing of additional rows (determining positions and labels) would take longer than modifying control attributes.

Turns out, not really. So...I've updated again based on spoyser's suggestions, and with good results (at least on my systems).

This also fixes the stupid mistake that caused the problem that you're seeing, Rastan.

moontan77: not really sure about this one. The hack that I put in a while ago to access smb data has always been a bit flaky. There is a change in Frodo that should help with that, but channel sharing over SMB will still be hit or miss, based on your network configuration. I put in a change a minute ago that may at least help narrow down the problem.


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

will those changes be in this link?

https://github.com/Jasonra/XBMC-PseudoTV/archive/stable-pre.zip

If so, its still saying it cannot connect. But if you look at last line you can see it is accessing the pc. Also as per the last line pseudotv doesnt seem to be able to pick up 2 cd/file movies? It was last year when i really used pseudotv regularly and I thought it was able to pick up two cd movies back then.

22:49:52 T:140551178704640 ERROR: script.pseudotv-Connection: Couldn't connect to 192.168.1.10 with the name HOME-PC, /
22:49:52 T:140551178704640 ERROR: script.pseudotv-Connection: Couldn't connect to 192.168.1.10 with the name HOME-PC, guest /
22:49:58 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 1
22:50:02 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 2
22:50:10 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 3
22:50:20 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 4
22:50:22 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 5
22:50:31 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 6
22:50:43 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 7
22:50:46 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 8
22:50:49 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 9
22:50:50 T:140551178704640 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 10
22:51:24 T:140551178704640 WARNING: CreateLoader - Unsupported protocol(stack) in stack://smb://HOME-PC/SD Movies 2/blabla/blabla-a.avi , smb://HOME-PC/SD Movies 2/blabla/blabla-b.avi


is there anywhere that the ip and hostname can be hardcoded?



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

(2013-01-01, 00:44)Jason102 Wrote: My reasoning for reusing controls (in the moveButtons case, at least) was that the python processing of additional rows (determining positions and labels) would take longer than modifying control attributes.

Turns out, not really. So...I've updated again based on spoyser's suggestions, and with good results (at least on my systems).

This also fixes the stupid mistake that caused the problem that you're seeing, Rastan.

moontan77: not really sure about this one. The hack that I put in a while ago to access smb data has always been a bit flaky. There is a change in Frodo that should help with that, but channel sharing over SMB will still be hit or miss, based on your network configuration. I put in a change a minute ago that may at least help narrow down the problem.

Thanks for the fixes Jason. It's working fine over here now. I just noticed a slight flicker while scrolling on the EPG, but it isn't super noticeable.


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

(2012-12-31, 02:10)mdpg Wrote: @jason

I run PseudoTV on a Raspberry Pi running raspbmc.
While this seems to run fine in overall I observed some weird glitches.

1) Playlist Generation

When generating playlists (e.g. userdata/addon_data/script.pseudotv/cache/channel_1.m3u)
sometimes the last character of the file name seems to "get lost", e.g. a file name extensions like ".mkv" becomes ".mk",
same goes for ".mp4" and others.

Excactly the same problem on the same system. RaspBMC on Raspberry Pi.

//Edit: In my situation, its only like this, when i interleave channels. I have 2 channels, and channel 1 interleaves the 2nd. The videos, from channel two, that shall be played in channel 1 are missing one character, but the videos in channel 2 are all alright.

Aditionally the EPG doesn't work for me. If i try to run it, it shortly appears without showing anything, and then disappears again. I can't run it again, or exit PTV


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

any Idea why I am having problems? link
(I tried with pre release 2.1.0-50 with no changes.)
thanks.