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)



- zepfan - 2011-08-24

Jason I've found a bug (maybe). On a recent nightly build running pre-stable, There is a weird artifact when changing time. I took a video since it's easier then explaining.
http://www.youtube.com/watch?v=XgV17-S1FFY

It could be pseudo or eden, just thought i'd give a heads up.


- Jason102 - 2011-08-24

Hmmm, at first glance I'm guessing it's Eden. In Dharma there is a function that I use when drawing the EPG that will lock and unlock the display so that things aren't drawn before everything is ready. For whatever reason, these no longer exist in Eden so I imagine things are just drawn when they are created...which looks ugly. I'll look around on the forums to see if there is a work-a-round for this.

By the way, I am still working on the next version, despite the lack of updates. I'm really struggling with the scheduling at the moment. Apparently I've run into a very classic computer science issue called the subset sum problem, and it's kind of a bitch to get around. Anyway, slowly but surely it's coming along.


- zepfan - 2011-08-25

I figured it was eden.

Also, good luck with that subset problem, I remember talking about it in one of my crypto classes, it's a pain to wrap you're head around!


- john.doe - 2011-08-25

Abe Froman Wrote:Is there a way to make the EPG guide order inverted from how it is now ... so that pressing up arrow moves up a channel number (so channels would show in descending order)... I can edit my own skin to do this if needed...just point me in the right direction.

Jason102 Wrote:Not currently. I've considered add this as an option in the past, but always end up on some other feature. I'll put it on my to-do list.

Any luck with this yet? I started in on the source today to find a quick way to swap it myself, but all I've succeeded in doing is breaking everything.

While I'm here, fantastic job all around! PseudoTV is the only thing that won me over to XBMC, and now I can't think of life without it!


- Jason102 - 2011-08-25

I honestly haven't even touched it. I'm still trying to get these rules working and finalized. It'll happen...eventually...it just all depends on how quickly I make progress on the other things that I have going on.


- RenZ0R - 2011-08-30

I've tried both builds now, 1.2.1 and 2.0 - im loving the background updating in 2.0 but for some reason I can not add movie channels that are in the genre Science-fiction/Action etc

I have 5 channels for TV - Southpark, Family Guy, American Dad, Futurama, and Kids cartoons

I have 3 movie channels - Horror movies, Comedy Movies and Family

I can add default channels to, but anything else is a no go, script just stops doing anything, ive tried force'd update, and wiped the script and re-installed, yet nothing...

help?


- Jason102 - 2011-08-30

I'd say stick with 1.2.1 right now, there is a nasty crash bug in 2 that I have yet to find. If you post a debug log of the problem you're having, I'll take a look.


- RenZ0R - 2011-09-01

Jason102 Wrote:I'd say stick with 1.2.1 right now, there is a nasty crash bug in 2 that I have yet to find. If you post a debug log of the problem you're having, I'll take a look.

id gladly do that but pastebin wont accept the file size lol

i had a look myself, it scans the movies, gets all the details, but then cant find the file

i created two channels - 1 sci-fi movies - 2 southpark

from the 1st log

01:57:55 T:2960842752 DEBUG: script.pseudotv-VideoParser: getVideoLength smb://SERVER/Archive_2/Media/Television/South Park/Season13/South Park - 13x04 - Eat, Pray, Queef.avi
01:57:55 T:2960842752 DEBUG: script.pseudotv-VideoParser: Unable to find the file

however

if i delete the sci-fi channel the script runs fine and plays the southpark channel

ive kept the logs safe, if you want me to rar them and put on mediafire or such that wont be a problem


- Jason102 - 2011-09-01

If you don't mind putting up the logs somewhere I'd really appreciate it. The script *should* run just fine even if a parser doesn't find a file. I can check out the logs to see if there is some other issue that I can find.


- RenZ0R - 2011-09-01

Jason102 Wrote:If you don't mind putting up the logs somewhere I'd really appreciate it. The script *should* run just fine even if a parser doesn't find a file. I can check out the logs to see if there is some other issue that I can find.



http://www.mediafire.com/?yotigr64vyzntv6


- Jason102 - 2011-09-02

RenZ0R: It appears that the issue you're having is primarily a problem of durations...XBMC doesn't know the duration of your files and with Eden I can't figure them out over SMB. That one setup worked and another didn't was coincidence of a sort...at some point XBMC figured out the duration of one of your files so that the next try worked.

It also appears that you have nfo files for your movies since the durations (the runtime field) is reported as "90 mins" as opposed to the standard 90. I don't use a media manager that creates nfos, so I can't really recommend a fix. Does anyone else have experience with that?



There has been an update to stable-pre. This includes the standard bug fixes, of course. It also has a change to the interleave rule so that you can do effectively random interleaving. It also contains the code for scheduling. So if scheduling interests you, try it out. You may notice that it's called "Best-Effort" scheduling now...don't expect perfection, because I don't think perfection is possible in this case.

As always, report any problems that you find.

EDIT: It's worth mentioning that the recursive directory issue in directory channels has been fixed. I know this was causing headaches for some.


- Martijn - 2011-09-02

@RenZ0R: If you use Ember to make nfo's he has to change the duration scraping as it standard has the 'mins'. Just change that in settings. You probably have this: <m> mins
Change to: <m>


- Malexx - 2011-09-03

Can someone tell me from where to get 1.2.1? i just can find 2.0 and 1.2.0?


- Jason102 - 2011-09-03

1.2.1 is in the official addon repo. Just look in the video section of the addons inside of XBMC.


- westcoastbias - 2011-09-03

Recently having some issues. I updated by atv2 build to the 31aug2011 build and now pseudotv randomly exits xbmc entirely to the atv2 menu occassionally. Here is a log.

http://pastebin.com/BSbBwciZ