rejetto forum

Responsive small screen template

Chris Harris · 154 · 105407

0 Members and 1 Guest are viewing this topic.

Offline r1132

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
Hi!
I can't make my audioplayer show the thumbnail of the playing audio. I was experimenting with variours formats and covers built in these files (ogg, mp3, flac...)
I am using RC7 version and a standard but modified visually template. The most working diff turned out to be "Audioplayer7d(srt)" but i've tested all of them - they are good but the artwork did not work with any of the diff templates. Am I doing someting wrong?
Would be nice if you give me advice. Thank you.


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
@ r1132:

this audioplayer can't read buildin covers of audiofiles

artwork-thumbs-pictures must have same name and be in subfolder thumb
you can extract cover here

you can also edit const ext_th='png', if your artwork are png files
« Last Edit: January 20, 2022, 05:47:56 AM by dj »


Offline r1132

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
Thank you @dj.
So as I understand... If I want to set the image for the album - I should put png in the subfolder called "thumb", right?
But when I want to set the same thumbnail for all the audio played on my HFS, where should I put the png? Near the template? Would be nice to year your advice 🙂


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
@ r1132:

replace
src: audio.src.replace(folder,folder+'thumb/')+ext_th,
with
src: folder+'thumb/folder.jpg',

and put folder.jpg in subfolder thumb
works for me with mobil-light template.


latest Mobillight for Hfs3
« Last Edit: January 22, 2022, 09:50:27 AM by dj »