LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-13-2010, 04:08 PM   #1
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Question Command line music player and msn messenger


Anyone know any good command line music player, that can play mp3's and wav files?

Also, anyone know any good command line msn messenger?

I want those two softwares for Slackware 13.0. Lately I've been going crazy about command line softwares. I intend to really abuse of the command line environment. I find it so usefull.

Thanks for sharing.

Cheers,
Dumdadum
 
Old 04-13-2010, 04:10 PM   #2
harryhaller
Member
 
Registered: Sep 2004
Distribution: Slackware-14.2
Posts: 468

Rep: Reputation: Disabled
http://slackbuilds.org/repository/13.0/audio/herrie/
 
Old 04-13-2010, 04:13 PM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
command line player - mpd, with mpc or one of the few ncurses interfaces, rocks

as for cli im, i tried it for a while (alas my children all abandoned im in favour of sms..) and there's an ncurses interface for pidgin, finch, i believe, that worked best for me....

cheers,
 
Old 04-13-2010, 04:14 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
depends, mp3blaster can play mp3s
xmms (not sure about xmms2) has not only command line options but there are curses based interfaces for xmms such as ncxmms or xcplay
http://freshmeat.net/projects/ncxmms/
http://sourceforge.net/projects/xcplay/

as for msn messenger try finch
http://developer.pidgin.im/ should be there somewhere
 
Old 04-13-2010, 05:05 PM   #5
Fidori
LQ Newbie
 
Registered: Oct 2007
Location: Finland
Distribution: Slackware
Posts: 27

Rep: Reputation: 17
Messenger can also be used with bitlbee + irssi.
 
Old 04-13-2010, 05:08 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Finch is part of the pidgin package.
 
Old 04-13-2010, 05:51 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I use mpd+ncmpcpp for music playing (with a bash script that searches recursively through my music folder and creates a playlist for each folder and subfolder). If I want to listen to an entire artist's library, I load the playlist in that artist's top-level directory which includes the songs in each subdirectory (ie album). Or I can load just a single album, or load "everything". I also have subsets of music that are just everything while excluding certain things (with grep -f and an exclude file). It's all automatic and it means I have effectively the same function as dragging an artist/album/etc. in Amarok or similar. For the record I use dvtm within screen to display vifm (my favourite file manager) and ncmpcpp in one screen window, so I can load playlists in vifm and browse within playlists in ncmpcpp. Very handy.

As for IM apps, centerim is the standard I believe.
 
1 members found this post helpful.
Old 04-13-2010, 06:18 PM   #8
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
Quote:
Originally Posted by T3slider View Post
...with a bash script that searches recursively through my music folder and creates a playlist for each folder and subfolder)....
pretty please?

cheers,
 
Old 04-13-2010, 06:31 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
moc was one of the models for my MPD client.
 
Old 04-13-2010, 06:37 PM   #10
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
I use as a music player moc and I'm very glad of it. It uses ncurses so it isn't pure command line player. Depending on the machine you can use multimedia keys to control the work of the player. To use these keys install remoot.
 
Old 04-13-2010, 07:10 PM   #11
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by dumdadum View Post
Anyone know any good command line music player, that can play mp3's and wav files?

Also, anyone know any good command line msn messenger?

I want those two softwares for Slackware 13.0. Lately I've been going crazy about command line softwares. I intend to really abuse of the command line environment. I find it so usefull.

Thanks for sharing.

Cheers,
Dumdadum
centerim seems pretty good as a command-line IM client
 
Old 04-13-2010, 07:32 PM   #12
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by T3slider View Post
I use mpd+ncmpcpp for music playing (with a bash script that searches recursively through my music folder and creates a playlist for each folder and subfolder). If I want to listen to an entire artist's library, I load the playlist in that artist's top-level directory which includes the songs in each subdirectory (ie album). Or I can load just a single album, or load "everything". I also have subsets of music that are just everything while excluding certain things (with grep -f and an exclude file). It's all automatic and it means I have effectively the same function as dragging an artist/album/etc. in Amarok or similar. For the record I use dvtm within screen to display vifm (my favourite file manager) and ncmpcpp in one screen window, so I can load playlists in vifm and browse within playlists in ncmpcpp. Very handy.

As for IM apps, centerim is the standard I believe.
Ok, that looks a little advanced for me. I dont know scripting yet, and am surely not ready to do recursion, I'll make my system freeze.

Maybe I'll try your solution this weekend, when I've got time on my hands.

Right now I've tried the ncurse for xmms (ncxmms) and I tried herrie and I cant even get the song to play. So if anyone cares to help that would be great, but or else I need to figure this out before I start scripting... I'm trying to play .wav files, cause all of my files are .wav, I hate compressed formats.

