![]() |
[PROBLEM] Web hangs, because of medianfo hangs - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Web hangs, because of medianfo hangs (/showthread.php?tid=7511) |
Web hangs, because of medianfo hangs - datside - 03-14-2025 When listening to my playlist with ~100 radio stations web ui refuses to load, got just gray screen with stuck buttons, no playlist, and nothing. Dug it out thats mediainfo hanging. After stopping and clearing queue still process running: Code: htop pids: But Standard playlist works just fine, can't understand. Thought thats because i had bad update, today manually applied new update, all seems to work fine. Except my radio playlist RE: mediainfo hangs - Tim Curtis - 03-14-2025 This URL doesn't work for me. Code: http://my.radio.station:8000/acid Some info: In the 9.2.6 release UPnP files are analyzed by mediainfo to get some metadata. These files start with http but are not radio stations. The way thats determined is to check for the "duration" and "Name" tags. Radio stations will have a "Name" tag but no "duration" tag. UPnP files will have a "duration" tag but no "Name" tag. Post the playlist so I can try it on my end. Post it in a code box so the URL's and paths show as-is and not as clickable links. RE: mediainfo hangs - datside - 03-14-2025 (03-14-2025, 10:02 AM)Tim Curtis Wrote: This URL doesn't work for me. Duration is required by M3U spec, so it is -1. You cant create m3u track with name tag without duration tag Code: #EXTM3U RE: Web hangs, because of medianfo hangs - datside - 03-14-2025 So I am opening any other playlist, works fine. Opening my playlist and playback starts, but web hangs. Userside UI loads but no real data from moode goes, its just waiting for some second answer with data. Do i need to add all my 120 stations to Radio database manually? RE: Web hangs, because of medianfo hangs - datside - 03-14-2025 Is it too much? [attachment=4488] RE: mediainfo hangs - Tim Curtis - 03-14-2025 See the console session below. When MPD creates a playlist for example by saving the Queue there are no duration or other tags, just the URI's. Code: pi@moode9:~ $ telnet localhost 6600 moOde's playlist feature also just saves the URI's but it adds two header tags to define the Genre and Cover image path Code: pi@moode9:~ $ cat "/var/lib/mpd/playlists/Test playlist.m3u" Your best bet would be to configure whatever playlist software you are using to create moOde/MPD compatible playlist files. RE: Web hangs, because of medianfo hangs - datside - 03-14-2025 Tried removing all tags leaving only URL, same thing happen. Will try adding #extgenre #extimg Update: tried, no, did not work. Playlist just with clean urls not work, gives multiple hanging mediainfo. Some of them runs like minute and more, taking too much memory: VIRT 104M. Playlist with "#EXTGENRE:Various #EXTIMG:default" same behavior RE: mediainfo hangs - datside - 03-14-2025 (03-14-2025, 11:38 AM)Tim Curtis Wrote: See the console session below. When MPD creates a playlist for example by saving the Queue there are no duration or other tags, just the URI's. Please just tell me where to comment out this upnp feature and i will go away ![]() RE: mediainfo hangs - datside - 03-14-2025 (03-14-2025, 12:30 PM)datside Wrote:(03-14-2025, 11:38 AM)Tim Curtis Wrote: See the console session below. When MPD creates a playlist for example by saving the Queue there are no duration or other tags, just the URI's. Found myself, Code: moode/www/inc/mpd.php line 785 |