Jump to content


Photo

DVDP2Plex - DVD Profiler Metadata Agent


  • Please log in to reply
40 replies to this topic

#1 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 17 December 2012 - 09:55 PM

This is a primary Metadata agent for importing metadata and covers from DVD Profiler (DVDP) collection to Plex Media Server. It utilises XML-file exported out of the DVDP application and covers stored adjacent to DVDP database. It also supports combining metadata from other Metadata Agents.

If someone doesn't know what DVD Profiler is, here is the official info: http://www.invelos.c...vdpro/Info.aspx
I've been using DVD Profiler for almost 10 years to manage my movie collection of about 1000 dvd, hd-dvd and blu-ray discs which is for most parts ripped to an UnRAID fileserver. From 2005 until today I've been importing the metadata to Meedio and now gradually switching over to Plex. I love what Plex does to my TV-series and music but with movies it struggles since I have lot of movies with localised titles which the IMDB Agent does not recognice. Since I have all my movies anyways in DVD Profiler collection with "perfect" metadata, it makes sense to make use of it. I hope someone else can make use of DVDP2Plex too wink.gif

Any comments, problem reports, questions etc. are more than welcome!

Features

  • Matches movies based on file/foldernames. The name of the media file or the parent folder must match exactly (case-sensitive) the title in DVD Profiler. Supports also DVD-rips with VIDEO_TS subfolders.
  • Imports all possible fields from the DVD Profiler XML-export
  • Imports cover art directly from DVD Profiler file structure
  • Imports IMDB Id from IMDB-userlinks defined in the DVD Profiler
  • Configurable XML-export file and coverdir locations
  • Optionally use DVD Profiler purchase date as the originally available date. This allows you to view your movies in purchase date order with the "Recently released" filter in Plex.
  • Supports Local Media agent for subtitles and other local metadata
  • Combines metadata from other agents (MoviePosterDB, TheMovieDB, OpenSubtitles, Wikipedia). IMDB Id must be available through IMDB-userlinks for this to work.
  • Cleans up the XML-export file on load (changes encoding and removes unsupported formattings tags). The XML-export file can be directly used without any manual steps after the export.
  • International characters supported (Scandinavian etc.)
  • Loads the XML-export file once per session and reloads only if file is modified -> very fast processing for individual movie
  • New in 1.0.1: Maximum collection file size 100MB

Download

Latest version

1.0.1 (2013-05-01)

Attached File  DVDP2Plex (1.0.1).bundle.zip   9.66KB   128 downloads


Previous versions
1.0.0 (2013-02-03)
Attached File  DVDP2Plex (1.0.0).bundle.zip   9.57KB   62 downloads

0.5.0 (2012-12-17)
Attached File  DVDP2Plex (0.5.0).bundle.zip   9.38KB   27 downloads

Installation and setup

  • Unzip the Agent bundle file to Plug-ins folder:
    • Mac, ~/Library/Application Support/Plex Media Server/Plug-ins
    • Windows, Right-click PMS systray icon and select "Open Plug-ins folder" to browse to correct folder
    • Linux, /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins
  • Copy Movies.xml from "...\Plug-ins\DVDP2Plex.bundle\Contents\Installation" to "...\Plug-in Support\Metadata Combination\com.plexapp.agents.dvdp2plex". Plex does not handle correctly manually installed primary Agents with contributing agents so we have to fix that.
  • Restart the Plex Media Server
  • Change the priority of Metadata Agents by re-ordering the Agents in the Plex/Web - Settings - Agents - Movies - DVDP2Plex.
  • In the DVDP2Plex Settings, set the DVD Profiler collection filename with full path (XML-export file)
  • In the DVDP2Plex Settings, set the DVD Profiler cover directory location. This is the "Images" subdirectory located in the DVD Profiler database directory.
  • Add a new Movies section and set DVDP2Plex as the Agent.

Tips

  • If you want to use the DVD Profiler's covers as the first choice, place DVDP2Plex at the top of the list.
  • For the first run disable other agents so you will see which files can be matched with DVD Profiler. Unmatched items will simply not show any data or covers. Especially the case sensitive matching can be tricky to notice (nothing I can do about this since Plex uses lxml-library which does not support case-insensitive xpath-queries...).
  • The IMDB link in DVDP must have the IMDB ID as the next item after the title item in the URL (eg. "http://www.imdb.com/title/tt0948470/").

