MPTagThat - The Mediaportal Tag Editor (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #91
    can you please upload 1 of your files to DropBox or any other filehoster and PM me the link?
    I will have a look after the Easter Holidays.
     

    MegaPVR_Rack

    Portal Member
    December 11, 2008
    38
    2
    Home Country
    Italy Italy
    Will try. Anyway I found that MP throws an exception while attempting to read tags from my MPC files (TagReader): data does not begin with identifier. Anything to do with MPTT too?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #93
    Can be. Because Tagreader uses the same library to read the tags.
    Seems that new MPC encoder is maybe producing somethinbg different, than we expect.

    If i see a file, i can tell you why it happens.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #94
    btw. did you encode the file yourselve? If so, please provide me with the version of the MPC encoder.
     

    MegaPVR_Rack

    Portal Member
    December 11, 2008
    38
    2
    Home Country
    Italy Italy
    Yeah I encode all myself using DBpoweramp and MPC codec pack version 9 (type detected: Musepack SV8), should be the latest for DBMC. Multithreading 8CPU
    EDIT: I might check mppenc if that gives different results.
    PS: MP3Tag can read and write both ID3V1 and APEV2 tags in my MPC files.[DOUBLEPOST=1458860137][/DOUBLEPOST]Update: just tried an encoding using mpcenc --quality 10.00, same results. File is invisible to MPTT.
     
    Last edited:

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #96
    ok. found it.
    It seems that they changed the File identifier.

    I have version 1.15 of the encoder and it writes "MP+" as identifier in the beginning of the file.
    The newer encoder writes "MPCK".

    Need to check, if there are more changes than that. Keep you posted.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,954
    5,626
    France - IDF
    Home Country
    France France
    hello @hwahrmann
    do you think, rename script can be set inside MPTahThat , as musicbrainz ?
    i use this:
    Code:
    $setmulti(multiartists2,%artists%,)
    $set(multiartists3,$replace(%multiartists2%,%albumartist%; ,))
    $set(multiartists4,$replace(%multiartists3%,;, &))
    $set(_variousartist,Various Artists)
    $if2(%albumartist%,%artist%)/
    $noop( $if($eq(%albumartist%,%artist%),$if(%date%,$left(%date%,4) - )) )
    $if($or($inmulti(%artists%,%albumartist%),$if($eq(%albumartist%,%_variousartist%),,1)),$if2($if(%originaldate%,$left(%originaldate%,4) - ,),$if(%date%,$left(%date%,4) - ,)))
    $if($ne(%albumartist%,),%album%)
    [$upper(%_extension%)]/
    $if($gt(%totaldiscs%,1),%discnumber%-,)$if($ne(%albumartist%,),$num(%tracknumber%,2) - ,)
    $noop( $if(%_multiartist%,%artist% - ,) )
    $if($and($and(%_multiartist%,$if($in(%artist%,%albumartist%),,1)),$eq(%albumartist%,%_variousartist%)),%artist% - ,)
    %title%
    $if($if($and($if($and($in(%artist%,%albumartist%),%artists%),1,),$if($eq(%artist%,%albumartist%),,1)),,1),, \(feat. %multiartists4%\))
    $if($and($and($ne(%artist%,%albumartist%),$ne(%albumartist%,%_variousartist%)),$not($in(%artist%,%albumartist%))), \(%artist%\),)
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #99
    Sure, i just need maybe a bit of explanation, what those statements above really do. I understand some of the things, but probably not all of them.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,954
    5,626
    France - IDF
    Home Country
    France France
    Sure, i just need maybe a bit of explanation, what those statements above really do. I understand some of the things, but probably not all of them.
    the best is to send you on musicbrainz script explanation.
    https://picard.musicbrainz.org/docs/scripting/
    $noop : is for comment or disable code.

    Code:
    $noop( # set variable read for use in script )
    $setmulti(multiartists2,%artists%,)
    $set(multiartists3,$replace(%multiartists2%,%albumartist%; ,))
    $set(multiartists4,$replace(%multiartists3%,;, &))
    $set(_variousartist,Various Artists)
    
    $noop( check if the %albumartist% name = %artist%, if different it recognize the album as VariousArtist or Compilation)
    $if2(%albumartist%,%artist%)
    $noop( new subfolder)
    /
    $noop( if it s an album "artist  = albumartist" or  "artist  = contain "various artist" name" , date is added before the album name, else only compilation name)
    $if($or($inmulti(%artists%,%albumartist%),$if($eq(%albumartist%,%_variousartist%),,1)),$if2($if(%originaldate%,$left(%originaldate%,4) - ,),$if(%date%,$left(%date%,4) - ,)))
    $if($ne(%albumartist%,),%album%)
    $noop( add extension file to the album name)
    [$upper(%_extension%)]
    $noop( new subfolder)
    /
    $noop( check if the album contain many disc, if yes, the disc number is added before the track number)
    $if($gt(%totaldiscs%,1),$num(%discnumber%,1)-,)$if($ne(%albumartist%,),$num(%tracknumber%,2) - ,)
    $noop(file name : Album of the artist : title track is added else)
    $if($and($and(%_multiartist%,$if($in(%artist%,%albumartist%),,1)),$eq(%albumartist%,%_variousartist%)),%artist% - ,)
    %title%
    $noop(file name: various artiste : artist name + title track  OR Artistalbum + featuring , is keep the title track only as above +"feat. Artist name")
    $if($if($and($if($and($in(%artist%,%albumartist%),%artists%),1,),$if($eq(%artist%,%albumartist%),,1)),,1),, \(feat. %multiartists4%\))
    $if($and($and($ne(%artist%,%albumartist%),$ne(%albumartist%,%_variousartist%)),$not($in(%artist%,%albumartist%))), \(%artist%\),)
    upload_2016-11-29_10-23-12.png
     

    Users who are viewing this thread

    Top Bottom