jeffstified / xbmc-mylibrary

Automatically exported from code.google.com/p/xbmc-mylibrary
0 stars 0 forks source link

Amazon Prime / TVDB Lookup #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is really an Amazon Prime issue because their TV show names aren't done in 
a standard way.

What steps will reproduce the problem?
1. Using Playon and Amazon Prime Video
2. Add following to config.xml: <subfolder name="Amazon VOD/Prime Instant 
Video/TV/Science Fiction/Doctor Who, Season 6 [HD]"  force_series="Doctor Who 
(2005)" force_tvdb="true" recursive="false" download="false" suffix=" (Amazon 
Stream)" max_videos="200" type="episodes" /> 
3. Running XBMC on Windows 7 machine, XBMCMyLibrary on Windows 8 (but 
presumably universal)

What is the expected output? What do you see instead?

XBMC.MyLibrary is pulling Dr. Who (2003) episode info from TVDB, but I think 
its comparing the filenames from Amazon to the first Dr. Who (2003) entry it 
finds on TVDB, but the language isn't the same as the filename.  So when it 
compares episode names from Amazon files, it isn't comparing against English 
episode names at TVDB.  The result is no match so XBMC.MyLibrary puts 
everything as a special.  

Please provide any additional information below.

It could be useful if there was a way to add additional attributes to the 
subfolder tag. For example, id and lid so you can specify the exact show and 
exact language to try to use to compare.

Also would be useful to be able to use regular expressions on a subfolder basis 
so that you could "rename" a file for comparison to the tvdb.

Original issue reported on code.google.com by chris.al...@gmail.com on 31 Mar 2013 at 6:13

GoogleCodeExporter commented 8 years ago
I'd also like to see a way to use regex on the show name and then results from 
that put into the 'force_series' option. For example (excuse my regex):

regex_name="true" name="TV Shows/(.*)Season[0-9]+" force_series=$1

So for something like

TV Shows/Under The Dome Season 1/.... Ends up being mapped to the '$1', 
hopefully 'Under the Dome'. With the 'Season 1' removed.

Original comment by tony.the...@gmail.com on 8 Sep 2013 at 10:57