Troubleshooting
DVDP2Plex writes a lot of information to it's log file located in "...\Logs\PMS Plugin Logs\com.plexapp.agents.dvdp2plex.log"
The content should be quite obvious, when running normally there should be no error messages present. If you have problems getting DVDP2Plex to work, just reply to this thread with the log file attached.

Todo

  • Offline movie support. For those movies not available online, a short video with location/slot information would be displayed. Alternatively a customised skin could display the location info directly.
  • Import custom "unsupported" fields from DVD Profiler and customise a skin to display the information. This could include the location/slot or disc type (DVD, HD-DVD, BR) and others.


#2 roraniel

roraniel

    Dedicated Member

  • Members
  • PipPipPip
  • 148 posts
  • Location: Holly Springs, NC

Posted 28 January 2013 - 12:40 PM

I cannot get this to work. I keep getting an error (See log info below.

I followed you installation instructions exactly.

I placed the xml file (Collection) in my downloads folder and entered it's location exactly as:

C:\Users\Randy\Downloads\Collection.xml

I even made sure I got the path correct by using the copy address function in windows.

I then created a test Movie section and folder and put one movie that is included in the collection xml export. The movie names in DVDP match my file names exactly as I always copy and paste the name in DVDP to name my files.

What am I doing wrong?

2013-01-28 07:31:36,181 (1108) : DEBUG (runtime:655) - Handling request GET /:/plugins/com.plexapp.agents.dvdp2plex/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCnhuczQKbGFuZ3M1Ck1vdmllczEwCm1lZGlhX3R5cGViMHM2Cm1hbnVhbHIxCnM2Cmt3YXJnczYKczE2CmY1YmNhODliMzQ1NWNjN2RzMTcKb3BlblN1YnRpdGxlc0hhc2hzMTQKMjEgSnVtcCBTdHJlZXRzNApuYW1lczU0CkU6JTVDUGxleCU1QzIxJTIwSnVtcCUyMFN0cmVldF8xMDgwcF8yJTJFMzVfMjAxMiUyRW1rdnM4CmZpbGVuYW1lczQwCjBiNjM2MzVkOGM2OGRkOTE5ODRiNGNhYTYyNzc0YzY5ZTMzODFlNjdzOApwbGV4SGFzaHM3CjY1Nzc1NzlzOApkdXJhdGlvbnM0CjEwNDlzMgppZHIwCg__
2013-01-28 07:31:36,184 (1108) : DEBUG (runtime:751) - Found route matching /:/plugins/com.plexapp.agents.dvdp2plex/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCnhuczQKbGFuZ3M1Ck1vdmllczEwCm1lZGlhX3R5cGViMHM2Cm1hbnVhbHIxCnM2Cmt3YXJnczYKczE2CmY1YmNhODliMzQ1NWNjN2RzMTcKb3BlblN1YnRpdGxlc0hhc2hzMTQKMjEgSnVtcCBTdHJlZXRzNApuYW1lczU0CkU6JTVDUGxleCU1QzIxJTIwSnVtcCUyMFN0cmVldF8xMDgwcF8yJTJFMzVfMjAxMiUyRW1rdnM4CmZpbGVuYW1lczQwCjBiNjM2MzVkOGM2OGRkOTE5ODRiNGNhYTYyNzc0YzY5ZTMzODFlNjdzOApwbGV4SGFzaHM3CjY1Nzc1NzlzOApkdXJhdGlvbnM0CjEwNDlzMgppZHIwCg__
2013-01-28 07:31:36,186 (1108) : INFO (agentkit:914) - Searching for matches for {'openSubtitlesHash': 'f5bca89b3455cc7d', 'name': '21 Jump Street', 'filename': 'E:%5CPlex%5C21%20Jump%20Street_1080p_2%2E35_2012%2Emkv', 'plexHash': '0b63635d8c68dd91984b4caa62774c69e3381e67', 'duration': '6577579', 'id': '1049'}
2013-01-28 07:31:36,187 (1108) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:324...adata/1049/tree'
2013-01-28 07:31:36,198 (1108) : INFO (logkit:16) - DVDP2Plex - Search initialised
2013-01-28 07:31:36,200 (1108) : INFO (logkit:16) - DVDP2Plex - ValidatePrefs initialised
2013-01-28 07:31:36,201 (1108) : INFO (logkit:16) - DVDP2Plex - Provided preference values are ok
2013-01-28 07:31:36,201 (1108) : INFO (logkit:16) - DVDP2Plex - ValidatePrefs finished
2013-01-28 07:31:36,203 (1108) : INFO (logkit:16) - DVDP2Plex - Load collection started
2013-01-28 07:31:36,612 (1108) : ERROR (logkit:22) - Unable to load DVDProfiler collection. Exception "<class 'lxml.etree.XMLSyntaxError'>"
2013-01-28 07:31:36,618 (1108) : DEBUG (runtime:851) - Response: [200] str, 320 bytes

#3 roraniel

roraniel

    Dedicated Member

  • Members
  • PipPipPip
  • 148 posts
  • Location: Holly Springs, NC

Posted 28 January 2013 - 12:41 PM

I just tried a different movie with no luck.

#4 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 28 January 2013 - 03:26 PM

I just tried a different movie with no luck.

Based on the log file you are doing everything right but the error would indicate that there is something syntactically wrong with the collection file. Could you perhaps post the beginning of the file including the first movie? I could then compare the export file to my own. The DVD Profiler file contained a lot of "illegal" characters which the script tries to clean out. Perhaps my data did not include all of the possible ones.

You could try exporting only a single movie (the matching one). If that fails too then you could post that collection file here too.

#5 roraniel

roraniel

    Dedicated Member

  • Members
  • PipPipPip
  • 148 posts
  • Location: Holly Springs, NC

Posted 30 January 2013 - 10:06 PM

Based on the log file you are doing everything right but the error would indicate that there is something syntactically wrong with the collection file. Could you perhaps post the beginning of the file including the first movie? I could then compare the export file to my own. The DVD Profiler file contained a lot of "illegal" characters which the script tries to clean out. Perhaps my data did not include all of the possible ones.

You could try exporting only a single movie (the matching one). If that fails too then you could post that collection file here too.


I got an intern to look at it and he found that for some unknown reason there were about a half dozen movie profiles in DVDProfiler that were blowing up the xml file.

We removed the suspect profiles, added them back new, again and presto it works like a charm. Not sure how he tracked down the profiles causing the problem but that is why I pay the technical folks to do their magic.

Now DVDProfiler and PMS are in perfect sync. :)

