Thank you for your donation!


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


Internal API question
#4
The PHP session id is needed because most of the PHP scripts need r/w access to the session file which contains all the session variables and their values for example $_SESSION['volknob'].

You can easily dump the session file using the command below. Note that all the radio station URL's are stored in the session file to make then easy to access from the front-end.

Code:
sudo moodeutl -d

Example using grep to filter the output for a specific set of variables

Code:
pi@sig:~ $ sudo moodeutl -d | grep library
library_utf8rep|No
library_show_genres|Yes
library_onetouch_album|Show tracks
library_recently_added|2592000000
library_covsearchpri|Embedded cover
library_hiresthm|600px,60
library_pixelratio|1
library_tagview_artist|Artist
library_ignore_articles|a,an,the
library_albumview_sort|Artist/Year
library_tagview_covers|Yes
library_tagview_sort|Album/Year
library_ellipsis_limited_text|Yes
library_thumbnail_columns|6/2 (Default)
library_encoded_at|1
library_flatlist_filter|full_lib
library_flatlist_filter_str|
library_misc_options|No,Album@Artist (Default)
library_onetouch_radio|Play
library_tagview_genre|Genres
library_track_play|Track
library_onetouch_pl|No action
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Internal API question - by eldar - 04-16-2023, 08:11 PM
RE: Internal API question - by Tim Curtis - 04-16-2023, 09:44 PM
RE: Internal API question - by eldar - 04-16-2023, 11:01 PM
RE: Internal API question - by Tim Curtis - 04-17-2023, 01:11 AM

Forum Jump: