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
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  iPod Mini 2g Theme/WPS Fail
« previous next »
  • Print
Pages: [1]

Author Topic: iPod Mini 2g Theme/WPS Fail  (Read 2445 times)

Offline Jescartes

  • Member
  • *
  • Posts: 5
iPod Mini 2g Theme/WPS Fail
« on: March 20, 2010, 03:12:52 AM »
Hey guys!

I've set my mum up with an old iPod mini 2g with rockbox installed on it, and as part of that i set up a simple theme and wps so she could undertand it nice and easily. It worked nicely, then suddenly it stopped and no matter what i do it reverts to the old theme again.

The theme:

Code: [Select]
wps: /.rockbox/wps/Simple.wps
sbs: -
font: /.rockbox/fonts/08-Nedore.fnt
statusbar: top
selector type: bar (inverse)
iconset:
viewers iconset:
ui viewport: -
volume: -30
scroll speed: 5
backlight timeout: 5

The WPS:
Code: [Select]
%wd

%ac%t4battery is at %bl%%;%ac%t4the time is %cH:%cM;%ac%t4%?mh<ipod is locked|ipod is unlocked>
%acthe volume is at %?pvdB


%s%ac%?it<"%it"|An unknown song>
%s%ac%?ia<by %ia|by an unknown artist>
%s%ac%?id<from %id|from an unknown album>
%ac is now playing!
%ac%t4%pc played so far;%ac%t4%pr to go;%ac%t4%pt total

%ac%s %?mm<Repeat is off|Repeating all songs| Repeating just this song|Shuffle is on|Repeating selection>;
%ac%s%?ps<Shuffle is on|Shuffle is off>

Have I deleted something to make this fail? I've looked over it, and can't work it out. Or is the ipod just being annoying? Anyone got any ideas as to how to fix this?

Thanks! :)
Logged

Offline audio-i

  • Artist
  • Member
  • *
  • Posts: 266
Re: iPod Mini 2g Theme/WPS Fail
« Reply #1 on: March 20, 2010, 03:28:33 AM »
Have you tried it on the simulator? It can help you find the problem easier
Logged

Offline Jescartes

  • Member
  • *
  • Posts: 5
Re: iPod Mini 2g Theme/WPS Fail
« Reply #2 on: March 20, 2010, 03:31:13 AM »
Yeah, it was fine. To be honest I haven't tried it recently, but I have since it stuffed up for me. It worked fine :(
Logged

Offline audio-i

  • Artist
  • Member
  • *
  • Posts: 266
Re: iPod Mini 2g Theme/WPS Fail
« Reply #3 on: March 20, 2010, 03:49:55 AM »
At first sight it looks good to me, which Rockbox version does the mini have installed? The simulators are a bit outdated now, but if you are using stable release 3.5.1 (or 3.5) the release simulator (http://rasher.dk/rockbox/simulator-3.5/) should behave like the actual device.
Logged

Offline Jescartes

  • Member
  • *
  • Posts: 5
Re: iPod Mini 2g Theme/WPS Fail
« Reply #4 on: March 20, 2010, 04:18:51 AM »
Using 3.5.1. Trying again in the simulator, and I'm getting an error I haven't seen before

ERR: Failed parsing on line 3 : ERR: Unclosed conditional

What does it mean? And how do i fix it? :p
Logged

Offline epithetless

  • Member
  • *
  • Posts: 195
    • Dour Times
Re: iPod Mini 2g Theme/WPS Fail
« Reply #5 on: March 20, 2010, 05:15:08 AM »
Take the question mark out of %?pvdB on your third line so it just reads %pvdB. I suspect the question mark's presence makes Rockbox think you're opening a volume-related conditional (which I'm not even sure is possible), when it looks to me like you're just trying to display the volume.
« Last Edit: March 20, 2010, 05:16:49 AM by epithetless »
Logged
Rockboxed: Apple iPod 3G â€¢ Apple iPod nano 2G • iriver H120 • Sansa c250 v1 • Sansa Clip v1 • Sansa Clip v2 • Sansa Clip+ • Sansa e280 v1 • Sansa e280v2 • Sansa Fuze v1  |  non-Rockboxed: HTC Incredible [Android 2.2] • Sansa Fuze v2

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: iPod Mini 2g Theme/WPS Fail
« Reply #6 on: March 20, 2010, 02:48:54 PM »
Volume-related conditionals are possible, how else would so many people make themes with images to indicate the approximate volume level? The conditional format for %pv is %?pv<mute|...|0 dB|over|>, where ... is any number of conditions (usually images, but could also be text) between mute and 0 (separated, of course, by | characters) to show an approximation of the current volume.

Anyway, forgive me for that off-tangent... Yes, as epithetless said, if you're only trying to display the actual volume in dB, you don't need (or want) to use the ? in the %pv tag.
« Last Edit: March 20, 2010, 02:50:28 PM by karashata »
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline epithetless

  • Member
  • *
  • Posts: 195
    • Dour Times
Re: iPod Mini 2g Theme/WPS Fail
« Reply #7 on: March 20, 2010, 05:12:04 PM »
Quote from: karashata on March 20, 2010, 02:48:54 PM
Volume-related conditionals are possible, how else would so many people make themes with images to indicate the approximate volume level? The conditional format for %pv is %?pv<mute|...|0 dB|over|>, where ... is any number of conditions (usually images, but could also be text) between mute and 0 (separated, of course, by | characters) to show an approximation of the current volume.

Oops, of course. ::) I don't know what I was thinking. In my defense, it was about 5:00 in the morning (following a sleepless night) when I wrote/thought that... :D
« Last Edit: March 20, 2010, 05:13:56 PM by epithetless »
Logged
Rockboxed: Apple iPod 3G â€¢ Apple iPod nano 2G • iriver H120 • Sansa c250 v1 • Sansa Clip v1 • Sansa Clip v2 • Sansa Clip+ • Sansa e280 v1 • Sansa e280v2 • Sansa Fuze v1  |  non-Rockboxed: HTC Incredible [Android 2.2] • Sansa Fuze v2

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  iPod Mini 2g Theme/WPS Fail
 

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

Page created in 0.084 seconds with 15 queries.