Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31
  1. #11
    Robin Bowes
    Guest

    Problems using flac2mp3

    OiPenguin wrote:
    > Robin Bowes;271760 Wrote:
    >> It sounds like you have file/permissions issues rather than this being a
    >>
    >> flac2mp3 problem.
    >>
    >> R.

    >
    > All files and folders are read/write/execute. Groupwner should be
    > users:users. Is this inappropriate?


    Your original post was trying to read this file:

    [.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac]

    On what platform are you running?

    It could be that files in .Trash folders have strange permissions, and I
    may need to explicitly exclude folders beginning with "." from the search.

    R.


  2. #12
    Quote Originally Posted by Robin Bowes View Post

    Your original post was trying to read this file:

    [.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac]

    On what platform are you running?

    It could be that files in .Trash folders have strange permissions, and I
    may need to explicitly exclude folders beginning with "." from the search.

    R.
    I'm running Ubuntu 7.10 server edition. I've instructed your script to run in a specific directory (/home/felles/rippet) so I don't understand why a file in .Trash-lars becomes an issues. Furthermore, I can't find a folder named .Trash-lars nor the above file in any other trash-folder.

    Thanks for your efforts.

    Yours,

    Lars

  3. #13
    Robin Bowes
    Guest

    Problems using flac2mp3

    OiPenguin wrote:

    > I'm running Ubuntu 7.10 server edition. I've instructed your script to
    > run in a specific directory (/home/felles/rippet) so I don't understand
    > why a file in .Trash-lars becomes an issues. Furthermore, I can't find a
    > folder named .Trash-lars nor the above file in any other trash-folder.


    The path indicates that .Trash-lars is in /home/felles/rippet

    Try this:

    ls -al /home/felles/rippet

    I suspect you'll see the .Trash-lars folder.

    R.


  4. #14
    Quote Originally Posted by Robin Bowes View Post

    The path indicates that .Trash-lars is in /home/felles/rippet

    Try this:

    ls -al /home/felles/rippet

    I suspect you'll see the .Trash-lars folder.

    R.
    I'm afraid not! Do you have a quick fix? We're going on holiday tomorrow morning and I'm expected to supply the family with sound books and music ;-)

    [code]
    lars@ubuntu-server:~$ ls -al /home/felles/Media/Musikk/Rippet
    total 1208
    drwxrwxrwx 300 felles felles 12288 2008-01-02 16:29 .
    drwxrwxrwx 10 felles felles 4096 2008-02-21 17:03 ..
    drwxrwxrwx 3 felles felles 4096 2007-12-06 20:02 4 Non Blondes
    drwxrwxrwx 3 felles felles 4096 2007-11-23 21:00 ABBA
    drwxrwxrwx 3 felles felles 4096 2007-12-08 20:42 Abba
    ...
    drwxrwxrwx 5 felles felles 4096 2007-12-08 14:35 Young, Neil
    drwxrwxrwx 4 felles felles 4096 2007-12-02 21:27 Zappa, Frank

    [code]

  5. #15
    Robin Bowes
    Guest

    Problems using flac2mp3

    OiPenguin wrote:
    > Robin Bowes;271873 Wrote:
    >>
    >> The path indicates that .Trash-lars is in /home/felles/rippet
    >>
    >> Try this:
    >>
    >> ls -al /home/felles/rippet
    >>
    >> I suspect you'll see the .Trash-lars folder.
    >>
    >> R.

    >
    > I'm afraid not! Do you have a quick fix? We're going on holiday
    > tomorrow morning and I'm expected to supply the family with sound books
    > and music ;-)
    >
    >
    > Code:
    > --------------------
    >
    > lars@ubuntu-server:~$ ls -al /home/felles/Media/Musikk/Rippet
    > total 1208


    /home/felles/Media/Musikk/Rippet is not the same path as
    /home/felles/rippet. You've used a different path practically every time
    you've posted!

    Can you be consistent, and please tell me what is the actual path to
    your music library? And is there a folder ".Trash-lars" folder in there?

    R.


  6. #16
    Quote Originally Posted by Robin Bowes View Post

    /home/felles/Media/Musikk/Rippet is not the same path as
    /home/felles/rippet. You've used a different path practically every time
    you've posted!

    Can you be consistent, and please tell me what is the actual path to
    your music library? And is there a folder ".Trash-lars" folder in there?

    R.
    I'm sorry about the inconsistencies.

    My flac files are in this folder: /home/felles/Media/Musikk/Rippet
    I want the converted files to be in this folder: /home/felles/Media/Flac_som_MP3

    There is no ".Trash-lars", no other trash folder nor any other hidden folder within /home/felles/Media/Musikk/Rippet

    I've tried executing your perl script once again and have reposted the output below.

    Code:
     /bin/flac2mp3-0.3.0rc1/flac2mp3.pl /home/felles/Media/Musikk/Rippet /home/felles/Media/Flac_som_MP3
    Using flac from: /usr/bin/flac
    Using lame from: /usr/bin/lame
    Processing directory: /home/felles/Media/Musikk/Rippet
    6348 flac files found. Sorting...
    Sort complete.
    totalSeconds is 0 - we couldn't find either TOTALSAMPLES or SAMPLERATE!
    setting totalSeconds to 1 to avoid divide by zero error!
    [.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac] Unable to read metadata from FLAC! at /bin/flac2mp3-0.3.0rc1/lib/Audio/FLAC/Header.pm line 94.
    Yours,

    Lars

  7. #17
    Robin Bowes
    Guest

    Problems using flac2mp3

    OiPenguin wrote:

    > There is no ".Trash-lars", no other trash folder nor any other hidden
    > folder within /home/felles/Media/Musikk/Rippet
    >
    > I've tried executing your perl script once again and have reposted the
    > output below.
    >
    >
    > Code:
    > --------------------
    >
    > /bin/flac2mp3-0.3.0rc1/flac2mp3.pl /home/felles/Media/Musikk/Rippet /home/felles/Media/Flac_som_MP3
    > Using flac from: /usr/bin/flac
    > Using lame from: /usr/bin/lame
    > Processing directory: /home/felles/Media/Musikk/Rippet
    > 6348 flac files found. Sorting...
    > Sort complete.
    > totalSeconds is 0 - we couldn't find either TOTALSAMPLES or SAMPLERATE!
    > setting totalSeconds to 1 to avoid divide by zero error!
    > [.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac] Unable to read metadata from FLAC! at /bin/flac2mp3-0.3.0rc1/lib/Audio/FLAC/Header.pm line 94.


    This output contradicts your assertion that there is no .Trash-lars dir
    somewhere in that tree.

    Please try running it with the --debug switch - it will produce lots
    more outupt. Please post that.

    R.


  8. #18
    Quote Originally Posted by Robin Bowes View Post
    This output contradicts your assertion that there is no .Trash-lars dir
    somewhere in that tree.

    Please try running it with the --debug switch - it will produce lots
    more outupt. Please post that.

    R.
    The output is too long to be posted, but I've posted it in full here: http://pastebin.com/m16686c78 No files are written to /home/felles/Media/Flac_som_MP3

    Code:
    lars@ubuntu-server:~$ /bin/flac2mp3-0.3.0rc1/flac2mp3.pl --debug /home/felles/Media/Musikk/Rippet /home/felles/Media/Flac_som_MP3DDDDDDDDD
    Using flac from: /usr/bin/flac
    Using lame from: /usr/bin/lame
    Processing directory: /home/felles/Media/Musikk/Rippet
    $VAR1 = 'Mental Overdrive/Plugged/02. Mental Overdrive - Disto Disco.flac';
    
    6348 flac files found. Sorting...
    Sort complete.
    srcfile: '.Trash-lars/02. Diverse - O jul med din glede.flac'
    destfile: '/home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars/02. Diverse - O jul med din glede.mp3'
    Tags from source file:
    $VAR1 = {
              'MUSICBRAINZ_DISCID' => '.kR3Q1WXi2RseFVDwMrFLPDC6es-',
              'ALBUM' => 'Nissehits 2',
              'TITLE' => 'O jul med din glede',
              'GENRE' => 'Julesanger',
              'TRACKTOTAL' => '18',
              'TRACKNUMBER' => '2',
              'DISCID' => '0b0c1a12',
              'ARTIST' => 'Diverse',
              'VENDOR' => 'reference libFLAC 1.1.4 20070213'
            };
    
    Tags we know how to deal with from source file:
    $VAR1 = {
              'TITLE' => 'O jul med din glede',
              'ALBUM' => 'Nissehits 2',
              'TRACKNUMBER' => '02',
              'GENRE' => 'Julesanger',
              'ARTIST' => 'Diverse',
              'MD5' => '14de87a576ca6050569f82e3d77cd75e'
            };
    
    pf_exists:    0
    pf_tags:      0
    pf_md5:       1
    
    Tags to be written if tags need updating
    
    $VAR1 = {
              'TITLE' => 'O jul med din glede',
              'ALBUM' => 'Nissehits 2',
              'TRACKNUMBER' => '02',
              'GENRE' => 'Julesanger',
              'ARTIST' => 'Diverse',
              'MD5' => '14de87a576ca6050569f82e3d77cd75e'
            };
    
    Transcoding ".Trash-lars/02. Diverse - O jul med din glede.flac"
    "flac" --decode --stdout --silent ".Trash-lars/02. Diverse - O jul med din glede.flac"| "lame" --noreplaygain --preset standard --quiet - "/home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars/AiSpaTx2gA.tmp"
    Exit value from convert command: 0
    pf_exists:    1
    pf_tags:      1
    $::Options{pretend}:   not set
    Writing tags to "/home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars/02. Diverse - O jul med din glede.mp3"
    changedframe is 'TITLE'
    method is TIT2
    Setting TITLE = 'O jul med din glede'
    changedframe is 'ALBUM'
    method is TALB
    Setting ALBUM = 'Nissehits 2'
    changedframe is 'TRACKNUMBER'
    method is TRCK
    Setting TRACKNUMBER = '02'
    changedframe is 'GENRE'
    method is TCON
    Setting GENRE = 'Julesanger'
    changedframe is 'ARTIST'
    method is TPE1
    Setting ARTIST = 'Diverse'
    changedframe is 'MD5'
    method is TXXX
    Setting MD5 = '14de87a576ca6050569f82e3d77cd75e'
    srcfile: '.Trash-lars/03. Diverse - Glade jul.flac'
    destfile: '/home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars/03. Diverse - Glade jul.mp3'
    Tags from source file:
    $VAR1 = {
              'MUSICBRAINZ_DISCID' => '.kR3Q1WXi2RseFVDwMrFLPDC6es-',
              'ALBUM' => 'Nissehits 2',
              'TITLE' => 'Glade jul',
              'GENRE' => 'Julesanger',
              'TRACKTOTAL' => '18',
              'TRACKNUMBER' => '3',
              'DISCID' => '0b0c1a12',
              'ARTIST' => 'Diverse',
              'VENDOR' => 'reference libFLAC 1.1.4 20070213'
            };
    
    Tags we know how to deal with from source file:
    $VAR1 = {
              'TITLE' => 'Glade jul',
              'ALBUM' => 'Nissehits 2',
              'TRACKNUMBER' => '03',
              'GENRE' => 'Julesanger',
              'ARTIST' => 'Diverse',
              'MD5' => '79022d50e58a5d1861dd28a85046222a'
            };
    
    pf_exists:    0
    pf_tags:      0
    pf_md5:       1
    
    Tags to be written if tags need updating
    
    $VAR1 = {
              'TITLE' => 'Glade jul',
              'ALBUM' => 'Nissehits 2',
              'TRACKNUMBER' => '03',
              'GENRE' => 'Julesanger',
              'ARTIST' => 'Diverse',
              'MD5' => '79022d50e58a5d1861dd28a85046222a'
            };
    
    <snip>
    
    
    Transcoding ".Trash-lars/MTV Unplugged in New York/07. Nirvana - Polly.flac"
    "flac" --decode --stdout --silent ".Trash-lars/MTV Unplugged in New York/07. Nirvana - Polly.flac"| "lame" --noreplaygain --preset standard --quiet - "/home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars/MTV Unplugged in New York/gHuSWuF4LG.tmp"
    07. Nirvana - Polly.flac: WARNING, don't have accurate sample count available for WAVE header.
                 Generated WAVE file will have a data chunk size of 0.  Try
                 decoding directly to a file instead.
    
    07. Nirvana - Polly.flac: ERROR while decoding data
                              state = FLAC__STREAM_DECODER_END_OF_STREAM
    Exit value from convert command: 0
    pf_exists:    1
    pf_tags:      1
    $::Options{pretend}:   not set
    Writing tags to "/home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars/MTV Unplugged in New York/07. Nirvana - Polly.mp3"
    changedframe is 'MUSICBRAINZ_ALBUMID'
    method is TXXX
    Setting MUSICBRAINZ_ALBUMID = 'e5edb300-0df6-4089-87ae-ab4bfd20b66d'
    changedframe is 'DATE'
    method is TYER
    Setting DATE = '1994-01-01'
    changedframe is 'ARTIST'
    method is TPE1
    Setting ARTIST = 'Nirvana'
    changedframe is 'MUSICBRAINZ_SORTNAME'
    method is TXXX
    Setting MUSICBRAINZ_SORTNAME = 'Nirvana'
    changedframe is 'ALBUM'
    method is TALB
    Setting ALBUM = 'MTV Unplugged in New York'
    changedframe is 'TITLE'
    method is TIT2
    Setting TITLE = 'Polly'
    changedframe is 'MUSICBRAINZ_TRACKID'
    method is UFID
    Setting MUSICBRAINZ_TRACKID = '122ba116-1b78-4d27-886b-d394077761a2'
    changedframe is 'TRACKNUMBER'
    method is TRCK
    Setting TRACKNUMBER = '07'
    changedframe is 'MUSICBRAINZ_ARTISTID'
    method is TXXX
    Setting MUSICBRAINZ_ARTISTID = '5b11f4ce-a62d-471e-81fc-a69a8278c7da'
    changedframe is 'MD5'
    method is TXXX
    Setting MD5 = '00000000000000000000000000000000'
    srcfile: '.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac'
    destfile: '/home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.mp3'
    [.Trash-lars/Welcome_To_Earth/01._Apoptygma_Berzerk_-_Everything_We_Know_Is_Wrong.flac] Unable to read metadata from FLAC! at /bin/flac2mp3-0.3.0rc1/lib/Audio/FLAC/Header.pm line 94.
    lars@ubuntu-server:~$
    Yours,

    Lars

  9. #19
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    598
    You could also approach the problem from the other direction and try emptying the trash can from the GUI.

    Steve.

  10. #20
    Quote Originally Posted by SteveEast View Post
    You could also approach the problem from the other direction and try emptying the trash can from the GUI.

    Steve.
    The trash can is empty when viewed from the GUI! That's what's peculiar.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •