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
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
| | |-+  ALBUM ART for Files
« previous next »
  • Print
Pages: [1]

Author Topic: ALBUM ART for Files  (Read 1979 times)

Offline wildertux

  • Member
  • *
  • Posts: 6
ALBUM ART for Files
« on: January 30, 2012, 04:17:51 PM »
Hi, sorry for my bad English!
I have my musik on my PC with mp3 files, and there in id3v2.4 tags, APIC (Picture) Frames like Front-Cover, Back-Cover, Lead Performer, and more!
Rockbox will read nothing if there more as one APIC frame!
Front Cover is not a big Problem, just add cover.jpg in Album Folder! (see Manual Appendix for more ways)
but i will, i will, i will see "Lead Performer" in wps:
    there was only the way, <filename.jpg>, but i will not see filename.jpg on folder-view:
        there was a filefilter that can i put on only Music-files, but i have Video-files!
            Crash no more Options :-

so my Question/Idea for better view !
rockbox should looking for <.filename.jpg> or <filname.jpg>!
I think all the people they use filename will show for any file a other Picture in wps, and i think they all will not see this files in File-Browser!


Post Merge: January 31, 2012, 09:02:07 AM
sorry for my Bad English!
I have now write a patch, but not only my English is BAD, my C too, if it be C  ::)!
it is the first time that i something changing in RockBoxCode, and i dont now how i should use git to publish this Patch!

'./apps/recorder/albumart.c'
Code: [Select]
145a146
>     char filehead[MAX_PATH + 1];
148a150
>     const char *filename;
150a153,154
>     int filenamelen;
>     int fileheadlen;
169c173
<     strip_filename(dir, sizeof(dir), trackname);
---
>     filename = strip_filename(dir, sizeof(dir), trackname);
170a175
>     filenamelen = strlen(filename);
189a195,206
>         if (!found && filenamelen > 0)
>         {
>             /* if it doesn't exist,
>             * we look for a file current track with dot hidden */
>             strip_extension(filehead, sizeof(filehead) - strlen(size_string) - 4,
>                             filename);
>     fileheadlen = strlen(filehead);
>             pathlen = snprintf(path, sizeof(path),
>                             "%s.%s%s." EXT, dir, filehead, size_string);
>             fix_path_part(path, filenamelen, albumlen);
>             found = try_exts(path, pathlen);
>         }

can anyone help?
« Last Edit: January 31, 2012, 09:09:06 AM by wildertux »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: ALBUM ART for Files
« Reply #1 on: February 01, 2012, 12:35:21 AM »
You should first post it to the patch tracker so others can try and comment on your patch.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: ALBUM ART for Files
« Reply #2 on: February 01, 2012, 06:27:39 AM »
Follow the instructions on http://www.rockbox.org/wiki/UsingGit - if this isn't clear enough, please tell us exactly how far you got and what happened when you got stuck, and we will try and improve the instructions.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: ALBUM ART for Files
« Reply #3 on: February 01, 2012, 10:19:33 PM »
Is this functionality of Gerritt now the preferred method of submitting patches?  Will flyspray be deprecated for patch management?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: ALBUM ART for Files
« Reply #4 on: February 01, 2012, 10:23:48 PM »
Quote from: Chronon on February 01, 2012, 10:19:33 PM
Is this functionality of Gerritt now the preferred method of submitting patches?  Will flyspray be deprecated for patch management?

Eventually flyspray will probably be for bug reports only I think.  But we're not quite there yet. 
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: ALBUM ART for Files
« Reply #5 on: February 02, 2012, 05:23:28 AM »
Quote from: Chronon on February 01, 2012, 10:19:33 PM
Is this functionality of Gerritt now the preferred method of submitting patches?  Will flyspray be deprecated for patch management?
We haven't formally said that we're not accepting patches on flyspray any more, but that is pretty much the intention eventually. Gerrit makes it much easier for committers to look at, comment on, and submit patches.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  ALBUM ART for Files
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.087 seconds with 15 queries.