#6 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 31 January 2013 - 05:45 AM

I got an intern to look at it and he found that for some unknown reason there were about a half dozen movie profiles in DVDProfiler that were blowing up the xml file.

We removed the suspect profiles, added them back new, again and presto it works like a charm. Not sure how he tracked down the profiles causing the problem but that is why I pay the technical folks to do their magic.

Now DVDProfiler and PMS are in perfect sync. :)

Good to hear that you got it working. Do you have IMDB-links set on DVD Profiler's side? If you have, you can utilise other agents (movieDB etc.) to get fan art. The other agents rely on the primary agent finding out the correct IMDB ID and since you cannot have two primary agents (ie. Freebase and DVDP2Plex), DVDP2Plex must provide it. And the only way I could think of was through utilising the User Links functionality.

Btw, I have one small feature I've not released yet; it's an option to use DVD Profiler's purchace date as the release date on Plex side. That is the only way I could "fool" the Plex to show my recently acquired movies first. When you are setting up the Plex for the first time and import your 1000+ movies in there, the Recently added does not show anything meaningfull. I just wish they would implement custom view builder on the HT client or at least the same filtering/sorting as they have on the Plex/web.

#7 roraniel

roraniel

    Dedicated Member

  • Members
  • PipPipPip
  • 148 posts
  • Location: Holly Springs, NC

Posted 31 January 2013 - 06:30 PM

Good to hear that you got it working. Do you have IMDB-links set on DVD Profiler's side? If you have, you can utilise other agents (movieDB etc.) to get fan art. The other agents rely on the primary agent finding out the correct IMDB ID and since you cannot have two primary agents (ie. Freebase and DVDP2Plex), DVDP2Plex must provide it. And the only way I could think of was through utilising the User Links functionality.

Btw, I have one small feature I've not released yet; it's an option to use DVD Profiler's purchace date as the release date on Plex side. That is the only way I could "fool" the Plex to show my recently acquired movies first. When you are setting up the Plex for the first time and import your 1000+ movies in there, the Recently added does not show anything meaningfull. I just wish they would implement custom view builder on the HT client or at least the same filtering/sorting as they have on the Plex/web.


I do have a IMDb link created under Online:My Links, is that what you are referring to?

