[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Test movie names in Kodi / Openelec

Posted on 2016-10-01
6
Medium Priority
?
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

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…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
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…

650 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