The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: GMPC and Streamripper

Joined: 21 May 2013, 14:53
Posts: 93
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


Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 21 May 2013, 14:53
Posts: 93
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!


Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 04 Nov 2010, 20:51
Posts: 1062
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.


Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 21 May 2013, 14:53
Posts: 93
Thanks Moe!

i am experimenting meanwhile :)

Adrian


Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 10 Nov 2010, 03:43
Posts: 4
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


Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 21 May 2013, 14:53
Posts: 93
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 :)


Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 04 Nov 2010, 20:51
Posts: 1062
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.


Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 21 May 2013, 14:53
Posts: 93
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 10474 times ]
2014-07-02_094745_1360x768.png
2014-07-02_094745_1360x768.png [ 157.47 KiB | Viewed 10474 times ]
2014-07-02_094736_1360x768.png
2014-07-02_094736_1360x768.png [ 91.57 KiB | Viewed 10474 times ]
Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 04 Nov 2010, 20:51
Posts: 1062
/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 10473 times ]
Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 21 May 2013, 14:53
Posts: 93
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


Top
   
 
 Post subject: Re: GMPC and Streamripper

Joined: 04 Nov 2010, 20:51
Posts: 1062
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.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


Search for:

Credits © 2010 - 2024