XBMC Community Forum
mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: mythicalLibrarian - a tool to build Movie and TV Show library from MythTV recordings (/showthread.php?tid=65644)



- outleradam - 2010-01-17 00:48

^^ Yes that is the way to do it.
Code:
username:password@ip.ad.dre.ss
Ok, I'm going to tr -d ":" for now as ":" is not supported on fat32. I would like to know of any other problems which occour
A direct search of thetvdb.com on their website shows that the special charactor ":" is required, however a API search does not require it. Sweet.

Just taking some more notes.. control charactors that need to be removed : ! ` < > | \ / : ' "


- outleradam - 2010-01-17 05:23

jaygardner Wrote:you have it correct... & taking it one more step, xbmc does recognize Law & Order Special Victims Unit (no colon)

thanks, jay
so just to be sure XBMC WOULD recognize this properly correct?
Code:
/home/mythtv/NAS/Video/shows/Law & Order Special Victims Unit/Law & Order Special Victims Unit.S11E12 (Shadow).mpg



- jaygardner - 2010-01-17 05:36

yes - it did on both my mac and windows xbmc instances.


- outleradam - 2010-01-17 06:04

That's very interesting. I don't understand how. I can't get that to scrape via API to TheTvDb.com. I've sent it a few times and tried a few different things. XBMC must send out part of the file name and then process the resuts for some kind of best match after it receives the list. Very interesting.

Posting new beta to sourceforge


- jaygardner - 2010-01-17 17:30

Thats why i was wondering if its a corner case...

interestingly, thougth, the series name shows up in xbmc with the colon in its name... but if i rename the show files and directory to contain the colon on my myth backend, then xbmc doesn't seem to find anything.

Would a debug log from xbmc help? i could delete the series from my xbmc library, and then do a library update in both cases (names with colons, names w/o colons...)

---
Actually, i just looked at the xbmc debug log and used the query on the web like xbmc did - and it returns differently: try this query:
http://www.thetvdb.com/api/GetSeries.php?seriesname=law%20%26%20order%20special%20victims%20unit&language=en

moreover, putting a colon in that search or %3A doesn't change the results...


- outleradam - 2010-01-17 20:13

Yeah, it's kinda wierd. I think XBMC searches for the first word longer then 3 characters, maybe the first or a string of two which is the longest, which would cause this search to fail as the word is "Order:" not "Order". After the search, it could delete all of the special characters and then proceed as usual with a download of series ID. This may be a fluke with special characters in the first few words.


- tim- - 2010-01-19 05:18

One of my paths has a space in the folder (/home/tim/media/TV Shows) I get errors that file /home/tim/media/TV doesnt exist. I tried escaping it as /home/tim/media/TV\ Shows and get the same result.

How should I enter that into the script?


- outleradam - 2010-01-19 06:13

I just made a few modifications and updated mythicalLibrarian to handle spaces. Get the new version here: https://sourceforge.net/projects/mythicallibrari/files/

Let me know if there are any more problems. This is exactally why I am keeping this in beta stage until it goes 1 month without any problem reports. This is the kind of thing I was trying to catch before it's "complete" and all that's left is guide data adaptability.

Thanks!


- tim- - 2010-01-19 06:26

Thanks, I just updated and have some shows to let it run against tonight.


- tim- - 2010-01-20 05:18

I tried running this manually from the info in doover.sh and I am getting the output in this pastebin

http://pastebin.com/m1c316c1d

I have verified that the path that it should be putting the show in is writable. For some reason it appears to be trying to put it into the movies folder as well.. any help is appreciated.