Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->General: New Users Forum Page: 1  Previous   Next
Missing Feature - DVD audio / video episode track IDs
Author Message
msmith
Registered: September 2, 2010
Posts: 4
Posted:
PM this userDirect link to this postReply with quote
Hello,

I'm evaluating software to catalogue my dvd collection and don't mind paying for something that meets my needs. So far this is the best I've seen except for one thing.

What I want to do is take an XML export and then process that to create VLC playlists with links to the various episodes of TV series stored on my media server. To do this I need to be able to store the track IDs for the video and audio tracks of each episode and maybe one for the 'play all' at the disc level. For example:

dvd://file_path_on_server@1

To play the episode on the disc with video track 1. The problem is I don't think I can store anywhere that this episode has these track numbers on disc.

Is there anywhere in the profile that this info could be stored? If not is there any support for custom fields? Or any other idea of better ways to do this? I could write something from scratch in Python etc. but it's boring work that seems to be 99% done by your software.

Otherwise I'll have to keep this info somewhere else and merge it with the exported data, which will be a bit of a chore and hard to keep in step.

Thanks,

Martin
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
I personally would have no use for such a feature. I don't even use the XML output any more personally. So I don't know if this will work for you. But is the notes field in the XML? If so would listing them in the notes field work?
Pete
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting msmith:
Quote:
Is there anywhere in the profile that this info could be stored? If not is there any support for custom fields? Or any other idea of better ways to do this? I could write something from scratch in Python etc. but it's boring work that seems to be 99% done by your software.

One of the more advanced users of LoadDVD has told me about his efforts which are similar to your needs, I think. What he does, is use the discs to trigger play events, and he uses the LoadDVD scheme for saving and referring to filepaths (which can point to playlists) in the "Notes" field. Furthermore, he stores the chapter and track information in the "Location "field of each disc. LoadDVD and LoadDVD Pro pass all of this information to your own script when the user clicks on a disc icon, so you can do anything you want. I'll ask him if he would mind if I reveal his ID to you.

What LoadDVD Pro has that might also interest you, is a built-in PlayList Manager and embedded player, using VMP. But you can build VLC playlists and cause vlc to be invoked if you want. The Playlits Manager has some menus that will automatically build a playlist for you from a set of files or folders. You can make m3u, wpl or html style playlists.

So, in summary, most people use the following fields to store custom media information: Location, Slot, and Notes mostly, which are Personal Information fields, and you could even use Disc Description Side A and Description Side B if necessary, but you might have to lock them to keep them from being updated during a profile refresh.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
msmith
Registered: September 2, 2010
Posts: 4
Posted:
PM this userDirect link to this postReply with quote
Hmmm, thanks guys. Sounds like there are some possibilties. I'll have another look at this tonight.

