All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Jan 31, 2025 5:39 pm 

Joined: Mon Apr 25, 2022 11:19 pm
Posts: 101
Hi,

The music source comes from Moode audio which uses MPD to play back tracks.

I wanted to know if the file source of the track data can come from a URL?

This is because MPD supports commands via URLs to get the track data, i.e., http://moode/command/?cmd=get_currentsong will output a page like the below:

{"file":"NAS\/Music\/Buddha Bar\/Buddha-Bar II By Claude Challe (2000)\/CD2 - Buddha's Party 2\/11. Soul Ascendants - The String Thing.flac","artist":"Soul Ascendants","album":"Buddha's Party 2 CD2","title":"The String Thing","coverurl":"\/coverart.php\/NAS%2FMusic%2FBuddha%20Bar%2FBuddha-Bar%20II%20By%20Claude%20Challe%20%282000%29%2FCD2%20-%20Buddha%27s%20Party%202%2F11.%20Soul%20Ascendants%20-%20The%20String%20Thing.flac","track":"11","date":"200000","composer":"","encoded":"FLAC 16\/44.1 kHz, 2ch","bitrate":"829 kbps","outrate":"PCM 32\/44.1 kHz, 2ch","volume":"0","mute":"0","state":"play"}

If it is not possible to access the data via a URL, then perhaps this could be considered for future development?

Also, is it sufficient to tell ST that to obtain the title information, the string is for "title": and it is until the comma? Is that the correct way to it?

Thank you!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited