Solved

Test movie names in Kodi / Openelec

Posted on 2016-10-01
6
122 Views
Last Modified: 2016-10-03
I have spent some time copying movies to an usb disk. Then try to sync Openelec / Kodi with https://www.themoviedb.org the standard way after attaching the USB disk to the Raspberry PI that runs OpenElec. Then I see some movies get missed. I take the USB disk and attach it to my laptop. Rename the movie folders to match a matching movie name, perhaps test manually at www.themoviedb.org and try to sync again at my Raspberry PI with OpenElec.

The point is that this takes time back and forth. I would like to find some tool or app that could check the movie names for me and report a total list of movies that have been resolved and movies that could not be resolved, so I can fix and test again without too much back and forth.

Anyone know any such tool / app?
0
Comment
Question by:itnifl
  • 3
  • 3
6 Comments
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 41824968
>> Then I see some movies get missed
Check both filename and what format is supported by themoviedb. For example "Big Buck Bunny 2008.avi" may work fine where "2008.Big.Buck.Bunny.mp4" may fail.
0
 
LVL 2

Author Comment

by:itnifl
ID: 41825146
That is the way I am doing now. I want a tool that does it automatically and gives me a list of misses and matches. Then I can alter the folder names and run the tool again. A lot easier. Also there is more to movie naming in openelec then just movie naming. There are rules for setting up folder structures and naming of TV-shows also for instance. A tool/app could help me with all that.
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 41825538
Don't know of a tool that does what you require, OpenElec doesn't care about folders as far as I know, you just point to a base folder and tell it that it contains movies or tv series. A basic script that does searches from on the mobiedb site would not be that difficult to create. Using an api call to query tmdb is limited to a certain amount of queries: "Our current limits are 40 requests every 10 seconds and are limited by IP address, not API key.".
0
 
LVL 2

Author Comment

by:itnifl
ID: 41825561
You can select to set the content search to be aware of folder names as movie names.

I think all I need is here:
http://kodi.wiki/view/Adding_videos_to_the_library

They have videoes about what I need at the bottom.

There is some regex going on when OpenElec / Kodi scans media. I would have to know exactly their way of doing it to replicate it in a script the exact same way. Or else results may differ.
0
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 500 total points
ID: 41827025
You probably want to know how the Kodi scraper is working: http://kodi.wiki/view/Scrapers

There are lots of programs out there that perform the lookup and rename for you.
1
 
LVL 2

Author Closing Comment

by:itnifl
ID: 41827489
Wow, yes, thanks :)
0
Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You may or may not be familiar with Kodi (http://www.kodi.tv) the open source software media player and entertainment hub that can be installed on Linux, OSX, Windows, iOS, and Android.  Kodi which started off as X-Box Media Center (XBMC) many years…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
The viewer will learn how to search for and apply Apple Loops, as well as create their own in Logic Pro X. Record a region in the tracks area: Select the region: Go to File > Export > Region to Loop Library: Select the appropriate search terms…
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question