One small feature request if possible. Could it import custom sort titles? I keep movie series in the proper order (ie, Harry Potter 1-8) in DVD Profiler by using the sort title function. The only thing I had to do after my first import was go into PMS and set those up manually.

#8 roraniel

roraniel

    Dedicated Member

  • Members
  • PipPipPip
  • 148 posts
  • Location: Holly Springs, NC

Posted 31 January 2013 - 06:51 PM

I do have a IMDb link created under Online:My Links, is that what you are referring to?

One small feature request if possible. Could it import custom sort titles? I keep movie series in the proper order (ie, Harry Potter 1-8) in DVD Profiler by using the sort title function. The only thing I had to do after my first import was go into PMS and set those up manually.


Another feature request.

I have some movies that I have .srt subtitle files that I use for playback. The way Plex found and used them was to check the "Local Media Assets (Movies)" check box under preferences for Freebase. Since I switched over to DVDP2Plex, Plex is not finding the .srt files. I assume this means a "Local Media Assets (Movies)' check box needs to be added to preferences for DVDP2Plex?

#9 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 03 February 2013 - 10:42 AM

1.0.0 released
- New: Option for using purchase date as release date (originally available)
- New: Added Local Media as a contributing agent (mainly for subtitles)
- Change: Sort Title is now set but Plex still refuses to accept it

So Sort Title will not be imported since Plex agent framework does not allow it. The code is in place so if Plex someday accepts the import it will not require anything to be changed in DVDP2Plex.

As a workaround you could change your title to be the correct sort title and store the title in the original title field. You would have to rename your mediafiles accordingly. Since the title is only used for matching DVDP title to filename it does matter whether it's the official titleor something you have modified.

#10 roraniel

roraniel

    Dedicated Member

  • Members
  • PipPipPip
  • 148 posts
  • Location: Holly Springs, NC

Posted 03 February 2013 - 06:06 PM

1.0.0 released
- New: Option for using purchase date as release date (originally available)
- New: Added Local Media as a contributing agent (mainly for subtitles)
- Change: Sort Title is now set but Plex still refuses to accept it

So Sort Title will not be imported since Plex agent framework does not allow it. The code is in place so if Plex someday accepts the import it will not require anything to be changed in DVDP2Plex.

As a workaround you could change your title to be the correct sort title and store the title in the original title field. You would have to rename your mediafiles accordingly. Since the title is only used for matching DVDP title to filename it does matter whether it's the official titleor something you have modified.


Cool thanks. Local Media Assets works like a charm for subtitles.

#11 roraniel

roraniel

    Dedicated Member

  • Members
  • PipPipPip
  • 148 posts
  • Location: Holly Springs, NC

Posted 10 February 2013 - 09:47 PM

SOLVED: I noticed that PMS only shows a few crew and cast so I limited the number of crew and cast in the xml file export and bingo it solved the problem. Evidently it does not like all the extra info in the xml file.

Having a problem.

Everything works fine until I reach 283 movies in my xml.file then I get the error as seen below. I have tried about 12 different movies as number 283 and none of them will load the metadata. I go back to 2882 movies and no error.

I have repaired the database several times, create a new database by copying the old one into it, and uninstalled and re-installed DVDP. No satisfaction.

Log:

