rockbox/apps/gui/skin_engine
Solomon Peachy e94a96cdcf FS#13497: '0' is sometimes a valid track number
Most notably for CD rips that use a track number of 0 for
the leadin.

Therefore change our "invalid track number" canary to -1 instead
of 0.  Additionally don't try to parse an empty string.

In the process, get rid of redudant 'discnum = 0' as well.

NOTE: While not strictly necessary, we recommend rebuilding the
      database to ensure files without track numbers are
      updated with the new canary.

Change-Id: I543f98ca49cec7b5eeffa7c14c1eca57171f345a
2025-12-06 09:20:32 -05:00
..
skin_backdrops.c [Bugfix] Copy current lcd contents into empty background buffers 2025-01-06 02:26:11 -05:00
skin_display.c Remove NVRAM infavor of a separate cfg file 2025-01-21 00:04:32 -05:00
skin_display.h skin engine: Remove progressbar viewport field 2022-11-23 09:44:23 -05:00
skin_engine.c touchscreen: Port skin engine to gesture API 2025-12-04 19:00:38 -05:00
skin_engine.h [Fix Yellow] remove DEBUGF from skin_parser.c cleanup spaces 2024-12-03 01:48:50 -05:00
skin_parser.c skin engine: Fix some user-created touch regions being suppressed 2025-12-05 12:02:53 +00:00
skin_render.c Bugfix FS#13696 - ID3 year with substring cause panic 2025-11-25 17:00:50 -05:00
skin_tokens.c FS#13497: '0' is sometimes a valid track number 2025-12-06 09:20:32 -05:00
skin_touchsupport.c touchscreen: Allow progress bars to be used in the .sbs 2025-12-05 12:02:53 +00:00
wps_internals.h skin engine: Fix some user-created touch regions being suppressed 2025-12-05 12:02:53 +00:00