tkem/mopidy-mobile

Make lookup of playlist items optional

Closed this issue · 3 comments

tkem commented

Especially with radio streams, performing a lookup() and/or get_images() for list items may degrade performance, e.g. when the stream is not reachable.

Maybe add a user setting to control this, and/or limit lookup to non-stream URIs.

tkem commented

Another use case for a dedicated "stream" type.

tkem commented

After thinking about this for quite a while, IMHO this really should be handled on the server side (if at all).

OK, where should my problem be solved - on the server or client?

I have several playlists like this:

$ cat /var/lib/mopidy/playlists/news.m3u8
#EXTM3U
#PLAYLIST News
#EXTINF:-1,Вести FM
http://icecast.vgtrk.cdnvideo.ru/vestifm_mp3_192kbps
#EXTINF:-1,Маяк
http://icecast.vgtrk.cdnvideo.ru/mayakfm_mp3_192kbps
#EXTINF:-1,Эхо Москвы
http://ice912.echo.msk.ru:9120/stream
#EXTINF:-1,Коммерсантъ FM
http://kommersant77.hostingradio.ru:8016/kommersant128.mp3
#EXTINF:-1,Комсомольская Правда
http://kpradio.hostingradio.ru:8000/russia.radiokp128.mp3
#EXTINF:-1,Говорит Москва
http://video.govoritmoskva.ru:8880/rufm_m.mp3

When opened, it looks like this:

image

But after a second, like this:

image

P.S. mopidy/mopidy#1653