2013-02-10 16:39:09,322 (1514) : DEBUG (runtime:851) - Response: [200] str, 16 bytes
2013-02-10 16:40:32,496 (8b0) : DEBUG (runtime:655) - Handling request GET /:/plugins/com.plexapp.agents.dvdp2plex/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCnhuczQKbGFuZ3M1Ck1vdmllczEwCm1lZGlhX3R5cGViMHM2Cm1hbnVhbHIxCnM2Cmt3YXJnczcKczE2CmRiM2IzYWUzMTk0MGE5MzlzMTcKb3BlblN1YnRpdGxlc0hhc2hzOQpUaGUgV2F0Y2hzNApuYW1lczQKMjAxMnM0CnllYXJzNTcKRjolNUNNb3ZpZXMlMjAoSEQpJTVDVGhlJTIwV2F0Y2glMjAoMjAxMiklMjAoMTA4MHApJTJFbWt2czgKZmlsZW5hbWVzNDAKNzU2NTcwMWIwMWEzYzlhOTVmN2Q3MDc3YThlOTdiZGMxMGNjZWRmNXM4CnBsZXhIYXNoczcKNjExNjkxMnM4CmR1cmF0aW9uczMKNzg3czIKaWRyMAo_
2013-02-10 16:40:32,496 (8b0) : DEBUG (runtime:751) - Found route matching /:/plugins/com.plexapp.agents.dvdp2plex/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCnhuczQKbGFuZ3M1Ck1vdmllczEwCm1lZGlhX3R5cGViMHM2Cm1hbnVhbHIxCnM2Cmt3YXJnczcKczE2CmRiM2IzYWUzMTk0MGE5MzlzMTcKb3BlblN1YnRpdGxlc0hhc2hzOQpUaGUgV2F0Y2hzNApuYW1lczQKMjAxMnM0CnllYXJzNTcKRjolNUNNb3ZpZXMlMjAoSEQpJTVDVGhlJTIwV2F0Y2glMjAoMjAxMiklMjAoMTA4MHApJTJFbWt2czgKZmlsZW5hbWVzNDAKNzU2NTcwMWIwMWEzYzlhOTVmN2Q3MDc3YThlOTdiZGMxMGNjZWRmNXM4CnBsZXhIYXNoczcKNjExNjkxMnM4CmR1cmF0aW9uczMKNzg3czIKaWRyMAo_
2013-02-10 16:40:32,497 (8b0) : INFO (agentkit:914) - Searching for matches for {'openSubtitlesHash': 'db3b3ae31940a939', 'name': 'The Watch', 'year': '2012', 'filename': 'F:%5CMovies%20(HD)%5CThe%20Watch%20(2012)%20(1080p)%2Emkv', 'plexHash': '7565701b01a3c9a95f7d7077a8e97bdc10ccedf5', 'duration': '6116912', 'id': '787'}
2013-02-10 16:40:32,499 (8b0) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:324...tadata/787/tree'
2013-02-10 16:40:32,507 (8b0) : INFO (logkit:16) - DVDP2Plex - Search initialised
2013-02-10 16:40:32,509 (8b0) : INFO (logkit:16) - DVDP2Plex - ValidatePrefs initialised
2013-02-10 16:40:32,509 (8b0) : ERROR (logkit:22) - DVD2Plex - DVDProfiler cover directory "C:\Users\Randy\Documents\DVD Profiler\Databases\Streaming\Images" does not exist.
2013-02-10 16:40:32,509 (8b0) : INFO (logkit:16) - DVDP2Plex - ValidatePrefs finished
2013-02-10 16:40:32,510 (8b0) : INFO (logkit:16) - DVDP2Plex - Load collection started
2013-02-10 16:40:32,605 (8b0) : ERROR (logkit:22) - Unable to load DVDProfiler collection. Exception "<class 'Framework.exceptions.APIException'>"
2013-02-10 16:40:32,608 (8b0) : DEBUG (runtime:851) - Response: [200] str, 320 bytes

#12 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 11 February 2013 - 06:26 PM

SOLVED: I noticed that PMS only shows a few crew and cast so I limited the number of crew and cast in the xml file export and bingo it solved the problem. Evidently it does not like all the extra info in the xml file.

There is a limit on how many credit items (crew and cast) can be imported to Plex. In my testing I came to a conclusion that the limit is 3. This is currently set in the beginning of the DVDP2Plex agent's code:
DVDP2PLEX_MAXCREDITS = 3

This only limits the number of credit items processed since the rest will be simply ignored by Plex. There shouldn't be any hard limit on the collection file itself. I for sure have far more credits in my own collection and I don't limit the amount on export.

The XML-export on the DVD Profiler seems a bit unstable on your system. You could try some syntax checking tool to see where the problem is. I haven't tried this but it uses the same libxml2 engine as Plex framework so it should fail the same way. It's a plugin for Notepad++: http://sourceforge.n...lease_id=578488

#13 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 02 March 2013 - 08:05 AM

With the latest Plex Media version there is a maximum collection file size limit of ~5MB. The limit used to be larger. I'm working on a way to get around this. If you see the below error in your log, it's most likely due to this problem. You can try to decrease the file size by limiting what's exported, unfortunately this will not help too much unless you have a lot of movies which you can filter out.

2013-03-02 09:33:29,194 (1078) :  ERROR (logkit:22) - DVDP2Plex - Unable to load DVDProfiler collection. Exception "<class 'Framework.exceptions.APIException'>"

 

I've raised the question about the change to this limit here:

