Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where (folder) should I install a new version of mpd?
#1
Thumbs Down 
I have compiled a new version of mpd and it installs fine on Snakeoil. However, it does not show in the media player section.  The installation points are:
==================================================================
Installing mpd to /usr/local/bin
Installing /home/music/MPD-master/systemd/system/mpd.socket to /usr/local/lib/systemd/system
Installing /home/music/MPD-master/output/release/systemd/system/mpd.service to /usr/local/lib/systemd/system
Installing /home/music/MPD-master/systemd/user/../system/mpd.socket to /usr/local/lib/systemd/user
Installing /home/music/MPD-master/output/release/systemd/user/mpd.service to /usr/local/lib/systemd/user
Installing /home/music/MPD-master/mpd.svg to /usr/local/share/icons/hicolor/scalable/apps
Installing /home/music/MPD-master/AUTHORS to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/COPYING to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/NEWS to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/README.md to /usr/local/share/doc/mpd
====================================================================

I think I should be somewhere as user folder or home folder or such.  Can I get some guidance?

when I run "ninja install" to install the mpd what directory should I point to?

Thanks in advance!!
Reply

#2
(25-Jan-2022, 09:39 AM)pathetic Wrote: I have compiled a new version of mpd and it installs fine on Snakeoil. However, it does not show in the media player section.  The installation points are:
==================================================================
Installing mpd to /usr/local/bin
Installing /home/music/MPD-master/systemd/system/mpd.socket to /usr/local/lib/systemd/system
Installing /home/music/MPD-master/output/release/systemd/system/mpd.service to /usr/local/lib/systemd/system
Installing /home/music/MPD-master/systemd/user/../system/mpd.socket to /usr/local/lib/systemd/user
Installing /home/music/MPD-master/output/release/systemd/user/mpd.service to /usr/local/lib/systemd/user
Installing /home/music/MPD-master/mpd.svg to /usr/local/share/icons/hicolor/scalable/apps
Installing /home/music/MPD-master/AUTHORS to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/COPYING to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/NEWS to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/README.md to /usr/local/share/doc/mpd
====================================================================

I think I should be somewhere as user folder or home folder or such.  Can I get some guidance?

when I run "ninja install" to install the mpd what directory should I point to?

Thanks in advance!!
have a look at /var/www/players/

There are various mpd folders in there. Duplicate one of them, modify the contents to point to your local MPD, and it will show up in the list.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • pathetic
Reply

#3
(25-Jan-2022, 10:34 AM)agent_kith Wrote:
(25-Jan-2022, 09:39 AM)pathetic Wrote: I have compiled a new version of mpd and it installs fine on Snakeoil. However, it does not show in the media player section.  The installation points are:
==================================================================
Installing mpd to /usr/local/bin
Installing /home/music/MPD-master/systemd/system/mpd.socket to /usr/local/lib/systemd/system
Installing /home/music/MPD-master/output/release/systemd/system/mpd.service to /usr/local/lib/systemd/system
Installing /home/music/MPD-master/systemd/user/../system/mpd.socket to /usr/local/lib/systemd/user
Installing /home/music/MPD-master/output/release/systemd/user/mpd.service to /usr/local/lib/systemd/user
Installing /home/music/MPD-master/mpd.svg to /usr/local/share/icons/hicolor/scalable/apps
Installing /home/music/MPD-master/AUTHORS to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/COPYING to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/NEWS to /usr/local/share/doc/mpd
Installing /home/music/MPD-master/README.md to /usr/local/share/doc/mpd
====================================================================

I think I should be somewhere as user folder or home folder or such.  Can I get some guidance?

when I run "ninja install" to install the mpd what directory should I point to?

Thanks in advance!!
have a look at /var/www/players/

There are various mpd folders in there. Duplicate one of them, modify the contents to point to your local MPD, and it will show up in the list.

Thanks for you reply! I have been able to compile SACD ISO support into the latest mpd. If it works on Snakeoil I am happy to "donate" it to your cause!!


