any one know where in the file structure i can find song playback info ?
like tittle ? play time, remain time ? resolution ? sample rate ?
by TommyBoy » 26 Jan 2017, 18:50
by hondagx35 » 26 Jan 2017, 19:00
redis-cli get act_player_info
root@runeaudio(rw):~# redis-cli get act_player_info
"{\"volume\":\"66\",\"repeat\":\"0\",\"random\":\"0\",\"single\":\"0\",\"consume\":\"0\",\"playlist\":\"6\",\"playlistlength\":\"17\",\"mixrampdb\":\"0.000000\",\"state\":\"play\",\"song\":\"11\",\"songid\":\"12\",\"time\":\"258\",\"elapsed\":\"0\",\"bitrate\":\"320\",\"audio\":\"44100:24:2\",\"nextsong\":\"12\",\"nextsongid\":\"13\",\"OK\":null,\"song_percent\":0,\"audio_sample_rate\":\"44.1\",\"audio_sample_depth\":\"24\",\"audio_channels\":\"Stereo\",\"changed\":\"player\",\"currentartist\":\"3 Doors Down\",\"currentsong\":\"When I'm Gone\",\"currentalbum\":\"iTunes Originals\",\"currentcomposer\":null,\"fileext\":\"mp3\",\"file\":\"NAS\\/Musik\\/Audiophile Stream Network\\/1\\/3 Doors Down - When I'm Gone.mp3\",\"radioname\":null,\"actPlayer\":\"MPD\"}"
by TommyBoy » 26 Jan 2017, 19:45
by TommyBoy » 27 Jan 2017, 18:36
by hondagx35 » 28 Jan 2017, 00:05
The UI dont update either, try webradio whete they write the track they play, i need to change volume one up, and then down again, to get an update, same as with this json string,
mpc idleloop
root@runeaudio(rw):~# telnet localhost 6600
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.19.0
status
volume: 65
repeat: 0
random: 0
single: 0
consume: 0
playlist: 12
playlistlength: 17
mixrampdb: 0.000000
state: play
song: 9
songid: 10
time: 39:332
elapsed: 39.206
bitrate: 320
audio: 44100:24:2
nextsong: 10
nextsongid: 11
OK
root@runeaudio(rw):~# telnet localhost 6600
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.19.0
currentsong
file: NAS/Musik/Audiophile Stream Network/1/The Jeff Healey Band - Dreams Of Love.mp3
Last-Modified: 2016-03-31T09:15:54Z
Artist: The Jeff Healey Band
AlbumArtist: The Jeff Healey Band
ArtistSort: Healey, Jeff Band, The
AlbumArtistSort: Healey, Jeff Band, The
Title: Dreams of Love
Album: Feel This
Track: 14/14
Date: 1992-09-28
Disc: 1/1
MUSICBRAINZ_ALBUMARTISTID: 9fac4087-8201-4b74-a619-e77b1602aaf4
MUSICBRAINZ_ARTISTID: 9fac4087-8201-4b74-a619-e77b1602aaf4
MUSICBRAINZ_RELEASETRACKID: 598b2321-03f5-48f0-aed6-30d21e995615
MUSICBRAINZ_ALBUMID: 5cb068ea-6697-4363-9292-c15c39d03e66
MUSICBRAINZ_TRACKID: 843e02e7-5c10-43db-9a83-bbe19de11db4
Time: 332
Pos: 9
Id: 10
OK
by TommyBoy » 28 Jan 2017, 01:03
by hondagx35 » 28 Jan 2017, 01:11
telnet localhost 6600
status
currentsong
by TommyBoy » 28 Jan 2017, 01:23
by hondagx35 » 28 Jan 2017, 10:06
Let me google this for you.where do I find all telnet commands for MPD ?
by Yatsushiro » 28 Jan 2017, 11:14
hondagx35 wrote:Let me google this for you.where do I find all telnet commands for MPD ?
support RuneAudio