Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    598
    OK, shotgun approach:

    sudo find / -name '.Trash*'

    Steve.

  2. #22
    Quote Originally Posted by SteveEast View Post
    OK, shotgun approach:

    sudo find / -name '.Trash*'

    Steve.
    Code:
    lars@ubuntu-server:~$ sudo find / -name '.Trash*'
    [sudo] password for lars:
    /home/felles/.Trash-lars
    /home/felles/Media/Flac_som_MP3/.Trash-lars
    /home/felles/Media/Musikk/Rippet/.Trash-lars
    /home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars
    /home/lars/.Trash
    /home/skotten/.Trash-lars
    /media/LACIE/.Trash-lars
    lars@ubuntu-server:~$
    I've emptied the content of /home/felles/Media/Musikk/Rippet/.Trash-lars and deleted .Trash-lars in /home/felles/Media/Flac_som_MP3/ from Midnight commander (sudo mc).

    I've now ran the script again with this result

    Code:
    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:~$ sudo find / -name '.Trash*'
    [sudo] password for lars:
    /home/felles/.Trash-lars
    /home/felles/Media/Flac_som_MP3/.Trash-lars
    /home/felles/Media/Musikk/Rippet/.Trash-lars
    /home/felles/Media/Flac_som_MP3DDDDDDDDD/.Trash-lars
    /home/lars/.Trash
    /home/skotten/.Trash-lars
    /media/LACIE/.Trash-lars
    lars@ubuntu-server:~$ /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
    6338 flac files found. Sorting...
    Sort complete.
    Transcoding "4 Non Blondes/What's Up?/01. 4 Non Blondes - What's Up?.flac"
    Writing tags to "/home/felles/Media/Flac_som_MP3/4 Non Blondes/What's Up?/01. 4 Non Blondes - What's Up?.mp3"
    Transcoding "4 Non Blondes/What's Up?/02. 4 Non Blondes - What's Up? (remix).flac"
    Writing tags to "/home/felles/Media/Flac_som_MP3/4 Non Blondes/What's Up?/02. 4 Non Blondes - What's Up? (remix).mp3"
    Transcoding "4 Non Blondes/What's Up?/03. 4 Non Blondes - Train.flac"
    Writing tags to "/home/felles/Media/Flac_som_MP3/4 Non Blondes/What's Up?/03. 4 Non Blondes - Train.mp3"
    Transcoding "4 Non Blondes/What's Up?/04. 4 Non Blondes - What's Up? (Piano version).flac"
    Writing tags to "/home/felles/Media/Flac_som_MP3/4 Non Blondes/What's Up?/04. 4 Non Blondes - What's Up? (Piano version).mp3"
    Transcoding "A Tribe Called Quest/Anthology Bonus CD/01. A Tribe Called Quest - Bonita Applebum (12" Why? Edit).flac"
    sh: Syntax error: ")" unexpected
    "flac" --decode --stdout --silent "A Tribe Called Quest/Anthology Bonus CD/01. A Tribe Called Quest - Bonita Applebum (12" Why? Edit).flac"| "lame" --noreplaygain --preset standard --quiet - "/home/felles/Media/Flac_som_MP3/A Tribe Called Quest/Anthology Bonus CD/88Lsix7Epf.tmp" failed with exit code 512
    lars@ubuntu-server:~$
    Two folders are created within /home/felles/Media/Flac_som_MP3/ Both with subfolders, the first with mp3 files, the second empty.

    Yours,

    Lars

  3. #23
    Robin Bowes
    Guest

    Problems using flac2mp3

    OiPenguin wrote:
    > Robin Bowes;271970 Wrote:
    >> 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


    I won't need that, because...

    >
    > 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'


    .... I can see here that there's still a .Trash-lars directory.

    Also:

    OiPenguin wrote:
    > I've emptied the content of
    > /home/felles/Media/Musikk/Rippet/.Trash-lars and deleted .Trash-lars
    > in /home/felles/Media/Flac_som_MP3/ from Midnight commander (sudo
    > mc).
    >
    > I've now ran the script again with this result
    >
    >
    > Code: --------------------
    >
    > Transcoding ".Trash-lars/MTV Unplugged in New York/07. Nirvana -
    > Polly.flac"


    There it is again - .Trash-lars.

    Try this:

    # This will delete all files/directories named ".Trash-lars"
    # under the /home/felles/Media/Musikk/Rippet dir
    find /home/felles/Media/Musikk/Rippet \
    -name ".Trash-lars" \
    -exec rm -rf {} \;

    Then run flac2mp3.

    R.


  4. #24
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    598
    Robin, I think that trash folder was left from a previous run. His post now shows what looks more like a real failure. I think it's a track name with a " character in it.

    Steve.

  5. #25
    Quote Originally Posted by Robin Bowes View Post

    There it is again - .Trash-lars.

    Try this:

    # This will delete all files/directories named ".Trash-lars"
    # under the /home/felles/Media/Musikk/Rippet dir
    find /home/felles/Media/Musikk/Rippet \
    -name ".Trash-lars" \
    -exec rm -rf {} \;

    Then run flac2mp3.

    R.
    Some folders are being re-created. I deleted the .Trash-lars folders and the folder /Flac_som_MP3DDDDDDDDD I don't know why it's being created with such a silly name.

    How do I run the above commands? Is it a short script? I'm unable to do that using CLI.

    Yours,

    Lars

  6. #26
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    598
    Just copy/paste the 3 lines starting at "find...".

    Steve.

  7. #27
    Quote Originally Posted by SteveEast View Post
    Just copy/paste the 3 lines starting at "find...".

    Steve.
    The result is an error at the same place as previously.

    Code:
    lars@ubuntu-server:~$ /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
    6338 flac files found. Sorting...
    Sort complete.
    Transcoding "A Tribe Called Quest/Anthology Bonus CD/01. A Tribe Called Quest - Bonita Applebum (12" Why? Edit).flac"
    sh: Syntax error: ")" unexpected
    "flac" --decode --stdout --silent "A Tribe Called Quest/Anthology Bonus CD/01. A Tribe Called Quest - Bonita Applebum (12" Why? Edit).flac"| "lame" --noreplaygain --preset standard --quiet - "/home/felles/Media/Flac_som_MP3/A Tribe Called Quest/Anthology Bonus CD/a2X7YPFNkA.tmp" failed with exit code 512
    lars@ubuntu-server:~$
    We're leaving for the airport in eight hours and I need some sleep. I'll resort to SoundKonverter for a selcted few files, but will do another attempt after our holiday.

    As you no doubt can tell, I'm a definitive newbie, but I learn as I go along and will get a grip of Linux with its CLI and everything one day.

    Thanks to all for great help.

    Yours,

    Lars

  8. #28
    Quote Originally Posted by OiPenguin View Post
    I'll resort to SoundKonverter for a selcted few files, but will do another attempt after our holiday.
    Lars
    Sigh... SoundKonverter appears not to do its job. Currently working at speed 0,0 X. I've tried Sound Converter as well, but that didn't work either. Is there a command for the CLI which will convert four folders for me right away. My last resort now is Wine/EAC but I expect that to take a while.

    Yours,

    Lars

  9. #29
    Senior Member SteveEast's Avatar
    Join Date
    Feb 2006
    Location
    Minneapolis, MN
    Posts
    598
    Your problem now is that the failing track has a " character in the filename. Try renaming the track to remove that character and run again.

    Steve.

  10. #30
    Robin Bowes
    Guest

    Problems using flac2mp3

    OiPenguin wrote:

    > The result is an error at the same place as previously.
    >
    >
    > Code:
    > --------------------
    >
    > lars@ubuntu-server:~$ /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
    > 6338 flac files found. Sorting...
    > Sort complete.
    > Transcoding "A Tribe Called Quest/Anthology Bonus CD/01. A Tribe Called Quest - Bonita Applebum (12" Why? Edit).flac"
    > sh: Syntax error: ")" unexpected
    > "flac" --decode --stdout --silent "A Tribe Called Quest/Anthology Bonus CD/01. A Tribe Called Quest - Bonita Applebum (12" Why? Edit).flac"| "lame" --noreplaygain --preset standard --quiet - "/home/felles/Media/Flac_som_MP3/A Tribe Called Quest/Anthology Bonus CD/a2X7YPFNkA.tmp" failed with exit code 512
    > lars@ubuntu-server:~$
    >


    That's a different error, and is caused by the " in the file name.

    That's a known bug, and one I've not fixed because I've been
    procrastinating over choosing the "best" way to do it.

    You can do something like this:


    Replace these lines:

    my $quotedsrc = $srcfilename;
    my $quoteddest = $destfilename;

    with:

    my ($quotedsrc = $srcfilename) =~ s/"/\\"/g;
    my ($quoteddest = $destfilename) =~ s/"/\\"/g;

    I *will* get round to fixing this properly one day...

    R.


Posting Permissions

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