Posts: 50
Joined: Dec 2009
Reputation:
0
2010-01-16, 22:38
(This post was last modified: 2010-01-16, 22:59 by jaygardner.)
well, i spoke to soon - i tried one more permutation which worked. renaming the files (& Show directory) to Law & Order Special Victims Unit results in a tvdb match to Law & Order: Special Victims Unit. The colon was throwing it off, but interestingly it shows up in my xbmc library with the colon intact in the show name.
Moreover, i've tried this in both windows and mac XBMC environments with same results.
Guessing this was tvdb developers simple fix for fact that not all file systems accommodate punctuation (at least : ) in file names?
So currently, mythicalLibrarian is writing "&" as "and", and for this show we need to drop the colon from the name. Is this too much of a corner case to fix?
if so, see if this logic on my end makes sense to you...
another thing i found poking around in tvdb... i guess because there's no exact match for the full Law & Order Special Victims Unit title, ML can't simply get the series ID (it returns a page and a half of various unrelated titles although the title of interest is on the page about 1/4 way down)... but i found that if i searched instead just for Special Victims Unit, it returns just the series info in question.
So perhaps what i need to do is create a show translation where:
Law & Order: Special Victims Unit = Special Victims Unit, let ML process that and find the series, let it write out the files, and then i simply create another script to move and change the names of the files, which effectively drops the colon out of the name, if needed, and ensures the name uses "&" instead of "and". I'd only run this script for this show...
Posts: 1,722
Joined: Sep 2009
Reputation:
20
Let me wrap my head around this for a bit.
Make sure I'm understanding what is going on here... XBMC does not recognize Law and Order. mythicalLibrarian translates Law & Order into Law and Order. XBMC has a problem with Law & Order: Special Victims Unit.
I will come up with some sort of work-around for this. using & in bash is a control charactor.
Posts: 50
Joined: Dec 2009
Reputation:
0
you have it correct... & taking it one more step, xbmc does recognize Law & Order Special Victims Unit (no colon)
thanks, jay
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
outleradam:
I have yet to get this working, but I also havent spent much time with it yet. I am getting errors writing the files over to my nfs mount I believe. I should be able to get that resolved fairly easily.
I had another question. For my xbmc boxes, is there a way to set the username and password? Can I just set that as part of the URL (user:pass@ip)?
tim
Posts: 50
Joined: Dec 2009
Reputation:
0
yes - it did on both my mac and windows xbmc instances.
Posts: 1,722
Joined: Sep 2009
Reputation:
20
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
Posts: 1,722
Joined: Sep 2009
Reputation:
20
2010-01-17, 20:13
(This post was last modified: 2010-01-17, 20:21 by outleradam.)
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.
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
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?
Posts: 110
Joined: Oct 2009
Reputation:
0
tim-
Senior Member
Posts: 110
Thanks, I just updated and have some shows to let it run against tonight.