Precise Puppy 5.4.2.3: Aqualung won't play .MP3 file

Booting, installing, newbie
Post Reply
Message
Author
LaRioja
Posts: 20
Joined: Thu 23 Feb 2012, 14:06
Location: Augsburg/Germany

Precise Puppy 5.4.2.3: Aqualung won't play .MP3 file

#1 Post by LaRioja »

Hello,
I just got some soundtrack that was named something.MP3.
I clicked in ROX on it, Aqualung started but did not play it.
I had to rename and change the ending
to lowercase something.mp3.
Is this meant to be this way or is it a bug in the distro and if so
how can I fix it?
Thanks

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2 Post by don570 »

I believe it is standard practise in Puppy linux to have lower-case
extensions.


If you have programming experience it is easy to write a script to
change an extension from one type to another. Use 'sed' command.
Just change '.MP3' to '.mp3'

Then put the script in the corresponding Rox's 'OpenWith' folder
to make it a right-click menu option.

It's easy to do once you know the method. I would write the script now
but I'm not at home with my computer.

_______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#3 Post by don570 »

Here's a pet that will change a .MP3 file to a .mp3 file with a
right click. There is a warning if there is a file already existing...

However under precise puppy I didn't have any problem with opening files with Aqualung.

Code: Select all

#!/bin/sh
mv -i $@ ${@%.MP3}.mp3  2> /tmp/MP3_error
grep -q "mv: overwrite" /tmp/MP3_error
if [ "$?" -eq  0 ];then
Xdialog  --ok-label "OK" --backtitle "\n\n A file with the same name has been found. "  --msgbox  "The name can not be changed.\n" 0 0

fi
rm -f  /tmp/MP3_error
exit 0
___________________________________
Attachments
MP3_change-1.0.pet
change extension
(621 Bytes) Downloaded 157 times

Post Reply