Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Edit file playerlib.php
#1
Hello,
recent raspberry fan

for an audiophile installation, I turned to

Raspberry
Suprtonic X400
MoOde Audio (I wanted DSD via I2s)

Great, I think we'll choose this solution.

however I have a little problem, I found the solution on this forum: -) :-)

But I have to edit the file (/var/www/inc/playerlib.php), to get the right sorting on the Albums

I tried with winSCP, in sftp pi/moodeaudio

I browse without any problems, but I can't edit: -( 

So how do we do it?

Thank you in advance Heart

Amitiés
Lionel
Reply
#2
What sorting do you need?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Hi moOde fans,
 :@
Reply
#4
The "sort" is allready in /var/www/inc/playerlib.php

the line is just disbled (sort album with date)

:-)
Reply
#5
[quote pid='8984' dateline='1553394187']
How about simply opening up an SSH session in moOde (Configure - System - Local Services), use "pi" as login and "moodeaudio" as the PW and edit the requested file from there?
sudo nano /var/www//inc/playerlib.php
[/quote]

Thanks JST1963,

done in a couple of seconds

Amitiés
Lionel
Reply
#6
Nice :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
(03-24-2019, 03:21 AM)leglubert Wrote: [quote pid='8984' dateline='1553394187']
How about simply opening up an SSH session in moOde (Configure - System - Local Services), use "pi" as login and "moodeaudio" as the PW and edit the requested file from there?
sudo nano /var/www//inc/playerlib.php

Thanks JST1963,

done in a couple of seconds

Amitiés
Lionel
[/quote]

Sorry to be thick, but what did you actually do and what did it achieve?

Thanks
Reply
#8
Hello kit1cat,

I wanted to have the Albums sorted by year !

so I edited the file playerlib.php, this way
[Image: code-moode.png]


to obtain this as a result
[Image: moOd.jpg]

Amitiés
Lionel
Reply
#9
Thanks for your reply Lionel, I understand now.
Reply


Forum Jump: