FAQ  •  Register  •  Login

Use Alternative Titles when searching the moviedb.org

<<

maximus2112

Serviio newbie

Posts: 5

Joined: Sun Jun 10, 2012 2:05 am

Post Tue Feb 05, 2013 3:54 am

Use Alternative Titles when searching the moviedb.org

Hello,

I notice that some movie titles in the moviedb.org database contain colons, which is an illegal character in windows. Also, there are many shorter names for movies in the alternative title list. Is there a way to tell serviio to search the alternative title strings? I do not know if they have an api for this, but it would be nice.

How do people currently get movies tagged correctly when there is a colon in the title in the moviedb.org database?

Thanks
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Feb 05, 2013 10:33 am

Re: Use Alternative Titles when searching the moviedb.org

It should already search through alternative names, afaik.
<<

maximus2112

Serviio newbie

Posts: 5

Joined: Sun Jun 10, 2012 2:05 am

Post Thu Feb 07, 2013 3:24 am

Re: Use Alternative Titles when searching the moviedb.org

Hmm, I'm not seeing that. Here is an example (yes I have kids, :-))

From the serviio log file:

2013-02-05 20:48:39,421 INFO [LibraryAdditionsCheckerThread] Added file 'Barbie Fairytopia Mermaidia.m4v' (title: Barbie) to Library

From the moviedb.com database:

http://www.themoviedb.org/movie/13285-b ... lease-info

My only guess here is that we are searching for just English alternative titles since I see a match but its country is set to FR.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Feb 07, 2013 10:31 am

Re: Use Alternative Titles when searching the moviedb.org

maximus2112 wrote:My only guess here is that we are searching for just English alternative titles since I see a match but its country is set to FR.

That might be it - try changing metadata language to French in the console.
<<

maximus2112

Serviio newbie

Posts: 5

Joined: Sun Jun 10, 2012 2:05 am

Post Fri Feb 08, 2013 3:23 am

Re: Use Alternative Titles when searching the moviedb.org

That appears to have worked.

2013-02-08 22:34:06,203 INFO [LibraryAdditionsCheckerThread] Added file 'Barbie Mermaidia.m4v' (title: Barbie Mermaidia) to Library


So do I really have to look at every movie that failed, figure out what language, switch the language to match the title I want,
then, rename the file to force an update? Would it be possible to alter the code to scan alternative titles in all languages, and
maybe add a checkbox to enable/disable this?
<<

maximus2112

Serviio newbie

Posts: 5

Joined: Sun Jun 10, 2012 2:05 am

Post Fri Feb 08, 2013 4:10 am

Re: Use Alternative Titles when searching the moviedb.org

Then again, maybe not. I added to themoviedb an alternative title with country set to usa.

Then a did a force refresh:

2013-02-08 23:21:51,875 INFO [LibraryAdditionsCheckerThread] Added file 'Barbie A Perfect Christmas.m4v' (title: Barbie) to Library

The website shows the matching name: https://www.themoviedb.org/movie/77499- ... -christmas

So, I'm not real sure how the code is matching or not matching the movie title. It would be nice to see the query being sent and then see what is returned.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Feb 08, 2013 12:30 pm

Re: Use Alternative Titles when searching the moviedb.org

maximus2112 wrote:It would be nice to see the query being sent and then see what is returned.

I think you should be able to see this in the detailed log (but not 100% sure).
<<

maximus2112

Serviio newbie

Posts: 5

Joined: Sun Jun 10, 2012 2:05 am

Post Sat Feb 09, 2013 8:21 pm

Re: Use Alternative Titles when searching the moviedb.org

Thanks Zip. Looking at the detailed log and running some more tests, it looks like language does matter.

The query to moviedb says this:

2013-02-09 15:09:44,984 DEBUG [TheMovieDBSourceAdaptor] Retrieving details of movie (movieId = 73456, language = en)

So if you are not getting the correct title of a movie then you need to update moviedb.org with the alternative title to match and then force a refresh.

Any chance of updating the code to ignore language?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Feb 09, 2013 11:20 pm

Re: Use Alternative Titles when searching the moviedb.org

There should be search log entry before this. Language will stay.
<<

servant74

User avatar

Serviio newbie

Posts: 11

Joined: Sat Dec 22, 2012 4:39 pm

Location: Ashland City, TN

Post Sun Jun 02, 2013 6:36 pm

Re: Use Alternative Titles when searching the moviedb.org

I have a movie with both the Primary and Alternative working titles have colons's in them.

Is there a reasonable workaround? Possibly a way to substitute a hyphen for the colon?

Just a thought.

(Running Pro 1.2.1 currently)

Return to Feature requests

Who is online

Users browsing this forum: Google [Bot] and 19 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.