Moode Forum
[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)

Pages: 1 2 3 4 5 6


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
https://github.com/moode-player/moode/commit/3edcc0b3fe0c2cc1f9dc59e2f959c01cb4e8b951

HD


Non-HD

I was just about to send you mine, got the same result Wink



However, when playing UPnP stream and in library view, I've noticed that the cover art is not displayed in the bottom left corner, would it possible to replace it by the generic moOde picture ?


That would prolly be a JS thing because that particular image comes from the thumbnail cache thats created during Library generation. Same for the small thumbnails in the Queue.

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.
So maybe something like

REMAINING_TRACK_TIME / VOLUME_DB

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.
So maybe something like

REMAINING_TRACK_TIME / VOLUME_DB

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

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

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

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:
(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

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

It already shows the remaining track time. It counts down from the track total time (duration).
Great ! Will this be implemented in the next release as well as the UPnP stuff ?
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.