Solved

Test movie names in Kodi / Openelec

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

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 37

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

In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Viewers will learn the basics of making and using Impulse Kits in Ableton Live. Load new Impulse into an empty MIDI track: Fill the 8 empty sample slots with drum samples: Adjust parameters to tailor each sound as desired: Proceed to create be…
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…

773 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