http://forums.plexap...mentfromstring/



#14 wunderlong88

wunderlong88

    Member

  • Members
  • PipPip
  • 88 posts

Posted 06 April 2013 - 05:59 PM

I am trying to use the DVD Profile Agent.  I have followed your directions above and DVDP2PLEX now shows up as an option.  I set up a test library and folder - named Movie Test. I set DVDP2PLEX as my primary agent. I placed 3 movies in the Movies Test Folder.  It finds the 3 movies but information.

 

A couple of questions:

You said the names must match exactly of the folder and filename for the movie, case sensitive.  I assume that means I do not put the date as is the procedure for Plex normally.

 

I should have this:

F:\Movie Test\Battle of Britain\Battle of Britain.mkv

not

F:\Movie Test\Battle of Britain (1969)\Battle of Britain (1969).mkv

????

 

Also, in the settings for DVD2Plex I put in the full path name of my database and image folder.  When I went to that window there was a dash "-" in the input space where I was to put my path.  I assume that is supposed to be before my path name so I made it look like this:

-C:\Users\Linda\Documents\DVD Profiler\Databases\Lindas DVD Coll

 

and for images this:

-C:\Users\Linda\Documents\DVD Profiler\Databases\Lindas DVD Coll\Images

 

Is this correct?

 

Also step 5 says:

In the DVDP2Plex Settings, set the DVD Profiler collection filename with full path (XML-export file)

 

Sorry, I am a newbie and do not know what "(XML -export file) is referring to?

 

I have read over your directions and checked steps multiple times.  I'm not sure what I might be doing wrong.

 

TY for any help!

Linda



#15 wunderlong88

wunderlong88

    Member

  • Members
  • PipPip
  • 88 posts

Posted 06 April 2013 - 06:03 PM

Oh, and I forgot to ask about tv shows.  The main reason I wanted to use the DVD Profiler metaagent is because I thought it would help with some of tv show collections.  The main one I am having a problem with is I have 5 volumes of The Looney Tunes Golden Collection.  I am not sure how to use Plex and get it to find the episodes and their information and preferably an easy way.  I have them in my DVDP and it has all the episode info per disc, etc so I thought I would do this.

 

I've just started using Plex and I am unclear if it really matters which library a folder/file goes in except for the fact of which metagent and scanner it will use for that collection.

 

So, my point is will I able to use TV shows like this with DVDP2Plex?



#16 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 07 April 2013 - 08:49 AM

I am trying to use the DVD Profile Agent.  I have followed your directions above and DVDP2PLEX now shows up as an option.  I set up a test library and folder - named Movie Test. I set DVDP2PLEX as my primary agent. I placed 3 movies in the Movies Test Folder.  It finds the 3 movies but information.

 

A couple of questions:

You said the names must match exactly of the folder and filename for the movie, case sensitive.  I assume that means I do not put the date as is the procedure for Plex normally.

 

I should have this:

F:\Movie Test\Battle of Britain\Battle of Britain.mkv

not

F:\Movie Test\Battle of Britain (1969)\Battle of Britain (1969).mkv

????

 

Also, in the settings for DVD2Plex I put in the full path name of my database and image folder.  When I went to that window there was a dash "-" in the input space where I was to put my path.  I assume that is supposed to be before my path name so I made it look like this:

-C:\Users\Linda\Documents\DVD Profiler\Databases\Lindas DVD Coll

 

and for images this:

-C:\Users\Linda\Documents\DVD Profiler\Databases\Lindas DVD Coll\Images

 

Is this correct?

 

Also step 5 says:

In the DVDP2Plex Settings, set the DVD Profiler collection filename with full path (XML-export file)

 

Sorry, I am a newbie and do not know what "(XML -export file) is referring to?

 

I have read over your directions and checked steps multiple times.  I'm not sure what I might be doing wrong.

 

TY for any help!

Linda

DVD2Plex agent relies on the data exported manually from the DVD Profiler using the "Export Profile Database" option located in the File menu. Just select Single file and select a location which is accessible by the Plex Media Server. I have my whole collection database stored on a file server and I store export file called Collection.xml in the root of the database directory. This is just to keep things related to each other in same place, you can freely choose the location. If you have DVD Profiler installed on the same machine as Plex Media Server then you can use any local storage too, eg.

"C:\Users\Linda\Documents\DVD Profiler\Databases\Lindas DVD Coll\Collection.xml"

 

