04-18-2019, 10:37 AM
Pages: 1 2
04-18-2019, 11:47 AM
ssh into moode
cd /var/www/
dir
make note of the 7 digit number
enter that into souundirox
my 7 digit number is 2056211, ip address 192.168.1.107
so I enter http://192.168.1.107//2056211//
you will need to do this every time you reboot or when the number changes.
cd /var/www/
dir
make note of the 7 digit number
enter that into souundirox
my 7 digit number is 2056211, ip address 192.168.1.107
so I enter http://192.168.1.107//2056211//
you will need to do this every time you reboot or when the number changes.
04-18-2019, 08:51 PM
Hello,
we had that topic a while ago. So here is what to do (It's not from me, I think it was TheOldPresbyope):
sh into moode
cd /var/www/command
sudo nano worker.php
In /var/www/command/worker.php, at or around line 242, you should find this section:
// ensure certain files exist
if (!file_exists('/var/www/cover')) {SysCmd('ln -s /var/lib/mpd/music /var/www/cover');} <- this is the new line you have to insert
if (!file_exists('/var/local/www/currentsong.txt')) {sysCmd('touch /var/local/www/currentsong.txt');} <- this line should be already there
Save the file and reboot.
For example in M.A.L.P. the path for the covers then is: "http://moode/cover/%d/folder.jpg"
In MpDroid use: http://moode/cover/
In Soundirok it should be: http://moode/cover/
instead of "moode" use the name of your player or the IP-Address of your installation.
@Tim: Would it be possible to add that one line in the future version. It would be very helpful. Many thanks in advance.
Have fun
duke.g
we had that topic a while ago. So here is what to do (It's not from me, I think it was TheOldPresbyope):
sh into moode
cd /var/www/command
sudo nano worker.php
In /var/www/command/worker.php, at or around line 242, you should find this section:
// ensure certain files exist
if (!file_exists('/var/www/cover')) {SysCmd('ln -s /var/lib/mpd/music /var/www/cover');} <- this is the new line you have to insert
if (!file_exists('/var/local/www/currentsong.txt')) {sysCmd('touch /var/local/www/currentsong.txt');} <- this line should be already there
Save the file and reboot.
For example in M.A.L.P. the path for the covers then is: "http://moode/cover/%d/folder.jpg"
In MpDroid use: http://moode/cover/
In Soundirok it should be: http://moode/cover/
instead of "moode" use the name of your player or the IP-Address of your installation.
@Tim: Would it be possible to add that one line in the future version. It would be very helpful. Many thanks in advance.
Have fun
duke.g
04-18-2019, 11:40 PM
(04-18-2019, 08:51 PM)duke.g Wrote: [ -> ]Hello,
we had that topic a while ago. So here is what to do (It's not from me, I think it was TheOldPresbyope):
sh into moode
cd /var/www/command
sudo nano worker.php
In /var/www/command/worker.php, at or around line 242, you should find this section:
// ensure certain files exist
if (!file_exists('/var/www/cover')) {SysCmd('ln -s /var/lib/mpd/music /var/www/cover');} <- this is the new line you have to insert
if (!file_exists('/var/local/www/currentsong.txt')) {sysCmd('touch /var/local/www/currentsong.txt');} <- this line should be already there
Save the file and reboot.
For example in M.A.L.P. the path for the covers then is: "http://moode/cover/%d/folder.jpg"
In MpDroid use: http://moode/cover/
In Soundirok it should be: http://moode/cover/
instead of "moode" use the name of your player or the IP-Address of your installation.
@Tim: Would it be possible to add that one line in the future version. It would be very helpful. Many thanks in advance.
Have fun
duke.g
Thanks, that did the job. I agree it would be great if @Tim could include this in future images.
04-20-2019, 06:07 PM
For the sake of completeness; I believe I've accomplished the same a little differently.
Simply by adding the line "sudo ln -s /var/lib/mpd/music/ /var/www/soundirok" above "exit 0" in the file "/var/local/www/commandw/wrkready.sh".
(In Soundirok, under Settings/Devices/Collection URL, i have correspondingly entered "http://172.24.1.1/soundirok/".)
Simply by adding the line "sudo ln -s /var/lib/mpd/music/ /var/www/soundirok" above "exit 0" in the file "/var/local/www/commandw/wrkready.sh".
(In Soundirok, under Settings/Devices/Collection URL, i have correspondingly entered "http://172.24.1.1/soundirok/".)
04-20-2019, 08:38 PM
Anybody who has a solution for embedded covers? Because this all works great for separate cover files but not for the all-in-covers...
Thx,
Johan
Thx,
Johan
04-21-2019, 06:17 AM
(04-20-2019, 08:38 PM)JST1963 Wrote: [ -> ]Anybody who has a solution for embedded covers? Because this all works great for separate cover files but not for the all-in-covers...
Thx,
Johan
... a workaround maybe http://moodeaudio.org/forum/showthread.p...282&page=2
04-21-2019, 10:44 AM
(04-21-2019, 06:17 AM)CallMeMike Wrote: [ -> ](04-20-2019, 08:38 PM)JST1963 Wrote: [ -> ]Anybody who has a solution for embedded covers? Because this all works great for separate cover files but not for the all-in-covers...
Thx,
Johan
... a workaround maybe http://moodeaudio.org/forum/showthread.p...282&page=2
I can't quite follow you, Mike... Is this going to solve my problem having cover art in Soundirok or M.A.L.P.?
04-21-2019, 08:35 PM
(04-20-2019, 08:38 PM)JST1963 Wrote: [ -> ]Anybody who has a solution for embedded covers? Because this all works great for separate cover files but not for the all-in-covers...
Thx,
Johan
As far as I know, Soundirok does not handle embedded album art.
I wrote a short bash script to extract embedded covers into their respective folders. I'll post it here if I can locate it...
04-21-2019, 10:17 PM
(04-21-2019, 08:35 PM)Tenbagger Wrote: [ -> ]I wrote a short bash script to extract embedded covers into their respective folders. I'll post it here if I can locate it...
Thx for the clear answer. And yes, please, I would love to try that script.
I had my library as a flat list but as soon as I found out cover art wasn't working in that sort of setup, I put all the songs back in a folder structure "drive:\Artist\Album\Song.ext".
Didn't do it manually but I did it with a lil (very basic) routine I wrote in (die hard programmers, cover your ears now!!!) in Excel using VBA.
J
Pages: 1 2