2017-03-28 06:18 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004644MPDMPDpublic2017-02-15 16:25
ReporterRadek 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
Product Versiongit 
Target VersionFixed in Version 
Summary0004644: better support for streams
Descriptionat the moment, the only possible way to add http stream to current playlist with its length (in seconds), title and artist is via ext m3u playlist:

1. save one or more songs with all the info to /var/lib/mpd/playlists/pl.m3u
for example:
#EXTM3U
#EXTINF:218,Heart - Alone
http://192.168.10.91:9003/get_song?id=Twgf7rvy3wb6cgkva6uouqz2xgm
#EXTINF:257,Tears For Fears - Head Over Heels (Dave Bascombe 7" N.Mix)
http://192.168.10.91:9003/get_song?id=Tgjw4o5yzimrr3hnrofeg77jb6m
...

2. use "load pl"
3. delete pl.m3u

I consider this as hack. Yes there is also another solution, to use "addid/addtagid" but you cannot add stream length and its not cheap anyway - imagine you have to add 50 songs to current playlist

An alternate solution to this would be:
a) to add another command something like "addstream [uri] [title] [artist] [length]"
b) extend current commands add/addid to allow additional parameters

please consider it. thank you.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0010348

cirrus (administrator)

I have no idea what this ticket is about. Rephrase.
+Notes

-Issue History
Date Modified Username Field Change
2017-02-13 06:12 Radek New Issue
2017-02-15 16:25 cirrus Note Added: 0010348
+Issue History