For the DVD2Plex settings you just have remove the dash from the beginning and for the collection file with full path point it to the exported file in the previous step.

 

The file name (or the parent folder name) must match exactly the movie name in the DVD Profiler. You can take a look on the DVD2Plex agent log to see what name it is using for finding a match in the collection export.

 

Oh, and I forgot to ask about tv shows.  The main reason I wanted to use the DVD Profiler metaagent is because I thought it would help with some of tv show collections.  The main one I am having a problem with is I have 5 volumes of The Looney Tunes Golden Collection.  I am not sure how to use Plex and get it to find the episodes and their information and preferably an easy way.  I have them in my DVDP and it has all the episode info per disc, etc so I thought I would do this.

 

I've just started using Plex and I am unclear if it really matters which library a folder/file goes in except for the fact of which metagent and scanner it will use for that collection.

 

So, my point is will I able to use TV shows like this with DVDP2Plex?

I would highly recommend using Plex's own agent for TV shows. It makes use of the theTVDB online database and thus provides perfect metadata for a very wide variety of TV shows. In other words I would not use DVD Profiler for TV Show meta data management at all since this is well working with existing online databases and agents.

 

Just take a look on the naming/organisation guide found in Plex wiki:

http://wiki.plexapp....anization_Guide

 

If you have a lot of existing media I also highly recommend Filebot for batch renaming the files according to the above naming guide:

http://forums.plexap...tle-downloader/



#17 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 01 May 2013 - 08:14 AM

1.0.1 released

- Change: Maximum collection file size 100MB (previous limit 5MB)

 

So there is basicly no limit to the collection file size.



#18 lindend

lindend

    Member

  • Members
  • PipPip
  • 24 posts

Posted 13 September 2013 - 02:26 AM

Install DVD2Plex tonight and tried it on a couple of movies in my collection.  All are working except for the Princess Bride.  I can't get it to pull the info the Collection database.  Log is attached below.  Ideas of how to work around this?

 

Edit: I forgot to mention one thing.  I have both a DVD and BluRay version of Princess Bride.  Not sure if this makes a difference but just in case I thought I'd mention it.

 

