Navigatrix.net - A Voyager's Companion
http://navigatrix.net/

GMPC and Streamripper
http://navigatrix.net/viewtopic.php?f=4&t=661
Page 1 of 1

Author:  svattila [ 27 Jun 2014, 23:44 ]
Post subject:  GMPC and Streamripper

Hello, nx-ers!

I really liked the gnome music player Client in the first versions of navigatrix.
Why it is not included in the newer versions? If it is, how can i replace audicious with gmpc?
The streamripper application was also very useful, but i don`t recall the name... anyone remembers it?
I managed to download the new version, and it solved my notorious double desktop problem. I imported all my settings by copiing my old home folder into the new installation, everything works as a charm :)

Thanks! Adrian

Author:  svattila [ 28 Jun 2014, 14:48 ]
Post subject:  Re: GMPC and Streamripper

Hello!

I resolved the problem mentioned before - at least partially...

I started the mpd service by typing mpd into a terminal window.
Then i started gmpc with the gmpc command from the terminal.
After setting up the server, it runs fine.
Now my only remaining question is: How could I create a icon in the
Manta menu-sound and video for gmpc?
It would be very nice to have the old gmpc icon, and by pressing it, it would start mpd and gmpc. Anyone knows how this can be done?

Thank you!

Author:  Moe [ 30 Jun 2014, 22:36 ]
Post subject:  Re: GMPC and Streamripper

Hang on Adrian, the mpd configuration parameters have changed since the last time I looked at them.

It use to be one flag changed from 'no' to 'yes' for autostart. Don't know what it is now.

Author:  svattila [ 01 Jul 2014, 01:15 ]
Post subject:  Re: GMPC and Streamripper

Thanks Moe!

i am experimenting meanwhile :)

Adrian

Author:  Hugbert [ 01 Jul 2014, 16:16 ]
Post subject:  Re: GMPC and Streamripper

did you already try this in the terminal without root ?
Quote:
sudo sed -i 's/NotShowIn=LXDE;/NotShowIn=/g' /etc/xdg/autostart/mpd.desktop
sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /usr/share/applications/gmpc.desktop
cp /etc/mpd.conf ~/.mpdconf
sed -i 's/"mpd"/"'$USER'"/g' ~/.mpdconf;sed -i 's/\/run\/mpd\/pid/\/tmp\/mpd.pid/g' ~/.mpdconf
mpd

Author:  svattila [ 01 Jul 2014, 20:13 ]
Post subject:  Re: GMPC and Streamripper

Like without the sudo in the beginning of first two lines? What do you mean by without root? I am sorry, I am not a linux guru :)

Author:  Moe [ 01 Jul 2014, 20:46 ]
Post subject:  Re: GMPC and Streamripper

Just the way it is there, Adrian...with the sudo, from your username.

Code:
moe@fissionchips:~$ sudo sed -i 's/NotShowIn=LXDE;/NotShowIn=/g' /etc/xdg/autostart/mpd.desktop
[sudo] password for moe:
moe@fissionchips:~$ sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /usr/share/applications/gmpc.desktop
moe@fissionchips:~$ cp /etc/mpd.conf ~/.mpdconf
moe@fissionchips:~$ sed -i 's/"mpd"/"'$USER'"/g' ~/.mpdconf;sed -i 's/\/run\/mpd\/pid/\/tmp\/mpd.pid/g' ~/.mpdconf
moe@fissionchips:~$ mpd
socket: Failed to bind to '[::1]:6600': Address already in use
moe@fissionchips:~$

Now when you boot and launch gmpc, it will have the mpd running. The new menu (Music Player Client) entry will show on the next boot.

Author:  svattila [ 02 Jul 2014, 14:51 ]
Post subject:  Re: GMPC and Streamripper

Hello, Moe!

I run the commands listed above, and it does start mpd at startup.
But another problem arised. It doesnt show anything in my database. All my music is copied into /home/nx/Music and I set it in preferences to point there. I press on update but nothing happens.
I also edited the mpd.config file, and set music directory to point to /home/nx/Music. Still nothing.
Why it does not see my music now??

Attachments:
2014-07-02_094842_1360x768.png
2014-07-02_094842_1360x768.png [ 187.02 KiB | Viewed 10510 times ]
2014-07-02_094745_1360x768.png
2014-07-02_094745_1360x768.png [ 157.47 KiB | Viewed 10510 times ]
2014-07-02_094736_1360x768.png
2014-07-02_094736_1360x768.png [ 91.57 KiB | Viewed 10510 times ]

Author:  Moe [ 02 Jul 2014, 19:57 ]
Post subject:  Re: GMPC and Streamripper

/home/Music is symbolically linked to your username.
medit ~/.mpdconf to look in that spot. Log out/in and update the database if it hasn't done so.

Attachments:
Navigatrix_music1.png
Navigatrix_music1.png [ 177.94 KiB | Viewed 10509 times ]

Author:  svattila [ 02 Jul 2014, 20:32 ]
Post subject:  Re: GMPC and Streamripper

SuCCeSS!

It works as intended :)
Just to have it clear: The problem was that I did not edit .mpdconf, only edited mpd.conf ??
I also replaced the audicious icon in the manta menu with the gmpc.
Now my question is: How could i add another entry in the manta menu for the streamripper application.
There seems no option to "add new app".

Thanks

Author:  Moe [ 02 Jul 2014, 20:54 ]
Post subject:  Re: GMPC and Streamripper

This is where you find a desktop file similar to the one you want to create, for example medit ~/.local/share/applications/gmpc.desktop to use as a template.

Change the exec= and Name(s) and Comment(s) for the ones you want. If your Hungarian is rusty you can just skip that or fake it. The same applies to any other language in brackets.

Save the file in ~/.local/share/applications/ giving it any name you want, ending in .desktop, for example streamer.desktop. It will show up the next time you log in.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/