Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Sep 2014, 04:27
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
Thanks for spacereplace!
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Wed 03 Aug 2005, 14:55    Post subject:  Thanks for spacereplace!  

GuestToo made this into a dot pup, I believe. And I finally installed it and I must say thanks, thanks, THANKS for this....

I know that this is an incredibly simple program, but I was in the process of renaming over 25gig's worth of mp3's so that I could play them from the commanline... yes, piracy is bad, I know, but my point is that almost every damn one of them had spaces in the name, making it impossible to navigate to them by cd'ing.

So, again, thanks for making this into a dotpup, I never would have thought that it would be so easy...

See what Windows does to people's minds? Linux does the work f o r you, hmmm.....

Exclamation

Cheers
Back to top
View user's profile Send private message 
doopdoop

Joined: 28 Jul 2005
Posts: 48
Location: Magdeburg, Germany

PostPosted: Wed 03 Aug 2005, 15:20    Post subject:  

You can navigate through trees with spaces in the name quite easily if you use tab filename completion. If you do not know this tremendously useful feature here is how it works:

e.g. if you want to cd to /usr/X11R6/share

type withou
Code:

cd /u

without return and press TAB
Your shell will complete it automagically to
Code:

cd /usr/

now type X and again TAB
and it expands to
Code:

cd /usr/X11R6/

then s and TAB ...

If the prefix is not unique, the shell will expand the filename as much as possible. If you press TAB again it will give you a list of matching filenames.

File Name completion also works for spaces
Assume you have a subdirectory "My Music"
Simply type
Code:

cd My

and press TAB.
It expands to
Code:

cd My\ Music


\ is the escaping signal, which means treat the space after that literally and not as a seperator of arguments.
Another way would be to type
Code:

cd "My Music"
Back to top
View user's profile Send private message 
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Wed 03 Aug 2005, 15:31    Post subject:  

Thatš what I am talking about....

usefull, pleasant, wonderfull advice on how to get things done....

Right on, thanks doopdoop! Very Happy

Thatš what makes the Puppy forums such a great place - the people who frequent it Razz
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 03 Aug 2005, 19:31    Post subject: Re: Thanks for spacereplace!  

Bancobusto wrote:
GuestToo made this into a dot pup, I believe

actually, it was Bruce B who made the Spacereplace dotpup

i suspect you don't need to be renaming your mp3's

gxine and xmms can use playlists, for example

if you have a desktop icon, you can select the mp3's you want to play/add to the playlist, and drag them to the desktop shortcut ... you can save the playlist if you like
Back to top
View user's profile Send private message 
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Wed 03 Aug 2005, 19:36    Post subject:  

Embarassed

Sorry Bruce B, let me re-direct my thanks at you...

I find that creating playlist to be quite time-consuming, and without the playlist, Xine doesn't really like files with spaces in their names... About half the time it spits out an error.

Anyhow, I guess that you're right, it's not the most important thing to remame all the files... but it's too late now, as it only took about 3-4 minutes.

Thanks all Laughing
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Wed 03 Aug 2005, 20:58    Post subject: Listening to audio books on mp3 player  

We've strayed off the original topic, but that's OK; I have a burning question that fits here. Smile

Is there a way to combine mp3 tracks, from several CDs, into one folder, and have the tracks play in the correct order on my mp3 player? ('Correct' being defined as 'in the order the CDs were added to the folder.')

I convert books-on-CDs into mp3s, to listen to them on my mp3 player. The problem is, I've seen books that fill 25 CDs, each with from 10 to 20 tracks. None of the ripping-and-mp3-converting programs I've tried is designed to handle this situation. They can't combine the tracks from several CDs into one folder without mixing up the tracks, unless I renumber the tracks manually. On the other hand, my mp3 player can only handle folders one layer deep. So, in order for me to listen to a book, each CD has to be a separate folder, as though it were another album. I would rather combine all the tracks from the book into one folder which contains all the mp3 tracks numbered in sequential order. However, renumbering 150 tracks by hand gets pretty tedious.

Is there a simple way?
Back to top
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Wed 03 Aug 2005, 22:16    Post subject:  

If I understand you correctly, I have a solution.

I came across this when I was using Windows and downloading a lot of "stuff" last year.

You can create a " n o n c o m p r e s s e d " archive (either .rar, .tar, doesnt matter as long as it's not compressed at all. ZERO compression.

For example, say the non-compressed archive is called fav_book.tar.

You would rename it to fav_book.tar.mp3.

Then you could play it on just about any media player.

This is assuming that the tracks are ripped as mp3's.

Oh, and I don't know how to set the compression rate of a tar archive through the command line. But I've done it with a program called File-Roller on Debian, there may be the option to create an uncompressed archive in TKZip, I'm not sure.

Hope that help! Smile

EDIT:

So, to get them to play in the right order, say you had 37 folders that you were gonna create into one archive, you would name each folder a number going up, you know?

01, 02, 03 etc.
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 03 Aug 2005, 22:37    Post subject:  

if you right click the rox window, click Display, Sort by Date ... then right click and click Select All (or select which ones you want, for example, by holding the ctrl key and clicking mp3's to select them) ... then drag the selected mp3's to the xmms shortcut ... it will add the selected mp3's to the playlist, in date order (last added plays first)

you can edit the playlist (click the PL button to see the playlist) ... and save the playlist to a file

if you want the first added to play first, you can right click the xmms playlist and click Sort, Sort List, By Date (first added to the list plays first)
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11068
Location: Arizona USA

PostPosted: Wed 03 Aug 2005, 22:42    Post subject:  

Bancobusto wrote:
[snip]So, to get them to play in the right order, say you had 37 folders that you were gonna create into one archive, you would name each folder a number going up, you know?

01, 02, 03 etc.
Thanks, Bancobusto. (I already number the individual CDs: Name_of_Book CD01; Name_of_Book CD02; etc., so I'm halfway there already.)
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 03 Aug 2005, 22:46    Post subject:  

by the way, i don't seem to have problems with spaces ... the xmms playlist seems to handle them ok
http://tinypic.com/9ve4ut.jpg
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Misc
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0705s ][ Queries: 11 (0.0056s) ][ GZIP on ]