Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Coverview improvements
#41
(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/co...1cb4e8b951

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
Reply
#42
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 ?
Reply
#43
Whats already shown is the REMAINING_TRACK_TIME.
So maybe something like

REMAINING_TRACK_TIME / VOLUME_DB
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#44
(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
Reply
#45
(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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#46
I rigged up some code and to me it looks busy. Too many numbers :-0

   
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#47
(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
Reply
#48
(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).
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#49
(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
Reply
#50
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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: