Multi Part Movies (1 Viewer)

hobbes487

Portal Pro
August 25, 2005
208
3
Home Country
United States of America United States of America
I think this is more of a ANT question, but I thought I would ask here anyway. I have some movies separated into 2 .avi file. How do I add 2 .avi's as one movie into ANT so it will play both when I select the movie in MyFilms?
 

Paranoid Delusion

Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Some programs will recognise CD labels in same folder.

    ie folder name "Hulk", contents of folder "Hulk cd1" and "Hulk cd2"

    See if that will work.
     

    zebons

    Portal Pro
    January 2, 2006
    1,484
    114
    I think this is more of a ANT question, but I thought I would ask here anyway. I have some movies separated into 2 .avi file. How do I add 2 .avi's as one movie into ANT so it will play both when I select the movie in MyFilms?

    - manage multifiles with 3 methods :
    1) like the standard VIDEOS module, in case on monofile (only one file indicated in the ANT Storage File Info item) search for similar names files (differ only with extension cdx or discx)
    2) possible to define many files separated by ';' in the ANT Storage File Info item. Functionality limited by the item's Length (200c)
    3) Create a playlist (.m3u file) with a list of movie files (max 15 files) and give the name of the playlist file in the ANT Storage File Info item

    And thanks to read the wiki please before posting ;-)
     

    ryall

    Portal Member
    November 21, 2006
    20
    0
    Home Country
    New Zealand New Zealand
    Sorry for repeat posting but it seems relevant:

    I've just finished writing a windows importer for Ant, it does filenames, sizes, number of disks etc.

    It also creates playlists for multi-part files too, thanks to zebons for implementing such a great feature. :D

    It's called AVIList, you can find it here
     

    HappyTalk

    Portal Pro
    July 16, 2006
    307
    8
    UK
    Hi there gave your util a quick test, can't quite use it yet but almost. Ran it, browsed to folder, hit save info = msg box "no files found!"
    Msg should warn "Please click search first, select entries to be imported BEFORE clicking save info" took a few mins to guess this.


    re-browse for folder, if file explorer starts at last selected folder, it's a lot easier next time.


    csv file generated should Add field names as first line in csv file, can be unticked so as NOT imported otherwise it's quite hard to match up the headers. When importing csv file users need to ensure delimeter = ; or no dice. Also there's a blank line at top of file so you get an empty entry (unless you untick it).

    HOWEVER this is all by the by as matching up the columns to import into Ant is a total pain so for < 10 files it's quicker to just do it manually. BUT after a bit of testing I realised a much neater solution is to export your file in ants XML format which will require minimal changes to your code. Then users can just do Import|Amc type and select the xml file, much easier. The cool thing is if you set <Movie Number="0" for EVERY entry ant will auto-assign unique numbers on import. You don't need the Checked, or FormattedTitle fields, So an example xml file would be:-

    Code:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <AntMovieCatalog>
     <Catalog>
      <Properties/>
      <Contents>
       <Movie Number="0" Source="M:\Father Ted.s03.06.Kicking Bishop Brennan Up The Arse.avi" OriginalTitle="Father Ted.s03.06.Kicking Bishop Brennan Up The Arse" VideoBitrate="32000" AudioFormat="Fast Multimedia AG DVM (AC3)" AudioBitrate="256" Resolution="640x480" Framerate="25" Size="233" Disks="1"/>
       <Movie Number="0" Source="M:\Father Ted.s03.05.Escape From Victory.avi" OriginalTitle="Father Ted.s03.05.Escape From Victory" VideoBitrate="32000" AudioFormat="Fast Multimedia AG DVM (AC3)" AudioBitrate="256" Resolution="640x480" Framerate="25" Size="232" Disks="1"/>
       <Movie Number="0" Source="M:\Father Ted.s03.08.Going To America.avi" OriginalTitle="Father Ted.s03.08.Going To America" VideoBitrate="32000" AudioFormat="Fast Multimedia AG DVM (AC3)" AudioBitrate="256" Resolution="640x480" Framerate="25" Size="233" Disks="1"/>
      </Contents>
     </Catalog>
    </AntMovieCatalog>

    You could also set the MediaLabel field to the Disk Label (handy for numbered/named DVDR's) which Ant import does and is a necessity for using disks with MesFilms, else it won't be able to prompt you which disk to insert.


    Lastly Ant currently also imports the info for mpeg files and maybe others. If you could add the other main formats supported by MediaPortal (.avi,.mpg,.ogm,.mpeg,.mkv,.wmv,.ifo,.qt,.rm,.mov,.sbe,.dvr-ms,.ts,.dat,.rmvb) and just set the Source, OriginalTitle, Size & Disks fields that are format independant that'd be great. If at a later date you wish to add the embedded file info great. I checked Ant against most of the above formats and here's the embedded stuff it currently gets:-
    .avi = All (VideoBitrate, AudioFormat, AudioBitrate, Resolution, Framerate)
    .asf = All Except VideoBitRate + Framerate
    .ifo (DVD) = All Except VideoBitRate,AudioBitRate,FileSize (from VTS_01_0.IFO, though path needs to be eg M:\VIDEO_TS\VIDEO_TS.IFO)
    .ogm = All except VideoBitRate
    .mkv = All (Import takes 3+ minutes! seems to read through whole file)
    .mov = None
    .mpg = All
    .rmvb = VideoBitrate + AudioBitrate
    .wmv = All Except VideoBitRate + Framerate



    Cheers

    PS - it would be handy if it ADDED new entries to the END of any exisiting ones in the specified xml file, so if you are putting multiple disks in, you can scan them one after t'other into the same xml file you can then import the lot. Currently a new import will wipe any previous entries. Of course you could then just specify your current main ant.xml database, the entries get added, no need to even import! just load up your database. A bit more awkward to code but the more useable and easier it is to use, the more likely people will use it.
     

    ryall

    Portal Member
    November 21, 2006
    20
    0
    Home Country
    New Zealand New Zealand
    HappyTalk:
    All brilliant ideas, and most should be fairly easy to implement. Can't believe I hadn't considered xml :oops: I think I'll also add an option to enable people to choose the path field they want (ala MesFilms). Thanks for the (very helpful) input

    jay_galway:
    I'm working on it, when I get all the rest of this stuff coded I'll release the source as well.
     

    ryall

    Portal Member
    November 21, 2006
    20
    0
    Home Country
    New Zealand New Zealand
    Just did a quick update to AVIList, it adds headers to the .csv file now so AMC can automatically assign fields to the columns. Nothing major, but just makes things a bit easier.
     

    takagari

    Portal Member
    February 17, 2008
    37
    0
    Sorry for repeat posting but it seems relevant:

    I've just finished writing a windows importer for Ant, it does filenames, sizes, number of disks etc.

    It also creates playlists for multi-part files too, thanks to zebons for implementing such a great feature. :D

    It's called AVIList, you can find it here

    used it today. AWESOME!!! program
    i'm haivng errors now with my films, but this program was great, its method for making the list was perfect and you can't beat the way it made a play list for multi-cd movies!
     

    Users who are viewing this thread

    Similar threads

    How does the Timezone flag work? What input is it looking for? I went through the source code and all I saw was "America/New_York." I tried "America/Chicago" but still getting GMT times in the xmltv.xml file. Edit: Got this figured out. In the XmlTv plugin, you need to select "Apply timezone compensation when loading tvguide.xml" and...
    How does the Timezone flag work? What input is it looking for? I went through the source code and all I saw was "America/New_York."...
    NOT A MEDIAPORTAL ISSUE. Using MediaPortal1, Kodi for TV viewing. Today I noticed the TV Guide in Kodi stopped updating. A Google...
    Replies
    120
    Views
    34K
    Didn't know computers are available in Canada's jails... :p
    Didn't know computers are available in Canada's jails... :p
    Hi folks, basically I have this m3u list with links I am trying to scan with the TV configuration tool but all the channels even...
    Replies
    5
    Views
    5K
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because the movie list is splitted into chunks of a specified size and responses for each chunk are concentrated into the result list :) private async Task<string> GenerateResponseWithGPT(string searchQuery...
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because...
    Hi, I'm planning to write a plugin for MediaPortal 2, that supports users to find the right media items with help of AI...
    Replies
    6
    Views
    2K
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    2K
    I had the same issue and found the executable under C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\BasicHome.Editor\TitanEditor.exe Only the shortcut was missing.
    I had the same issue and found the executable under C:\ProgramData\Team...
    Hi all, Not a rant, more a sharing of experience (maybe hoping to get some clarification on which wrong turn I took) It has been...
    Replies
    9
    Views
    3K
    Top Bottom