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)



- blackjack17 - 2012-01-12

I might have a small bug (well it's a pretty big bug but it could be something I have done)

I can't seem to open the channel configuration anymore. It opens part way and then just freezes and I have to kill xbmc. Looking at the log it seems to be one of the smart playlists.

here is the log

Quote:14:40:30 T:2732 M:893452288 DEBUG: script.pseudotv-ChannelList: found genres ['Action and Adventure', 'Animation', 'Children', 'Comedy', 'Documentary', 'Drama', 'Fantasy', 'Home and Garden', 'Mini-Series', 'News', 'Reality', 'Science-Fiction', 'Special Interest', 'Western']
14:40:30 T:2732 M:893452288 DEBUG: script.pseudotv-ChannelList: fillTVInfo return ['A&E', 'ABC', 'ABC Family', 'AMC', 'Animal Planet', 'BBC', 'BBC Four', 'BBC One', 'BBC Three', 'BBC Two', 'Cartoon Network', 'CBBC', 'CBC', 'CBS', 'Channel 4', 'Channel 4 (UK)', 'Comedy Central', 'CTV', 'Discovery', 'E4', 'FOX', 'Fuji TV', 'FX', 'HBO', 'History', 'IFC', 'ITV1', 'ITV2', 'MTV', 'National Geographic', 'NBC', 'Nickelodeon', 'Nine Network', 'NTV', 'PBS', 'SBS', 'Science Channel', 'SciFi', 'Seven Network', 'Showcase', 'Showtime', 'Sky1', 'Spike TV', 'Starz!', 'Syfy', 'Syndicated', 'The CW', 'The WB', 'TNT', 'TV ONE', 'TV3', 'TVNZ', 'USA Network', 'WOWOW']
14:40:30 T:2732 M:893452288 DEBUG: script.pseudotv-ChannelList: fillMovieInfo
14:40:30 T:2732 M:893452288 DEBUG: script.pseudotv-ChannelList: sendJSON
14:40:30 T:1576 M:893415424 DEBUG: CVideoDatabase::GetSetsNav query: SELECT sets.idSet,sets.strSet,COUNT(1) AS c,count(files.playCount) FROM sets JOIN setlinkmovie ON sets.idSet=setlinkmovie.idSet JOIN movie ON setlinkmovie.idMovie=movie.idMovie JOIN files ON files.idFile=movie.idFile GROUP BY sets.idSet HAVING c>1
14:40:30 T:1576 M:893394944 DEBUG: CVideoDatabase::GetMoviesByWhere query: select * from movieview WHERE movieview.idMovie NOT IN (SELECT idMovie FROM setlinkmovie s1 JOIN(SELECT idSet, COUNT(1) AS c FROM setlinkmovie GROUP BY idSet HAVING c>1) s2 ON s2.idSet=s1.idSet)
14:40:30 T:1576 M:890454016 DEBUG: Time for actual SQL query = 70
14:40:31 T:1576 M:875393024 DEBUG: Time to retrieve movies from dataset = 842
14:40:32 T:2732 M:881156096 DEBUG: script.pseudotv-ChannelList: found genres ['Action', 'Adventure', 'Animation', 'British', 'Comedy', 'Crime', 'Disaster', 'Documentary', 'Drama', 'Eastern', 'Erotic', 'Family', 'Fantasy', 'Film Noir', 'Foreign', 'History', 'Holiday', 'Horror', 'Indie', 'Music', 'Musical', 'Mystery', 'Neo-noir', 'Road Movie', 'Romance', 'Sci-Fi & Fantasy', 'Science Fiction', 'Short', 'Sport', 'Sports Film', 'Suspense', 'Thriller', 'War', 'Western']
14:40:32 T:2732 M:881156096 DEBUG: script.pseudotv-ChannelList: fillMovieInfo return ['20th Century Fox', 'Columbia Pictures', 'Danjag S.A.', 'DreamWorks SKG', 'EON Productions', 'Metro-Goldwyn-Mayer', 'New Line Cinema', 'Paramount Pictures', 'Relativity Media', 'Touchstone Pictures', 'United Artists', 'Universal Pictures', 'Walt Disney Pictures', 'Warner Bros. Pictures']
14:40:32 T:2732 M:881831936 DEBUG: script.pseudotv-ChannelList: makeMixedList
14:40:32 T:2732 M:881831936 DEBUG: script.pseudotv-ChannelList: makeMixedList return ['Animation', 'Comedy', 'Documentary', 'Drama', 'Fantasy', 'Western']
14:40:32 T:2732 M:882843648 DEBUG: script.pseudotv-ChannelConfig: updateListing
14:40:32 T:2732 M:882831360 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName special://profile/playlists/video/Oldies.xsp
14:40:32 T:2732 M:882831360 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName return Oldies
14:40:32 T:2732 M:882831360 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName special://profile/playlists/video/New releases.xsp
14:40:32 T:2732 M:882827264 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName return New releases
14:40:32 T:2732 M:882827264 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName special://profile/playlists/video/English.xsp
14:40:32 T:2732 M:882556928 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName return English TV
14:40:32 T:2732 M:882556928 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName special://profile/playlists/video/Doco entertainment.xsp
14:40:32 T:2732 M:882548736 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName return Doco entertainment
14:40:32 T:2732 M:882548736 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName special://profile/playlists/video/Yvonne movies.xsp
14:40:32 T:2732 M:882544640 DEBUG: script.pseudotv-ChannelConfig: getSmartPlaylistName return Yvonne movies
14:40:33 T:3644 M:882589696 DEBUG: script.pseudotv-FileLock: refreshLocks
14:40:42 T:4796 M:885067776 DEBUG: Previous line repeats 2 times.
14:40:42 T:4796 M:885067776 DEBUG: Thread 4796 terminating (autodelete)
14:40:43 T:4172 M:885153792 DEBUG: Thread 4172 terminating (autodelete)
14:40:45 T:4428 M:885796864 DEBUG: script.pseudotv-FileLock: refreshLocks
14:40:48 T:3252 M:886468608 DEBUG: Thread 3252 terminating
14:40:49 T:4144 M:886468608 DEBUG: script.pseudotv-FileLock: refreshLocks
14:40:49 T:1844 M:886517760 DEBUG: CWinEventsWin32::WndProcWindow is active
14:40:49 T:1844 M:886517760 DEBUG: CWinEventsWin32::WndProcWindow lost focus
14:40:53 T:2468 M:879992832 DEBUG: script.pseudotv-FileLock: refreshLocks
14:40:59 T:1844 M:878329856 DEBUG: Previous line repeats 1 times.
14:40:59 T:1844 M:878329856 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
14:40:59 T:1844 M:878329856 DEBUG: Win32DllLoader::Unload ImageLib.dll
14:41:01 T:4264 M:878624768 DEBUG: script.pseudotv-FileLock: refreshLocks

skin aeon mq3 pre eden

Cheers


- Captainzero - 2012-01-13

My sincerest apologies if this has been answered already, but i have a question...

I am interleaving a channel which has only commercials (funny ones i downloaded) into my regular channels, and it works great! the only problems is the 'coming up next' thingy announces the name of the commercial instead of the tv episode following it. is there any way to tell it to skip announcing the commercial and announce the following ep instead? in other words, to somehow tell the 'coming up next' module to completely ignore the interleaved channel?


- Daavid - 2012-01-13

Captainzero - In the settings you can get it to ignore short videos. This does exactly what you're looking for.


- Captainzero - 2012-01-13

ah fantastic thanks mate Smile


- eg4190 - 2012-01-13

Thanks for creating an amazing add-on! Just had one quick suggestion -- for users with massive libraries, certain channels can take quite a long time to refresh; the channels for mixed Comedy and Drama, in particular, have thousands of entries on my system, all of which seem to be added on refresh by default.

I've already solved this problem on my home system by creating custom smart playlists for most of the channels and limiting them all to 100 entries. A complete channel refresh only takes a couple minutes instead of 15-20 minutes in the default setup, and 100 programs on each channel is still more than enough to last a while without a refresh.

Maybe an option to limit results on all channels to 10/50/100?


- mwkurt - 2012-01-13

eg4190 Wrote:Thanks for creating an amazing add-on! Just had one quick suggestion -- for users with massive libraries, certain channels can take quite a long time to refresh; the channels for mixed Comedy and Drama, in particular, have thousands of entries, all of which seem to be added on refresh by default.

I've already solved this problem on my home system by creating custom smart playlists for most of the channels and limiting them all to 100 entries. A complete channel refresh only takes a couple minutes instead of 15-20 minutes in the default setup, and 100 programs on each channel is still more than enough to last a while without a refresh.

Maybe an option to limit results on all channels to 10/50/100?

Hi..

You may not even want to be doing a full refresh. I don't know your system or what your channels act like, but with the background updating, I really never have to refresh my PseudoTV as it seems the playlists keep getting added onto all of the time while I am watching something.

Mark


- Aenima99x - 2012-01-13

blackjack17 Wrote:I might have a small bug (well it's a pretty big bug but it could be something I have done)

I can't seem to open the channel configuration anymore. It opens part way and then just freezes and I have to kill xbmc. Looking at the log it seems to be one of the smart playlists.

Same problem here. Sad


- User 55003 - 2012-01-16

New PseudoTV skin for the Metropolis fans..
skin.metropolis

EPG:
Image

INFO:
Image


- simplechords - 2012-01-16

is it possible to add streaming web content as a pseudo TV channel?

Basicaly, have it make a channel from a .STRM that XBMC supports.


- Quick2822 - 2012-01-17

simplechords Wrote:Basicaly, have it make a channel from a .STRM that XBMC supports.

I think it's been talked about but nothing set in stone.

You'd have to have something specific to where it's more of a "this channel will always open this strm file, no time schedule"


- Jason102 - 2012-01-17

Quick2822: This is a known issue with the ATV. There is a "fix" a few pages back. It's on my (ever increasing) list of things to do, but I really don't know what's wrong yet.

simplechords: The newest stable-pre will play .strm files that are in your library and have durations. Beyond that, they really break PTV functionality. I do know that this is something many people want, but at the moment I don't know of a way to do it that wouldn't remove the whole point of using this addon.

Steveb: Very nice, I'll make sure it's in the next release. Actually I need to go back and see what is/isn't in the current release.

Can any skinners just say if they have a skin or update that isn't in the current release so I can put it in there?

eg4190: I've struggled with this. I don't really want to limit the results since (in certain cases) you'll never see some shows (if they are beyond the limit, they will never be returned). I do limit the size of a channel, but I get everything that relates to that channel, randomize them (if necessary), and then limit it so that everything has a chance to go in. As mwkurt says, I recommend turning on background updating. It's less obvious as to what's going on, but it should always keep your stuff up-to-date (relatively) without a complete refresh of a channel.

blackjack17: You appear to have a pretty sizable library. This will slow things down, but shouldn't just stop it from loading. By chance do you use channel sharing?


- endustry - 2012-01-17

does pseudo tv work with atv2? I get an error, Unable to populate channels. Please verify that you have scraped media in your library and that you have properly configured channels.

Noob question, sorry.


- Jason102 - 2012-01-17

endustry Wrote:does pseudo tv work with atv2? I get an error, Unable to populate channels. Please verify that you have scraped media in your library and that you have properly configured channels.

Noob question, sorry.

It at least partially works. There are problems with the controls (a fix is on the previous couple pages). In order to get it to start, please verify that you have scraped media in your library and that you have properly configured channels.


- blackjack17 - 2012-01-17

Jason102 Wrote:blackjack17: You appear to have a pretty sizable library. This will slow things down, but shouldn't just stop it from loading. By chance do you use channel sharing?

Jason

Yes I do have quite a big library about 1700 movies, 430 TV shows totaling about 6TB. I don't have channel sharing turned on as everything is running from the one computer and it is the only computer in the house.

My earlier comment said I was on pre eden, but I was actually on Daharma. Since then I have up graded to eden beta but the problem still existed.

I tried uninstalling and reinstalling but looking at the log it kept getting stuck at the smart playlist "yvonnes movies (Comedy/Romance/Drama)". As uninstalling did not delete the channels. Whether psudotv was rebelling at the terrible movies or if it was some other issue who knows.

In the end I uninstalled, then ran a search on the xbmc directory for pseudotv and just deleted everything. Then I reinstalled and it seems to run okay now (almost)

I now have a skin issue with pseudotv (I am unsure whether to ask about here or in the skin forum).

I am running Aeon MQ3 and when you run the channel configuration there is no ok/cancel buttons. When you open the rules the the rules are empty and you can't select any. And finally when you have the epg guide open and you are moving up or down, when a channel reaches the top (or bottom) it seems to flicker diagonally downwards across the screen (I am not explaining this well and I doubt if I could get a screen shot as it is quick.

Cheers for the great programme.


- endustry - 2012-01-17

Jason102 Wrote:It at least partially works. There are problems with the controls (a fix is on the previous couple pages). In order to get it to start, please verify that you have scraped media in your library and that you have properly configured channels.

Sorry I am noob. Just installed xbmc for he first time 2 days ago. Can you please elaborate with scraped media.? My channels are set as default. Is there a tutorial link fot this?