Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Include the option for a default custom "nocover.bmp" for missing album art.
« previous next »
  • Print
Pages: [1]

Author Topic: Include the option for a default custom "nocover.bmp" for missing album art.  (Read 5436 times)

Offline Serenity

  • Member
  • *
  • Posts: 137
Include the option for a default custom "nocover.bmp" for missing album art.
« on: July 26, 2008, 12:48:57 AM »
I realize this is really really low on the list of priorities, but I was wondering if it would be possible to include a 7th "priority" for Rockbox's album cover search.  Just to make Rockbox fish into a specific folder (like /.rockbox/albumart) for a specific filename (like nocover.bmp) and display that instead of shifting the text or revealing part of the wallpaper.

Useless, I know, but fun.  I use a specific graphic that makes me smile whenever a local demo or something equally unadorned shows up, but I have to save that same image as "cover.bmp" in every folder.  It would be nice to just have Rockbox grab it from the single location each time it can't find a proper cover.

I couldn't figure out how to do this with wps tags--if it's possible through conditionals and I missed the tags, then just tell me I'm dumb.  But I really did look before posting!!  :-[
Logged
If these rings I run were lines, just imagine how much farther I would be.

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #1 on: July 26, 2008, 05:05:14 AM »
completely useless. just make the image part of your wps backdrop.
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #2 on: July 26, 2008, 11:11:19 AM »
The themes that shift the text over when art isn't present were written that way because that's what the theme authors wanted them to do.  That being said, if you wanted to stop that from happening so you could add the no-cover image to the WPS background and not have it overdrawn by text, you could edit the WPS file to remove the conditionals (%?C<> most likely, and fix the viewport definitions appropriately) that change the layout when no art is found.
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #3 on: July 26, 2008, 11:25:35 AM »
I didn't quite catch that until after I had made the post...  I need to stop skimming things so quickly...
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline Serenity

  • Member
  • *
  • Posts: 137
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #4 on: July 26, 2008, 11:48:23 AM »
I'll see if I can use conditionals to display the preloaded image when none is found.

Right now I'm using Ben Zavala's Fullscreen (no text shifting), and while I really like the background that displays under the album art, I'd rather use a dumb little photo that actually states "No Cover" (it doesn't take much to make me laugh).  A graphic like that won't work as a background, though.

Thanks everyone for taking seriously my dumb little idea.
Logged
If these rings I run were lines, just imagine how much farther I would be.

Offline soap

  • Member
  • *
  • Posts: 1679
  • Creature of habit.
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #5 on: July 26, 2008, 01:06:39 PM »
You can always place your own generic cover.bmp image in the root of your music collection to accomplish this.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #6 on: July 26, 2008, 05:15:27 PM »
Soap's solution is documented here: http://www.rockbox.org/twiki/bin/view/Main/AlbumArt#Where_To_Put_The_Images

An advantage of this over including the 'no artwork found' image into the WPS background is that you only have to add one file, rather than modify the background of every WPS you use.

EDIT: I can't get this to work with my folder structure, which is a Music folder in the root, then Artist folders, with Album folders below that. I have to put the 'dummy' cover.bmp file in the Artist folder to get it to work (case 6 in the examples in the Wiki link I refer to above).

It appears there would need to be a case 7 : ../../cover.bmp for it to work in my case.
« Last Edit: July 26, 2008, 05:44:38 PM by yapper »
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline soap

  • Member
  • *
  • Posts: 1679
  • Creature of habit.
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #7 on: July 26, 2008, 10:53:08 PM »
Yes, I guess I did assume one's file structure was only one layer deep.
(Such as mine has been ever since iPod scrollwheel acceleration came into being.)
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #8 on: July 26, 2008, 10:57:11 PM »
I had a look at the source but couldn't find where the album art paths are checked. If anyone can point me at the file I'd have a look at how hard it would be to either check another layer up, or maybe adding something like looking in .rockbox for a default cover.bmp.
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #9 on: July 27, 2008, 07:07:37 AM »
You can do it as a conditional %?<C| Album art True| Album art false>

Use album art true for album art Picture and album art false For no album art picture
« Last Edit: July 27, 2008, 12:21:55 PM by robin0800 »
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Include the option for a default custom "nocover.bmp" for missing album art.
« Reply #10 on: July 28, 2008, 11:18:45 AM »
Quote from: robin0800 on July 27, 2008, 07:07:37 AM
You can do it as a conditional %?<C| Album art True| Album art false>

That should be written as %?C<If Art|If No Art>, what you wrote would break the WPS and force to the old default.
Logged
Welp, my iriver H10 20GB is out of commission again.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Include the option for a default custom "nocover.bmp" for missing album art.
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.123 seconds with 21 queries.