MP2 - V2.3 Export movie cover art from database to individual folder.jpg files? (2 Viewers)

Digsy

Portal Pro
August 29, 2018
212
22
55
Home Country
Great Britain (UK) Great Britain (UK)
I am in the process of setting up a legacy media player (Mede8er) which I happened to have laying around into my home cinema setup, primarily to give me a non-PC way of playing my collection of ripped DVDs and CDs. All my DVDs are curated in the Movies section of MP2 and have cover art ,etc. CDs likewise for the Music section.
In order for the Mede8er to display cover art for each movie / CD I need to create a file "folder.jpg" in the folder containing the ripped files. For the CDs I was able to use a batch process in MP3Tag to extract the cover art from the MP3 files themselves.
But for the Movies, I know the artwork is stored in the database somehow.

Is there a way to extract the cover art for each DVD directly from the MP2 database and use it to create a folder.jpg? Something that could be automated would be ideal. I believe they are stored as jpgs already so hopefully it would "simply" be a matter of finding the correct image and copy / renaming it to the folder containing the ripped movie.
 

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    3,637
    2,677
    Southampton
    Home Country
    United Kingdom United Kingdom
    I know the artwork is stored in the database somehow.
    Is this true? Because JPG files can be several hundred MBytes in size, I would be surprised if they were stored within the MP2 database. I would instead expect them to exist as separate JPG files in the same folder as the video file to which they relate. Have you looked?

    Unfortunately, all of the MP2 developers have retired from the project, and there is no one left who can help with MP2 issues. Perhaps an MP2 user can help with your question.

    -- from CyberSimian in the UK (MP1 user)
     

    Digsy

    Portal Pro
    August 29, 2018
    212
    22
    55
    Home Country
    Great Britain (UK) Great Britain (UK)
    Hi.

    I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its database".

    Anyway, I found a way to do this which was far from automated but relatively low effort. I found what looked like all the images (CD covers, DVD covers, backgrounds etc all lumped together in C:\ProgramData\Team MediaPortal\MP2-Server\Thumbs\FanArt
    I then copied all the .jpgs to a separate folder and used Irfanview to sort them by width and height, which enabled me to filter out anything which looked like the correct aspect ratio for a DVD cover.
    Then I sorted the files by date, and also sorted my DVD folders by date, and began manually dragging the cover .jpgs into the DVD folders.
    This worked for about 90% of the DVDs but weirdly there were a few which didn't seem to have a cover in the MP2 folder at all (even though one did appear in the Movies menu). I had to find these manually with a Google image search. Turns out the Amazon is good for having small-format DVD cover images.
    I was also helped by the fact that the Mede8er doesn't require that the cover art is called a specific name. If there is a .jpg in the same folder as the vdeo files then it will use it.
     

    Users who are viewing this thread

    Top Bottom