Solved

Test movie names in Kodi / Openelec

Posted on 2016-10-01
6
50 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 37

Expert Comment

by:Gerwin Jansen
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 37

Expert Comment

by:Gerwin Jansen
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 37

Accepted Solution

by:
Gerwin Jansen 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

Join & Write a Comment

I have a Synology DS212+ NAS.  These are not only great for backup and normal NAS stuff, but also for delivering media throughout your home or LAN via DLNA.  I copied my whole audio collection from iTunes over to the box, but couldn't figure out how…
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…
Viewers will learn the basics of using Ableton Live's advanced sampler instrument, Sampler. Load new Sampler into an empty MIDI track: Select a sample and drop it into sample window in Sampler: Adjust pitch if necessary with Root Key setting: …
Viewers will learn how to include realistic velocity sensitivity to their Sampler instruments. Set the Vol<Vel parameter in the Filter/Global tab to your desired setting: Gather samples of hits of various intensity, and drag/drop into Velocity zon…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now