I placed my mpd exec in a new /var/www/players folder and copied contents from another one.......I don't think that's what you mean? You say "modify the contents to point to your local MPD".  So its a symlink?

I don't fully get your instructions.  Can you please elaborate a lot more?

Maybe with some code assuming my mpd is in a folder "/usr/bin/mpd".  I have now mpd in "/usr/bin" and "/usr/local/bin".  I forgot to track the changes so I think the latter is from my new build.


Regards.
Reply

#4
(25-Jan-2022, 11:02 PM)pathetic Wrote: Thanks for you reply! I have been able to compile SACD ISO support into the latest mpd. If it works on Snakeoil I am happy to "donate" it to your cause!!
Thanks Smile. I'm gonna make most things open source soon. I think music-players already is. You can submit a pull request from there.

 
(25-Jan-2022, 11:02 PM)pathetic Wrote: I placed my mpd exec in a new /var/www/players folder and copied contents from another one.......I don't think that's what you mean? You say "modify the contents to point to your local MPD".  So its a symlink?

I don't fully get your instructions.  Can you please elaborate a lot more?

Maybe with some code assuming my mpd is in a folder "/usr/bin/mpd".  I have now mpd in "/usr/bin" and "/usr/local/bin".  I forgot to track the changes so I think the latter is from my new build.
The MPD you build should be in /usr/local/bin by default.

Copy or move your custom MPD binary inside the newly created folder in /var/www/players. And checking out the scripts inside and modify as necessary. You will also need to update the MPD configuration template and update the MPD database to it's own directory. That way you can switch between different versions of MPD and not worry about constant DB updates. MPDs can usually share the database across different versions, but we have MPDs as old as 0.17 and this just make things easier.

Have a look at the different MPD folders in there and hopefully you should be able to get things going.
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Noob question: How do I install SnakeoilOS on RPI? uglymusic 24 385 01-Feb-2023, 06:13 PM
Last Post: uglymusic
  Problem to install Upmdpcli on Raspberry Pi 4 kees1000 2 72 16-Dec-2022, 08:37 AM
Last Post: agent_kith
  Roonserver/Hqplayer do not install Tecko 6 112 11-Dec-2022, 02:07 PM
Last Post: agent_kith
  [split] Cannot install Roon Bridge kees1000 1 41 04-Dec-2022, 08:44 AM
Last Post: agent_kith
  Pi4 fresh install no upmpdcli mkysimes 2 77 30-Sep-2022, 09:31 AM
Last Post: mkysimes



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
New to snakeoil
Last Post: theribdoctor
Today 09:01 AM
» Replies: 8
» Views: 44
Install: Snakeoil 1.x.x - 4.19.37-rt19 S...
Last Post: agent_kith
21-Mar-2023 05:12 PM
» Replies: 14
» Views: 3987
Upsampling to 192k in MPD
Last Post: Devgcl
16-Mar-2023 01:45 PM
» Replies: 2
» Views: 32
Deadbeef and Spotify installed on Ubuntu...
Last Post: agent_kith
15-Mar-2023 07:40 AM
» Replies: 5
» Views: 76
Portable Snakeoil :-) First test.
Last Post: agent_kith
15-Mar-2023 07:39 AM
» Replies: 19
» Views: 555
Upgrade from Ubuntu 10.04 to ubuntu 23.0...
Last Post: agent_kith
15-Mar-2023 07:27 AM
» Replies: 4
» Views: 67
Snakeoil Firmware - 1.2.11 (Gear Isolati...
Last Post: musicnut23
12-Mar-2023 03:43 AM
» Replies: 13
» Views: 604
Problems installing Upmpdcli
Last Post: Snoopy8
10-Mar-2023 06:37 AM
» Replies: 3
» Views: 51
Problem running MPD with 1.2.9 firmware
Last Post: agent_kith
09-Mar-2023 05:33 PM
» Replies: 1
» Views: 38
upmpdcli mpd and LMS -- set up help!
Last Post: Snoopy8
04-Mar-2023 11:05 AM
» Replies: 6
» Views: 318

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2023. Theme © Melroy van den Berg.