Moode Forum

Full Version: Edit file playerlib.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
What sorting do you need?
Hi moOde fans,
The "sort" is allready in /var/www/inc/playerlib.php

the line is just disbled (sort album with date)

:-)
[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
Nice :-)
(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
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
Thanks for your reply Lionel, I understand now.