Music/Media Players

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: Music/Media Players

Unread post by xaos52 » Sat Sep 14, 2013 10:05 am

deadbeef is excellent for the BBQ
Connected. Take this REPL, brother, and may it serve you well.

Eren
apt-getter
Posts: 75
Joined: Thu Nov 22, 2012 1:47 pm

Re: Music/Media Players

Unread post by Eren » Thu Sep 26, 2013 9:24 pm

Mpd+Ncmpcpp ftw. If I choose something has gtk interface, it would be Sonata.
I killed a man 'cause he killed my goat
I put my hands around his throat
He tried to reason with the sky and the clouds
But it didn't matter, 'cause they can't hear a sound

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Music/Media Players

Unread post by wuxmedia » Thu Oct 24, 2013 6:06 pm

Didn't want to start a new thread for this whinging,
I have finally collated/re-found all my music, now at 130GB it needed mpd, and a server - i was happy letting it run on random, bit annoying being on another computer and needing to skip a song, or mute it. So i realised i could run ncmpdpp over the network, ace. used I think sonata - but it would fail at the sheer volume of songs. nice thing was, the notifications
I just spent a bunch of time on this, after trying
mpdnotify < script should have worked, bit much for what i wanted
Unia's sexy mpd-notify forked program, after 30mb of -dev files it compiled, didn't install - ran but wouldn't connect.
I just wanted the name of the song!
so after wrestling with escape codes (thank you for the grimoire link you posted, bacon)
i present this;

Code: Select all

execute_on_song_change = " notify-send \"`mpc -h 192.168.0.104 current`\""
Ivan, can you tell me more about these global hotkeys? i have some media keys.... i presume i could do something like (in i3) bind X86key next -mpc next?
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
ivanovnegro
Minister of Truth
Posts: 5450
Joined: Wed Oct 17, 2012 11:12 pm

Re: Music/Media Players

Unread post by ivanovnegro » Thu Oct 24, 2013 6:32 pm

Yes, use mpc for example. Bind it to whatever keys or in .xbindkeys or in your preferred window manager if it supports keybinds like i3 or dwm.
I give you the important bits:

mpc toggle - play/pause
mpc play - play
mpc pause - pause
mpc stop - stop
mpc next - next track
mpc prev - previous track


If you have multimedia keys and want to use them, bind them to the mentioned commands. If you have no idea what the "name" of the keys are then use xev or xbindkeys -k.

An example for volume from my .xbindkeysrc:

Code: Select all

"amixer -q set Master 1%- unmute"
  XF86AudioLowerVolume
"amixer -q set Master 1%+ unmute"
  XF86AudioRaiseVolume
If you want more, just man mpc and look at the Arch Wiki.
Last edited by ivanovnegro on Thu Oct 24, 2013 6:36 pm, edited 3 times in total.
Reason: Typos

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Music/Media Players

Unread post by machinebacon » Thu Oct 24, 2013 6:42 pm

wux: what ivan wrote

about notifications: actually dunst (see repos) should notify when songs change in mpd. tried already?
..gnutella..

User avatar
ivanovnegro
Minister of Truth
Posts: 5450
Joined: Wed Oct 17, 2012 11:12 pm

Re: Music/Media Players

Unread post by ivanovnegro » Thu Oct 24, 2013 6:47 pm

^ Exactly. I am not using it, I went no-notifications but it is a great little daemon.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Music/Media Players

Unread post by machinebacon » Thu Oct 24, 2013 6:57 pm

sudo apt-get install no-notifications
....
..
......!!

ah cool, it's already installed :D
..gnutella..

User avatar
ivanovnegro
Minister of Truth
Posts: 5450
Joined: Wed Oct 17, 2012 11:12 pm

Re: Music/Media Players

Unread post by ivanovnegro » Thu Oct 24, 2013 7:03 pm

^ Damn, I had to laugh. :D

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Music/Media Players

Unread post by wuxmedia » Thu Oct 24, 2013 7:40 pm

^ I dunno, dunst was already on Honey... didn't notice it doing anything - I installed notify-send to test it out.
you know i'm not the smartest linux user, but it usually gets done, one way or another.
xev or xbindkeys -k.
thanks Ivan, that's what I needed
yes, dkeg already had the amixer keybinds set, although in this case i will bind the keys remotely
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Music/Media Players

Unread post by wuxmedia » Thu Oct 24, 2013 7:57 pm

Everything works perfectly thanks guys.
look how fucked the media keys are on this cheap keyboard!

Code: Select all

###########-REMOTE MPD CONTROL ###

    bindsym XF86AudioPlay           exec mpc -h 192.168.0.104 toggle 
    bindsym XF86AudioStop           exec mpc -h 192.168.0.104 stop 
    bindsym XF86AudioNext           exec mpc -h 192.168.0.104 next 
    bindsym XF86AudioLowerVolume    exec mpc -h 192.168.0.104 prev 
    bindsym XF86AudioRaiseVolume    exec mpc -h 192.168.0.104 volume -3
    bindsym XF86Calculator          exec mpc -h 192.168.0.104 volume +3
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
ivanovnegro
Minister of Truth
Posts: 5450
Joined: Wed Oct 17, 2012 11:12 pm

Re: Music/Media Players

Unread post by ivanovnegro » Thu Oct 24, 2013 9:10 pm

wuxmedia wrote:^ I dunno, dunst was already on Honey... didn't notice it doing anything - I installed notify-send to
Maybe put dunst into your autostart or .xinitrc and copy the dunstrc to your home folder from /etc or something and of course man dunst to configure it properly. :)

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Music/Media Players

Unread post by wuxmedia » Fri Oct 25, 2013 12:50 am

thanks, I did all that.
works (worked) fine
I meant there was no programs giving it any notifications, no NM - there wasn't anything for it -to- do
I just forgot how to send dunst (or any notifier) messages.
quite like the vanilla look.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: Music/Media Players

Unread post by bones » Thu Jan 15, 2015 2:07 pm

Time to revisit this thread with all the music (granted, YouTube) flying around? I think so!

Yeesh, seriously, bones?: http://linuxbbq.org/bbs/viewtopic.php?f=33&t=578#p7539 :P

Nowadays, mostly mpg123, moc, and recently I've been trying cmus.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Music/Media Players

Unread post by dkeg » Thu Jan 15, 2015 2:10 pm

I'm still happy with cmus. That is my go to music player. Sometimes mps/pms.

Work hard; Complain less

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: Music/Media Players

Unread post by Dr_Chroot » Thu Jan 15, 2015 3:39 pm

For the most part I now use either moc or mpg321; I mostly just choose on a whim ;) I got sick and tired of the bloat that mpd/ncmpcpp brought along for the ride, so I have been trying to find alternatives to scrobble from. mocp + lastfmsubmitd works swell, at least so far.
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
ivanovnegro
Minister of Truth
Posts: 5450
Joined: Wed Oct 17, 2012 11:12 pm

Re: Music/Media Players

Unread post by ivanovnegro » Thu Jan 15, 2015 8:15 pm

Very often I use Spotify these days, bloaty Ivan. :) No issues, everything is in the damn cloud.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Music/Media Players

Unread post by machinebacon » Fri Jan 16, 2015 2:16 am

I use mps/pms to download stuff and still listen to it with mpg123. On the Android, by the way, there's Gwhale ... you can actually grab 80% of what you search for. And that's a whole lot of good sht :)
..gnutella..

Post Reply