(2013-10-06, 00:45)spanktastic2120 Wrote: (2013-10-06, 00:27)berryfly Wrote: I just tried deleting both the PTV folder and the userdata folder in my /home/user/.xbmc and then rebuilt everything up, reinstalled PTV from the .zip folder I have downloaded from the github.
I readded the media and rescraped from TVDB and Universal Movie Scraper. I can't even get the default channels to work anymore. I am still getting the same error, Unable to Populate Channels.
I am using xbmc's default database, and yes my library is stored on the same machine on a mounted drive I am running XBMC on. I have PTV set to the default settings, but I have tried turning on 'Force channel reset on next start' with no luck.
So the script that throws your error is this one: https://github.com/Jasonra/XBMC-PseudoTV...nelList.py and looking at that as far as i can tell there are only 3 reasons for it to error;
1) nothing in your library has a <duration> or <runtime> tag, if you have .nfo files for all your media and you dont specify those tags, thats why. If you dont have .nfo files then you should almost definitely be getting those tags from the scrapers and this likely isnt your problem
2) for whatever reason, the jsonrpc is returning nothing or timing out. its possible that somehow when PTV is trying to get a list of whats in your library it is being denied access, i have no clue how that would work though. or for whatever reason xbmc is taking a very long time to respond to the jsonrpc and the request times out and PTV moves on.
3) every channel you have set up contains rules for which nothing in your library matches. this is easy to test, make a smart playlist with some simplistic rule, check that when you open it in xbmc you get results, and then assign that smart playlist to be a channel.
Quote:Is it better or worse to use mysql over the xbmc's default database?
The only reason to use it (as far as i know) is if you want to have a central xbmc server and connect to it with other machines in your house so you all share the same database.
So originally I was using SickBeard and CP to grab the XBMC .nfo, .jpg, and .tbn files, and after viewing your post, I realised that the .nfo files didn't have either the <duration> or the <runtime> tag, so I tried removing the .nfo files, and rescraping with TVDB and Universal Movie Scraper. Still no luck. So I ended up uninstalling XBMC with "sudo apt-get --purge remove xbmc" and I deleted the entire .xbmc folder in my home directory. I rebooted and reinstalled XBMC v13. Rescraped everything from TVDB and Universal Movie Scraper, so I should now hopefully be getting that data because I don't have the .nfo files. I am still having the same error, 'unable to populate channels'.
So this brings me to your number 2. it is timing out or having permissions errors. I chmoded my Media folder (for the time being) to 777, assuming that would solve permissions problems. I made sure the group and user of all the media files and data is the same user XBMC is running under. As far as it timing out. It is all happening super quickly, from the time I try to open PTV to the time it returns the error of 'unable to populate channels', so I am thinking it isnt a time out error, or a permissions error?
And number 3, channels are empty with no media matching the channels. Well, I am back using the default channels, and I had the default channels working initially (a post or two back I explained this). So I thought, what the heck, and I deleted all the default channels, and then made a TV Show specific channel, just 1 channel. This definitely would solve the empty playlist problem, because there is only 1 channel now and it is a show I definitely have. Still no luck.
I noticed that XBMC seems to be scraping from TVDB SIGNIFICANTLY faster than it did on my old system. On my old system I didn't have SB or CP collect the .nfo, .tbn, or .jpg data, so I thought it was scraping so fast because I had the .nfo files in my TV Shows mount. Well after deleting all the .nfos and whatnot, and I rescraped, it pulled the TVDB and UMS data very fast still. I mean, this new computer is a hell of a build compared to my previous system. We're talking core 2 duo to i7. But I wouldn't think the system's power would have that much of an effect on scraping.
If I go into the TV Shows or Movies category, all the data is there for the shows, (thumbnails, backgrounds, plot, genre, etc.) I can go and pick movies or tv shows by genre, or by actors, etc. So I think the data is definitely there.
I am lost as to what to try next. I am thinking about just reformatting (it is still a new build, and I wrote an install script so reformatting would be easy peasy) but I would really like to try and figure out what the problem is without having to reformat. Attached is my newest log, there is only 1 channel this time, because it is the channel I made with the individual TV show
Code:
16:23:48 T:140283821438720 NOTICE: -->Python Interpreter Initialized<--
16:23:49 T:140283776554752 NOTICE: Thread BackgroundLoader start, auto delete: false
16:23:49 T:140284293269248 ERROR: GetDirectory - Error getting /../extrafanart/
16:23:50 T:140284274337536 ERROR: GetDirectory - Error getting /PseudoTV/extrafanart/
16:23:50 T:140283776554752 NOTICE: Thread LanguageInvoker start, auto delete: false
16:23:52 T:140284797929216 ERROR: GetDirectory - Error getting /TV Show - Next Aired/extrafanart/
16:23:55 T:140283776554752 NOTICE: -->Python Interpreter Initialized<--
16:23:55 T:140283776554752 NOTICE: Thread LanguageInvoker start, auto delete: false
16:23:56 T:140283776554752 NOTICE: -->Python Interpreter Initialized<--
16:23:56 T:140283776554752 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 1
16:23:56 T:140283776554752 FATAL: script.pseudotv-TVOverlay: FATAL ERROR: Unable to populate channels. Please verify that you have scraped media in your library and that you have properly configured channels.
16:23:57 T:140283776554752 ERROR: script.pseudotv-Active Thread: MainThread
16:23:57 T:140285435565952 ERROR: ClearBlock: Trying to clear non existent block /home/####/.xbmc/addons/XBMC-PseudoTV-stable-pre
16:23:58 T:140283776554752 ERROR: Previous line repeats 1 times.
16:23:58 T:140283776554752 NOTICE: Thread BackgroundLoader start, auto delete: false
16:23:58 T:140284274337536 ERROR: GetDirectory - Error getting /TV Show - Next Aired/extrafanart/
16:23:58 T:140284797929216 ERROR: GetDirectory - Error getting /PseudoTV/extrafanart/
16:23:59 T:140283776554752 NOTICE: Thread LanguageInvoker start, auto delete: false
16:23:59 T:140283776554752 NOTICE: -->Python Interpreter Initialized<--
16:23:59 T:140283776554752 NOTICE: Thread LanguageInvoker start, auto delete: false
16:23:59 T:140283776554752 NOTICE: -->Python Interpreter Initialized<--
16:23:59 T:140283776554752 ERROR: script.pseudotv-ChannelList: Unable to get information about channel 1
16:23:59 T:140283776554752 FATAL: script.pseudotv-TVOverlay: FATAL ERROR: Unable to populate channels. Please verify that you have scraped media in your library and that you have properly configured channels.
I appreciate your help!