Gruffalo Spin Support

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Gruffalo Spin Support

Unread post by mrneilypops » Sat Feb 15, 2014 1:24 pm

@dkeg
Loving this release!
Er...got stuck on this bit;
I am streaming Groove Salad with cmus...no probs... but cmusbar still shows 'music off'.
This is on the live cd...am I missing something here?

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

Re: MONSTERWM: Gruffalo 686pae Release News

Unread post by dkeg » Sat Feb 15, 2014 2:12 pm

Thank you! Glad you like it. And thank you for checking it out.

TBH, I'm not sure. Here is the code for cmusbar (its in /usr/local/bin/)

Code: Select all

#! /bin/bash                                              

if [ ! -x /usr/bin/cmus-remote ];
then
echo "music off"
exit
fi

ARTIST=$( cmus-remote -Q 2>/dev/null | grep "tag artist " | cut -d " " -f 3- )  
TITLE=$( cmus-remote -Q 2>/dev/null | grep title | cut -d " " -f 3- )           

if [ -z "$ARTIST" ];
then
echo "music off"
else
echo "$ARTIST - $TITLE"
fi
Does it work if you are playing straight local mp3's? It should. Possibly Groove Salad is not 'activating' cmus-remote, so as far as the script is concerned, nothing is playing. I don't use Groove Salad, but if you can hack up the script so it works, I'll include in my next spin.

Work hard; Complain less

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: MONSTERWM: Gruffalo 686pae Release News

Unread post by mrneilypops » Sat Feb 15, 2014 2:46 pm

@dkeg
Thanks for the tips.
I tried with a local mp3 but still no go.
I am going to install this one and investigate further.
I'll update you on my progress.

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

Re: Gruffalo Spin Support

Unread post by dkeg » Sat Feb 15, 2014 3:29 pm

moved support related posts to new topic in Support .... keep the Release Announcement tidy

I'm not sure then, sorry. Couple things come to mind.
When music is playing via cmus ...
1. Any output when you ctrl-alt F1
2. Open another terminal, enter 'cmus-remote -n' ... anything? Should move to next track. This should at least confirm cmus-remote is in the loop here.
3. Download a track from PMS, from cmus, navigate to ~/media/PMS, and play. Work?

Past that, I'm really not sure. It works for me, and worked for others that tested it.

If anyone else is running this spin, or testing, can you confirm/deny this is also an issue for you.

Work hard; Complain less

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: Gruffalo Spin Support

Unread post by mrneilypops » Sat Feb 15, 2014 3:51 pm

Standby dkeg...not forgotten you.
I am trying to get gruffalo installed and then I will continue my investigations...

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

Re: Gruffalo Spin Support

Unread post by dkeg » Sat Feb 15, 2014 4:21 pm

Just a thought, possibly try to replace $ARTIST with $TITLE in the conditional statement.

Work hard; Complain less

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: Gruffalo Spin Support

Unread post by mrneilypops » Sat Feb 15, 2014 4:34 pm

gruffalo installed - FAB!

With regard to cmus;

1.No cmus output from CTR-ALT F1
2.cmus-remote -n = no output
3. YES that works! download from PMS! listening to Rolling Stones and reading 'Rolling Stones' in the status bar.

Hope this helps...

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

Re: Gruffalo Spin Support

Unread post by dkeg » Sat Feb 15, 2014 4:45 pm

Alright, good to know. I would suppose since its a stream, track commands won't work. Did you see my prior post? Did that work? Works for me.

Thanks.

Work hard; Complain less

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

Re: Gruffalo Spin Support

Unread post by machinebacon » Sat Feb 15, 2014 4:47 pm

If it works for drew, I can only guess that /usr/local/bin/cmusbar needs a chmod a+x. Guessing only :)
..gnutella..

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: Gruffalo Spin Support

Unread post by mrneilypops » Sat Feb 15, 2014 4:49 pm

Just a thought, possibly try to replace $ARTIST with $TITLE in the conditional statement.
THAT FIXED IT!
Info now available in status bar for both streaming audio and local mp3s!

You ROCK!

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

Re: Gruffalo Spin Support

Unread post by dkeg » Sat Feb 15, 2014 4:58 pm

Great! Well I can't take all the credit, but thank you.

Work hard; Complain less

Post Reply