Thanks for the idea though, it seems to be very powerful when you actually know what you're doing...

Cheers,
Dumdadum
 
Old 04-13-2010, 08:13 PM   #13
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by mrclisdue View Post
pretty please?

cheers,
Don't use the following script without modifying the variables at the top and don't use it if you don't understand what it's doing. It's kind of a customized setup, and it requires that your music is at least fairly well organized. It doesn't necessarily need to be *tagged* well (since everything will be grouped together based on their folder names) but the hierarchy should be "Music folder --> artist --> album [--> sub-album, if such a thing exists]" or at least a setup where it is grouped as you like it. There are certainly more complex scripts out there to do what you want, but if you want simplicity and you have an organized library the following might be enough.

Note that $MUSICDIR/exclude.txt will exclude this music from *all* playlists. I use this for duplicate songs (for example, if an album and a single contains the same version of a song, blacklist one of them or it will be in your playlist twice). $MUSICDIR/punkexclude.txt (since I'm a punk fan) just duplicates the full playlist (Music.m3u in this case) but excludes more. For my exclude list I have exact paths to songs, but it could be paths to directories as well if you want. In my punk exclude file I have something like
Code:
/home/username/Documents/Music/Non-Punk Band
/home/username/Documents/Music/Other non-punk Band
It's just using grep -vF -f so if you understand what that does you can be more bold. In theory you could use the above in the original exclude file as well but of course then that artist won't be in any of your playlists. You could of course expand my script to more genres, and you could use an "include" file instead of an "exclude" one if you want. And if you maintain different directories for each genre then you don't even need to bother with the exclude files at all. I must emphasize that this is a *simple* script but for my simplistic needs it works well -- I can listen to an artist, an album, a genre, or just everything (on random usually).

The symlinks are pretty specific to my usage scenario. I symlink each playlist to the mpd playlist directory (replacing / with _ so it won't try to copy into some non-existant directory within the mpd playlist directory). This will creates links named "_home_user_Documents_Music_artist.m3u" or "_home_user_Documents_Music_artist_album.m3u", for example. You can load these (lengthily-named) playlists manually but I have a small script that loads the playlist from vifm (though any file manager would do) when I launch the regular .m3u playlist within my music directory (it figures out the name of the playlist symlink and tells mpc to load that -- I use mpc in addition to ncmpcpp).

Code:
#!/bin/bash

MUSICDIR=$HOME/Documents/Music
MPDDIR=$HOME/.mpd/playlists
EXCLUDE=$MUSICDIR/exclude.txt
PUNKEXCLUDE=$MUSICDIR/punkexclude.txt
FULLFILE=$MUSICDIR/`echo $(basename "$MUSICDIR").m3u`
PUNKFILE=$MUSICDIR/Punk.m3u

find ${MUSICDIR} -type d | while read DIRNAME
do
	FILENAME="$DIRNAME"/`echo $(basename "$DIRNAME").m3u`
	echo "#EXTM3U" > "$FILENAME"
	find "$DIRNAME" -type f -name "*.mp3" | sort | grep -vF -f ${EXCLUDE} >> "$FILENAME"
	LINKNAME=$MPDDIR/`echo "$FILENAME" | sed 's|/|_|g'`
	ln -sf "$FILENAME" "$LINKNAME"
done

cat ${FULLFILE} | grep -vF -f ${PUNKEXCLUDE} > ${PUNKFILE}
LINKNAME=$MPDDIR/`echo "${PUNKFILE}" | sed 's|/|_|g'`
ln -sf "$PUNKFILE" "$LINKNAME"
Code:
#!/bin/sh

FILENAME=`echo "$@" | sed -e 's|/|_|g' -e 's/.m3u$//'`
mpc clear
mpc load "$FILENAME"
Quote:
Originally Posted by dumdadum
Ok, that looks a little advanced for me. I dont know scripting yet, and am surely not ready to do recursion, I'll make my system freeze.
If you do try your hand at scripting, it can really make your life easier. Anything that deals with recursion or a lot of files/lines or a repetitive task that can be automated, I write small shell scripts. It sure beats doing stuff manually, and in this specific instance it allows me to use console music players with almost as much freedom as full-fledged GUI ones. If Amarok 1.4.x was still included with KDE I would probably still be using it, but in its absence I now have something that is easier to manage.
 
2 members found this post helpful.
Old 04-13-2010, 08:37 PM   #14
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by T3slider View Post

As for IM apps, centerim is the standard I believe.

Yeah centerim is really hot. Thanks. (=

Dumdadum
 
Old 04-13-2010, 08:43 PM   #15
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by T3slider View Post
Don't use the following script without modifying the variables at the top and don't use it if you don't understand what it's doing. It's kind of a customized setup, and it requires that your music is at least fairly well organized. It doesn't necessarily need to be *tagged* well (since everything will be grouped together based on their folder names) but the hierarchy should be "Music folder --> artist --> album [--> sub-album, if such a thing exists]" or at least a setup where it is grouped as you like it. There are certainly more complex scripts out there to do what you want, but if you want simplicity and you have an organized library the following might be enough.

Note that $MUSICDIR/exclude.txt will exclude this music from *all* playlists. I use this for duplicate songs (for example, if an album and a single contains the same version of a song, blacklist one of them or it will be in your playlist twice). $MUSICDIR/punkexclude.txt (since I'm a punk fan) just duplicates the full playlist (Music.m3u in this case) but excludes more. For my exclude list I have exact paths to songs, but it could be paths to directories as well if you want. In my punk exclude file I have something like
Code:
/home/username/Documents/Music/Non-Punk Band
/home/username/Documents/Music/Other non-punk Band
It's just using grep -vF -f so if you understand what that does you can be more bold. In theory you could use the above in the original exclude file as well but of course then that artist won't be in any of your playlists. You could of course expand my script to more genres, and you could use an "include" file instead of an "exclude" one if you want. And if you maintain different directories for each genre then you don't even need to bother with the exclude files at all. I must emphasize that this is a *simple* script but for my simplistic needs it works well -- I can listen to an artist, an album, a genre, or just everything (on random usually).

The symlinks are pretty specific to my usage scenario. I symlink each playlist to the mpd playlist directory (replacing / with _ so it won't try to copy into some non-existant directory within the mpd playlist directory). This will creates links named "_home_user_Documents_Music_artist.m3u" or "_home_user_Documents_Music_artist_album.m3u", for example. You can load these (lengthily-named) playlists manually but I have a small script that loads the playlist from vifm (though any file manager would do) when I launch the regular .m3u playlist within my music directory (it figures out the name of the playlist symlink and tells mpc to load that -- I use mpc in addition to ncmpcpp).

Code:
#!/bin/bash

MUSICDIR=$HOME/Documents/Music
MPDDIR=$HOME/.mpd/playlists
EXCLUDE=$MUSICDIR/exclude.txt
PUNKEXCLUDE=$MUSICDIR/punkexclude.txt
FULLFILE=$MUSICDIR/`echo $(basename "$MUSICDIR").m3u`
PUNKFILE=$MUSICDIR/Punk.m3u

find ${MUSICDIR} -type d | while read DIRNAME
do
	FILENAME="$DIRNAME"/`echo $(basename "$DIRNAME").m3u`
	echo "#EXTM3U" > "$FILENAME"
	find "$DIRNAME" -type f -name "*.mp3" | sort | grep -vF -f ${EXCLUDE} >> "$FILENAME"
	LINKNAME=$MPDDIR/`echo "$FILENAME" | sed 's|/|_|g'`
	ln -sf "$FILENAME" "$LINKNAME"
done

cat ${FULLFILE} | grep -vF -f ${PUNKEXCLUDE} > ${PUNKFILE}
LINKNAME=$MPDDIR/`echo "${PUNKFILE}" | sed 's|/|_|g'`
ln -sf "$PUNKFILE" "$LINKNAME"
Code:
#!/bin/sh

FILENAME=`echo "$@" | sed -e 's|/|_|g' -e 's/.m3u$//'`
mpc clear
mpc load "$FILENAME"

If you do try your hand at scripting, it can really make your life easier. Anything that deals with recursion or a lot of files/lines or a repetitive task that can be automated, I write small shell scripts. It sure beats doing stuff manually, and in this specific instance it allows me to use console music players with almost as much freedom as full-fledged GUI ones. If Amarok 1.4.x was still included with KDE I would probably still be using it, but in its absence I now have something that is easier to manage.

Well now that I have all that info I 1- cant complain, 2- need to get working on this asap and 3- give you feedback.

Thanks,
Dumdadum
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Exaile Music Player - Music Player for GTK+ in openSUSE LXer Syndicated Linux News 0 08-31-2008 12:50 AM
XMMS2 Command line music player rickh Linux - General 1 08-23-2006 03:43 PM
How can i use MSN Messenger or Yahoo Messenger in slack ware ruzvay Linux - Software 8 02-16-2006 12:42 PM
Sending MSN msngr messages from command line saravkrish Linux - Software 5 08-11-2005 06:02 AM
Instant messenger Chat Kopete mandrake linux yahoo and MSN messenger saurya_s Linux - Software 1 11-22-2003 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration