Solved

Test movie names in Kodi / Openelec

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

Title # Comments Views Activity
Interference in wifi 13 136
Help to import wmv file to Windows Live Movie Maker 18 66
PDF: Display my cards game? 8 154
How do I create a YouTube Channel? 2 134
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…
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.
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
This video will demonstrate how to customize windows, tools, and control bars, and save them as screen sets. Open and resize windows: Customize the toolbar: Customize the control bar: Customize your tool selections: Your screen set is alread…

739 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