![]() |
[IDEA] Coverview improvements - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8) +--- Thread: [IDEA] Coverview improvements (/showthread.php?tid=7452) |
RE: Coverview improvements - romain - 03-05-2025 (03-05-2025, 01:52 PM)Tim Curtis Wrote:(03-05-2025, 01:43 PM)romain Wrote:(03-05-2025, 12:50 PM)Tim Curtis Wrote: Try the 2 files from this commit OK, many thanks for your help and time Tim, cover view looks great ! This needs to be tested with other streaming platforms than Tidal and other formats than FLAC RE: Coverview improvements - romain - 03-06-2025 Tim, in coverview mode with cover art and without playbar, would it be feasible to have something like {ELAPSED_TIME}/{TRACK_DURATION} or {REMAINING_TRACK_TIME} rather than just {ELAPSED_TIME} ? And also have volume displayed in dB (or percent) somewhere, maybe after the encodedAt ? RE: Coverview improvements - Tim Curtis - 03-06-2025 Whats already shown is the REMAINING_TRACK_TIME. So maybe something like REMAINING_TRACK_TIME / VOLUME_DB RE: Coverview improvements - romain - 03-06-2025 (03-06-2025, 10:27 AM)Tim Curtis Wrote: Whats already shown is the REMAINING_TRACK_TIME. Yes, something like that I have fetched formatted track time in music-libary.php with PHP Code: formatSongTime(songData['Time']); but I don't know where to put it to display something like ELAPSED_TIME/TOTAL_TRACK_TIME just below the decodedAt information for example. Volume in dB could be displayed below time info or after separated by a comma as for extra metadata RE: Coverview improvements - Tim Curtis - 03-06-2025 (03-06-2025, 10:38 AM)romain Wrote:(03-06-2025, 10:27 AM)Tim Curtis Wrote: Whats already shown is the REMAINING_TRACK_TIME. The track duration comes from the MPD.json array thats returned to the front-end by engine-mpd.php. Volume dB (mapped_db_vol) is also in that array. The duration is in seconds.ms. The countdown time (remaining_time) is a computed value using jQuery $('#countdown-display').countdown(). All in /var/www/js/playerlib.js To see this array open the Browser console and type in MPD.json; You should be able to browse all the elements. One challenge with adding " / total" or " / total / NdB" to CoverView is that it requires new HTML and associated show/hide/blank JS code in playerlib.js. Have a look at function updKnobAndTimeTrack() and variable "mapped_db_vol" to get a sense of whats needed. RE: Coverview improvements - Tim Curtis - 03-06-2025 I rigged up some code and to me it looks busy. Too many numbers :-0 [attachment=4458] RE: Coverview improvements - romain - 03-07-2025 (03-06-2025, 10:44 PM)Tim Curtis Wrote: I rigged up some code and to me it looks busy. Too many numbers :-0 Well, yes Tim, I admit. However, would it still be possible to display remaining track time instead of elapsed time ? It's more pertinent imho RE: Coverview improvements - Tim Curtis - 03-07-2025 (03-07-2025, 08:42 AM)romain Wrote:(03-06-2025, 10:44 PM)Tim Curtis Wrote: I rigged up some code and to me it looks busy. Too many numbers :-0 It already shows the remaining track time. It counts down from the track total time (duration). RE: Coverview improvements - romain - 03-07-2025 (03-07-2025, 10:18 AM)Tim Curtis Wrote:Great ! Will this be implemented in the next release as well as the UPnP stuff ?(03-07-2025, 08:42 AM)romain Wrote:(03-06-2025, 10:44 PM)Tim Curtis Wrote: I rigged up some code and to me it looks busy. Too many numbers :-0 Thanks RE: Coverview improvements - Tim Curtis - 03-07-2025 The countdown time is already present in the 9 series. The UPnP metadata and HD badging will be included in upcoming 9.2.6 release. |