Cue Files, Pure Audio & ac3/dts (1 Viewer)

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    Basically I currently use PureAudio plugin for music and everything is good :)

    I do however have some ac3 and DTS files which I want to add to my collection but they are not tagged (in the past I have manually added these to the database)

    I have seen a solution of creating CUE files but PureAudio does not support these (I have not checked but forums would seem to suggest that)

    So I am thinking that if I add CUE file as a supported extention in MP music but not in PureAudio files will get into database but not be played back via PureAudio?? (not a problem as they are going straight out via SPDIF anyway).

    If this is the case I take it I need to set the internal player to directshow and use AC3File to play the files as BASS implementation in MP won't handle outputting ac3/dts via SPDIF?

    Failing that is there a better way of handling ac3 and dts files? (mainly physically adding them to the database)
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,542
    2,333
    Vienna, Austria
    Austria Austria
    Country flag
    There might be a workaround for that.
    i was playing around with the code last week.

    you need to have single ac3 and dts files. With single i mean, one file per song and not one large ac3 file, which you address via cue.
    You will be able to create a cue file specifying the single file for every title of the album.

    When importing the files, the Cue will be processed and an entry is created in the database.
    And this could then be played back via PureAudio as well. I guess so. need to try it first.

    The above can be done with a small patch to Tagreader, which you can get from me. The only drawback currently is, that i don't get the duration of the song.
    I would need to use MediaInfo for that, since Tagreader doesn't support ac3 / dts.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    you need to have single ac3 and dts files. With single i mean, one file per song and not one large ac3 file, which you address via cue.
    You will be able to create a cue file specifying the single file for every title of the album.
    This is how I have it setup now. I did have this working previously (1.0 I think) by manually adding the ac3/dts files into the database and using directshow player and AC3File. I am guessing that no matter what I need to use this setup and not BASS anyway?

    When importing the files, the Cue will be processed and an entry is created in the database.
    Would this be a single entry for the Cue file or one row per song? If only one row would creating an individual Cue file for each ac3/dts file work?

    This I guess is the bit I am a little confused with. Do I need to have ac3/dts listed as an music extention anywhere or just Cue?

    The above can be done with a small patch to Tagreader, which you can get from me. The only drawback currently is, that i don't get the duration of the song.
    I would need to use MediaInfo for that, since Tagreader doesn't support ac3 / dts.
    What is the patch for? I thought Cue support was working now?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,542
    2,333
    Vienna, Austria
    Austria Austria
    Country flag
    You would need both ac3 and cue amongst the list of supported extensions.

    currently the Cue file support only works for cue files having ONE global FILE statement included.
    With the patch you can have for every single entry, i.e. every song, a FILE statement.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    You would need both ac3 and cue amongst the list of supported extensions.

    currently the Cue file support only works for cue files having ONE global FILE statement included.
    With the patch you can have for every single entry, i.e. every song, a FILE statement.
    So without the patch I could still create a single Cue file for each ac3/dts file?

    In this case I take it that the details of the Cue file are what is added to the database and when played the contents are read and the actual file played?

    With the patch do you get one entry per FILE statement in the Cue file stored in the database? Just thinking about the front end and whether you would see one entry for the album or one per song??
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,542
    2,333
    Vienna, Austria
    Austria Austria
    Country flag
    Forget. won't help you.
    i just checked with PureAudio enabled and you NEED the cue file support which is available within native BASS.
    Won't work with PureAudio, since cue file support has not been implemented there.

    Sorry for wasting your time
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    Sorry for wasting your time
    are you sure you have?

    Got me thinking and surely if I add cue / ac3 and dts as valid extensions in the music section but not in PureAudio then these files will play using the inbuilt player?

    I have been playing around no but no matter what I do I can't get CUE files to import anything into the database :(
    It would appear they work in shares view but not in database mode. I created a cue files like

    Code:
    TITLE "Razor" 
    PERFORMER "Foo Fighters"
    FILE "01. Razor.ac3" WAVE
    TRACK 01 AUDIO
    TITLE "Razor"
    PERFORMER "Foo Fighters"
    INDEX 01 00:00:00
    (appears MP3, BINARY, AIFF and MOTOROLA are valid file types but does not seem to make a difference)

    Am I missing something here or should this at least add an entry to the database?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,542
    2,333
    Vienna, Austria
    Austria Austria
    Country flag
    Ah, i thought it is mandatory for you using PureAudio.
    If you use the default Bass Player for ac3, then it is fine.

    Your Cue file would need to like this:

    Code:
    PERFORMER "Foo Fighters"
    TITLE "The Colour and the Shape"
      TRACK 01 AUDIO
        FILE "01 - Doll.ac3" WAVE
        TITLE "Doll"
        PERFORMER "Foo Fighters"
        INDEX 01 00:00:00
      TRACK 02 AUDIO
        FILE "02 - Monkey Wrench.ac3" WAVE
        TITLE "Monkey Wrench"
        PERFORMER "Foo Fighters"
        INDEX 01 00:00:00
      TRACK 03 AUDIO
        FILE "03 - Hey Johnny Park.ac3" WAVE
        TITLE "Hey, Johnny Park!"
        PERFORMER "Foo Fighters"
        INDEX 01 00:00:00
    The First Performer would be the AlbumArtist, and the first TITLE is the name of the Album.
    And then per Track you have 1 FILE statement.

    I mentioned the cue file patch before. This is needed for the FILE statement per track to be recognized.
    Currently i'm only looking for 1 global File statement, which needs to appear before the first TRACK.
    So we have 1 single file for the complete CUE and the INDEX is used to position within the CUE File for every TRACK.

    Now, in our case we have 1 FILE per TRACK. And the INDEX always starts at 00:00:00.
    And you need the patch for that, otherwise the first TRACK would have "null" as a file and the processing fails.

    One problem exists tough. I use the INDEX statement for calculation of the duration of each track.
    Now, because of every INDEX being 00:00:00 this results in every TRACK having a duration of 0 in the database.
    When you play the song, it shows howevery the correct lengthz, because then BASS will calculate the length within the stream.
    I need to look into using MediaInfo, when processing such a queue file. Need to figure out first how complicated that would be.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    OK had a quick play last night and patched core.dll seemed to be doing the business :D

    Just a pitty CUE files don't have GENRE in.....

    :D
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,542
    2,333
    Vienna, Austria
    Austria Austria
    Country flag
    Don't they?
    i think there's a trick to do it, but don't have my dev pc with me on the business trip.

    i think you can put some sort of remark on te beginning of the file and we will recognize it.
    But i need to verify that in the code once i'm home.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    D Downloading EPG XML file: Installation, configuration support 0
    M [solved] WTV Files does not play on client, MPEG files works well General 1
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    J Help with new grabber file. WebEPG 1
    S [solved] No sound - MKV file MediaPortal 1 Talk 2
    G WTV files General 11
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    azzuro [fixed] [WIP MP2.3] - Audio files not imported to MP MediaPortal 2 18
    HTPCSourcer Media Accessor is flooding logs with files from attached monitor MediaPortal 2 9
    R [will not fix] [MP2-832] MP2.2.2 subtitles not shown for WTV files Submit: Bug Reports 7
    R [solved] Files moved to new location - Easy way to update database? My TVSeries 7
    R Files moved to different location - Easy way to update database? Moving Pictures 2
    thepahakurki Trakt error: Invalid or missing file Trakt 8
    M Keymapping Which File To Edit General Support 4
    F No data in "File Details" Moving Pictures 2
    R [solved] Moving pictures importer wont add files from a removable drive. Is there a work around ? Moving Pictures 8
    R Directx 9.0 June 2010 does not install on Windows 10 x64, ends up with weird failure / no debug file Installation, configuration support 0
    B xml file for perfect player Newcomers Forum 1
    K How to enable autoplaying of the next video files in the folder MediaPortal 1 Talk 2
    B Text files attached to videos Watch / Listen Media 10
    Neoculture Bulk file name update My TVSeries 6
    ge2301 [fixed] [MP2-807] Problem when switching player in PiP mode with audio files MediaPortal 2 32
    C How do I get MediaPortal to separate recording files by channel and month? General 2
    CyberSimian [Bug] Signed/unsigned error in calculation of file timestamps MediaPortal 1 11
    HTPCSourcer [solved] Sometimes persistent issues when playing specific h264 mkv files MediaPortal 2 18
    Similar threads

























    Top Bottom