2013-09-12 22:16:03,419 (3d5cb70) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.dvdp2plex/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M1Ck1vdmllczEwCm1lZGlhX3R5cGViMHM2Cm1hbnVhbHIxCnM2Cmt3YXJnczYKczE2CmFhODNjNjU4MTgyYTg4NDFzMTcKb3BlblN1YnRpdGxlc0hhc2hzMTgKVGhlIFByaW5jZXNzIEJyaWRlczQKbmFtZXM5MQolMkZjb250ZW50JTJGdmlkZW9zJTJGZHZkJTJGVGhlJTIwUHJpbmNlc3MlMjBCcmlkZSUyRlRoZSUyMFByaW5jZXNzJTIwQnJpZGUlMjAtJTIwcHQxJTJFbXA0czgKZmlsZW5hbWVzNDAKMjkxNWRhNzZlOTJhZjgyMzkxMTA1MTYyNTA3ODVhNzQ0MmE2YWM0MHM4CnBsZXhIYXNoczcKNzUzOTEzNnM4CmR1cmF0aW9uczQKOTAyOHMyCmlkcjAK
2013-09-12 22:16:03,421 (3d5cb70) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.dvdp2plex/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M1Ck1vdmllczEwCm1lZGlhX3R5cGViMHM2Cm1hbnVhbHIxCnM2Cmt3YXJnczYKczE2CmFhODNjNjU4MTgyYTg4NDFzMTcKb3BlblN1YnRpdGxlc0hhc2hzMTgKVGhlIFByaW5jZXNzIEJyaWRlczQKbmFtZXM5MQolMkZjb250ZW50JTJGdmlkZW9zJTJGZHZkJTJGVGhlJTIwUHJpbmNlc3MlMjBCcmlkZSUyRlRoZSUyMFByaW5jZXNzJTIwQnJpZGUlMjAtJTIwcHQxJTJFbXA0czgKZmlsZW5hbWVzNDAKMjkxNWRhNzZlOTJhZjgyMzkxMTA1MTYyNTA3ODVhNzQ0MmE2YWM0MHM4CnBsZXhIYXNoczcKNzUzOTEzNnM4CmR1cmF0aW9uczQKOTAyOHMyCmlkcjAK
2013-09-12 22:16:03,422 (3d5cb70) :  INFO (agentkit:914) - Searching for matches for {'openSubtitlesHash': 'aa83c658182a8841', 'name': 'The Princess Bride', 'filename': '%2Fcontent%2Fvideos%2Fdvd%2FThe%20Princess%20Bride%2FThe%20Princess%20Bride%20-%20pt1%2Emp4', 'plexHash': '2915da76e92af8239110516250785a7442a6ac40', 'duration': '7539136', 'id': '9028'}
2013-09-12 22:16:03,422 (3d5cb70) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/library/metadata/9028/tree'
2013-09-12 22:16:03,428 (3d5cb70) :  INFO (__init__:55) - DVDP2Plex - Search initialised
2013-09-12 22:16:03,428 (3d5cb70) :  INFO (__init__:23) - DVDP2Plex - ValidatePrefs initialised
2013-09-12 22:16:03,429 (3d5cb70) :  INFO (__init__:37) - DVDP2Plex - Provided preference values are ok
2013-09-12 22:16:03,429 (3d5cb70) :  INFO (__init__:40) - DVDP2Plex - ValidatePrefs finished
2013-09-12 22:16:03,429 (3d5cb70) :  INFO (__init__:168) - DVDP2Plex - Load collection started
2013-09-12 22:16:03,430 (3d5cb70) :  INFO (__init__:177) - DVDP2Plex - DVDProfiler collection already loaded and uptodate, no need to reload
2013-09-12 22:16:03,430 (3d5cb70) :  INFO (__init__:256) - DVDP2Plex - Parsed 2 title candidates for filename "/content/videos/dvd/The Princess Bride/The Princess Bride - pt1.mp4" (titles are: The Princess Bride - pt1, The Princess Bride)
2013-09-12 22:16:03,431 (3d5cb70) :  INFO (__init__:219) - DVDP2Plex - Searching for movie with main title = "The Princess Bride - pt1"
2013-09-12 22:16:03,433 (3d5cb70) :  INFO (__init__:223) - DVDP2Plex - Found 0 matching movies for title "The Princess Bride - pt1"
2013-09-12 22:16:03,435 (3d5cb70) :  INFO (__init__:223) - DVDP2Plex - Found 3 matching movies for title "The Princess Bride"
2013-09-12 22:16:03,435 (3d5cb70) :  INFO (__init__:226) - DVDP2Plex - Found total of 3 matching movies
2013-09-12 22:16:03,435 (3d5cb70) :  INFO (__init__:358) - DVDP2Plex - No IMDB Id found in DVD Profiler UserLinks. Contributing agents cannot provide additional data.
2013-09-12 22:16:03,436 (3d5cb70) :  INFO (__init__:83) - DVDP2Plex - Search result: id="027616066848", name="The Princess Bride", year="1987", score="100"
2013-09-12 22:16:03,436 (3d5cb70) :  INFO (__init__:84) - DVDP2Plex - search finished (took 8 msecs)
2013-09-12 22:16:03,438 (3d5cb70) :  DEBUG (runtime:914) - Response: [200] str, 656 bytes


#19 henris

henris

    Dedicated Member

  • Members
  • PipPipPip
  • 151 posts

Posted 13 September 2013 - 10:03 AM

 

Install DVD2Plex tonight and tried it on a couple of movies in my collection.  All are working except for the Princess Bride.  I can't get it to pull the info the Collection database.  Log is attached below.  Ideas of how to work around this?

 

Edit: I forgot to mention one thing.  I have both a DVD and BluRay version of Princess Bride.  Not sure if this makes a difference but just in case I thought I'd mention it.

Can you post the full log (as an attachment)? The log part you provided contains only the search part of the meta data retrieval, the next part should have been where the actual meta data is retrieved. In the log you should see meta data details (movie name, duration, description, actors etc.) for any successful retrieval.



#20 lindend

lindend

    Member

  • Members
  • PipPip
  • 24 posts

Posted 13 September 2013 - 10:21 AM

Can you post the full log (as an attachment)? The log part you provided contains only the search part of the meta data retrieval, the next part should have been where the actual meta data is retrieved. In the log you should see meta data details (movie name, duration, description, actors etc.) for any successful retrieval.

 

That was it.  I upgraded plex last night after I posted this and I think the log was lost.  However, I added another movie (Cars) and this wasn't found either.  Here's that complete log.

 

Note: it was able to find other items so it is working (somewhat).

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users