Not sure about LoadDVD. The machine where I'd run VLC to watch videos is different to the one where I'd do the cataloguing (it's a Linux machine running MythTV). Hence my initial plan is to initially generate VLC playlist files into the media directories and eventually to have a simple web interface that presents a summary of episode info and links to playback (or ideally if time was no object - modify the DVD player in MythTV to read the episode data).

I'm open to any ideas on how the data is stored and exported though. I started to rough out code using thetvdb.com data some months ago but don't have a lot of time to spend on this and kept putting it to one side. Hence I'm looking for something that already exists and can do the job.

Thanks again,

Martin
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
You're welcome. Thinking about it more ...

Here is the way LoadDVD expects a filepath to be coded:

<a disc=nn href="filepath">Disc Title</a>

LoadDVD searches for these entries in the Notes field. For example, if Disc 1 iicon s clicked, then it will search for <a disc=1 href="filepath" ....    and depending on what is in the Location field, either play the file directly, or pass all the paramters to your script. The parameters passed include everything that is in the Location and Slot fields, as well as several other Profiler fields.

Your script could possibly invoke VLC player with the correct filepath on the Linux side. You will also get the data as part of an XML export, so you can make whatever playlists you like by scanning for the LoadDVD filepaths. I remember seeing some other progams that do this, or used to - I think it was MyMovies for MCE, but I'm not totally sure about that.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
msmith
Registered: September 2, 2010
Posts: 4
Posted:
PM this userDirect link to this postReply with quote
Ok I checked and the notes, locations and slots fields seem to be at the disc rather than episode level?

This would slightly complicate the processing as I'd need a formatting convention for the text to map ids to episodes but it seems like it could be used to at least keep all the data in one place.

Might get chance to do more playing around this weekend.
DVD Profiler Unlimited RegistrantStar ContributorWinston Smith
Don't be discommodious
Registered: March 13, 2007
United States Posts: 21,610
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Addicted2DVD:
Quote:
I personally would have no use for such a feature. I don't even use the XML output any more personally. So I don't know if this will work for you. But is the notes field in the XML? If so would listing them in the notes field work?

Agree with pete, this is not useful at all and outside the scope of the program. It is not at this time designed to be a Media Player, it is designed simply to manage a collection. Users have developed a variety of plug-insfor media player but they are not sanctioned or approved by Profiler, no plug-ins are
ASSUME NOTHING!!!!!!
CBE, MBE, MoA and proud of it.
Outta here

Billy Video
DVD Profiler Unlimited RegistrantStar Contributornorthbloke
Registered: March 15, 2007
Reputation: High Rating
United Kingdom Posts: 5,459
Posted:
PM this userDirect link to this postReply with quote
Quoting msmith:
Quote:
Ok I checked and the notes, locations and slots fields seem to be at the disc rather than episode level?

This would slightly complicate the processing as I'd need a formatting convention for the text to map ids to episodes but it seems like it could be used to at least keep all the data in one place.

Might get chance to do more playing around this weekend.

I think that would be a problem no matter what solution you come up with as currently disc-level is as far as we can go in terms of the online database.
However, if it's that crucial for you, you could always create manual profiles for each episode, which would give you the episode-level fields you want to play with.
msmith
Registered: September 2, 2010
Posts: 4
Posted:
PM this userDirect link to this postReply with quote
Quoting Winston Smith:
Quote:
Quoting Addicted2DVD:
Quote:
I personally would have no use for such a feature. I don't even use the XML output any more personally. So I don't know if this will work for you. But is the notes field in the XML? If so would listing them in the notes field work?

Agree with pete, this is not useful at all and outside the scope of the program. It is not at this time designed to be a Media Player, it is designed simply to manage a collection. Users have developed a variety of plug-insfor media player but they are not sanctioned or approved by Profiler, no plug-ins are


Hmmm. I don't see how storing metadata about DVD episodes is outside the scope of a DVD cataloguer? 

I didn't ask for it to be a player. I already have 2 MythTV frontend machines for watching media on and a big file server where it's all stored. It's not that complicated a setup really. It works great except if I want to watch a particular episode of say SG1 I have to either go through 10 seasons of DVDs or search online to find which one it's on, which is a waste of time.

I need a central repository for a few pieces of DVD episode information that can be exported to my media servers to make my collection more accessible to me.

This software still looks like it's 99% of the way there to what I need and I think I can probably cobble together the rest with some XML transforms. If so then I'll probably buy it as it will save me lots of time messing with python and entering data by hand.

Martin
DVD Profiler Unlimited Registrantmb2009
I think I can, I think
Registered: July 24, 2009
Posts: 20
Posted:
PM this userDirect link to this postReply with quote
Martin: I've looked long and hard to find a program to play DVD's the way I wanted to view them - LoadDVD (and DVDProfiler) is your answer.  I have not moved up to the "Server" scheme for storing my DVD collections, all mine are actual DVD discs stored in a Sony Megadisc machine(s) (2).  My collection is music DVD of concerts.  Every song on every disc is catalogued and can be accessed individually (if the disc permits) and I can listen/watch in any order I wish.  Effectively, I have a DVD JUKE BOX. To do this, you simply create another "disc" in the Profile of the DVD.  Yes, that is a lot of work, but once you have catalogued your collection, then it is not so painful to add to your collection with new purchases.

Inside LoadDVD you can create your own "Program Script" using the word "Play" in the "Location" field.  LoadDVD recognizes this as instructions to "Run" your script of instructions.  Scripts in Ms Visual Basic (.vb or .vbs) or Windows Script File (.wsf) are recognized by LoadDVD.  You will not find an "Out of the Box" program to do exactly what you want - but DVDProfiler and LoadDVD will get you there.  Just remember to drop a donation when you download - you will appreaciate your investment all the more.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Thank mb. I was hoping you would share your scheme for saving the chapter and track info also, and maybe your scripts? Don't want to put you on the spot, but you do have a rather clever process cooked up.

But since msmith doesn't need to acually play from DVD Profiler, maybe a simpler scheme could be something like:

Method 1: Use discs for each major episode, putting the file access and track info into Location and Slot

Method 2: Use the Notes field to store an organized list in URL, XML or Playlist format.

Method 3: Do a search for "EPG" or "Episode Guide" on this site. The author of this tool has a similar data scheme for storing episodes in the Notes field. Maybe that is closer to your needs.

Regardless of the method, a simple XML scan (see Mithi's Tools) can pull the data and reformat - of course if you put the playlist directly in notes, no further formatting would be needed.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,217
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting msmith:
Quote:
Ok I checked and the notes, locations and slots fields seem to be at the disc rather than episode level?

To be exact, they are on profile level.
But you can insert Location and Slot for every Disc in the Profile, so I simply would add 4 fake-discs[1]  for a disc with 4 episodes and populate their L/S-Entries with the necessary data. I this isn't enough, you could even mock up the Disc-Description.

    <Discs>
      <Disc>
        <DescriptionSideA>dvd://file_path_on_server@1</DescriptionSideA>
        <DescriptionSideB>$moreofthesame</DescriptionSideB>
        <Location>dvd://file_path_on_server@1</Location>
        <Slot>einer</Slot>
      </Disc>
      <Disc>
        <DescriptionSideA>dvd://file_path_on_server@2</DescriptionSideA>
        <DescriptionSideB>§foobar</DescriptionSideB>
        <Location>$alottofcharacters</Location>[2]
        <Slot>1234567890</Slot>[2]
      </Disc>
    </Discs>

You even could use the Dual-Layer flag to keep track of the watched episodes 

cya, Mithi


[1] just press "Add Disc" in in the "personalize DVD" dialog, no physical disc has to be present.
[2] Location and Slot can hold numbers and letters, but Slot is limited to 10 characters whereas Location is to 120 which should be enough for most paths

PS and before certain people gettin' a brain aneurysm: it goes without saying that such profiles would be uncontributable as far as Disc-Information are concerned.
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
 Last edited: by Mithi
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting Mithi:
Quote:
Quoting msmith:
Quote:
Ok I checked and the notes, locations and slots fields seem to be at the disc rather than episode level?
To be exact, they are on profile level.
Well this may be a first ...    Mithi, I respectfully disagree. Location and Slot are in fact a property of the "disc" in the database - you see that even in your XML example. The number of discs in a profile, of course varies, including the "fake" ones you add yourself.

@msmith: Slot is also at the disc level. Notes, however, are at the Profile level. You cannot have separate "notes" per disc unless you use one of the tricks Mithi mentioned.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,217
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting mediadogg:
Quote:
Well this may be a first ...    Mithi, I respectfully disagree. Location and Slot are in fact a property of the "disc" in the database

sounded much more coherent in my head 
I thought to have understood that msmith meant "disc-level-profile" not "disc-information inside a profile, regardless which level". The same term for different things is always confusing.

cya, Mithi
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting Mithi:
Quote:
Quoting mediadogg:
Quote:
Well this may be a first ...    Mithi, I respectfully disagree. Location and Slot are in fact a property of the "disc" in the database

sounded much more coherent in my head 
I thought to have understood that msmith meant "disc-level-profile" not "disc-information inside a profile, regardless which level". The same term for different things is always confusing.

cya, Mithi

That's OK man. You are still TOPS in my book. One of the best!!!!
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
    Invelos Forums->General: New Users Forum Page: 1  Previous   Next