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
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
« previous next »
  • Print
Pages: [1]

Author Topic: Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g  (Read 297 times)

Offline iPodVT

  • Member
  • *
  • Posts: 467
Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
« on: February 22, 2025, 06:32:22 PM »
I have observed repeated freezes when trying to use Resume Playback (via both the main menu and the Play/Pause button) immediately after relaunching the current dev build 4a6b27a712-250221 on two different iPod mini 2nd Gens (both of which are set up more or less identically to each other).  This only happens following a relaunch, not after reboot or shutdown.  It doesn't happen at all when running my most recent backup dev builds on those two minis from which I updated today - one of those backups is 7897cded2d-250218 and the other is ee4591d9e7-250216.  It also does not happen at all with 4a6b27a712-250221 on an ipod6g, an ipodcolor, and an ipod4g that I tested.

I discovered this because I was modifying cabbiev2.wps on one of the minis and then using relaunch to test that mod.  So after testing that mini for the freeze several times and consistently having it happen, I updated the second mini and observed the same freezes.  Although my mod to cabbiev2.wps was working properly, I temporarily reverted it back to the standard issue version of that file to make sure my mod hadn't caused the problem.  In fact, I observed the freeze immediately after relaunching the dev build update on the second mini, while its copy of cabbiev2.wps was still pristine/original.  I had done that dev build update with Rockbox Utility while the mini was booted into Rockbox and connected via USB.  So after disconnecting, Rockbox asked me if I wanted to reload/relaunch (I can't remember the exact terminology it uses) and I clicked Yes, at which point it did the relaunch, not a reboot, and I got the freeze when I tried to Resume Playback.  I tried numerous times, varying between relaunch and reboot, and it consistently froze every time with relaunch but never with reboot.  Also, to be clear, I only updated Rockbox once on each mini, and then repeatedly tried relaunching - I did not repeatedly update and relaunch, update and relaunch, etc.  And it does not happen if I select something other than the current playlist to play rather than Resume Playback.
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 467
Re: Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
« Reply #1 on: February 22, 2025, 07:40:48 PM »
While I was making my mod to my iPod mini's cabbiev2.wps file I noticed how someone had slipped in that very obscure flash of the contents of playername.txt for one second every five minutes.  How many other subliminal (or 'subliminable', as George W. Bush used to say) flashes are planted in the Rockbox UI?  ;-)

Then, while applying the same mod in cabbiev2.wps on the ipod4g, ipod6g, and ipodcolor I noticed that you left out the %s scrolling tag from the beginning of "%ac%Sx(Next Track:);%s%ac%t(1, 300)%ft(playername.txt)" in the "Track Info - No Album Art" section at the bottom of the file, whereas it is present in that location for the ipodmini2.  It was a total coincidence that I happened to notice it - I was modding the two lines that display the "Next Track:" label.  I didn't check for it on any other devices.

Pretty exciting stuff for a Saturday evening...
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 656
Re: Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
« Reply #2 on: February 22, 2025, 08:02:53 PM »
Quote from: iPodVT on February 22, 2025, 06:32:22 PM
Rockbox asked me if I wanted to reload/relaunch (I can't remember the exact terminology it uses) and I clicked Yes, at which point it did the relaunch, not a reboot, and I got the freeze when I tried to Resume Playback.

FWIW I encountered this last week when testing out something completely unrelated.  mini2g, with codecs failing to load/run properly.
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 467
Re: Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
« Reply #3 on: February 22, 2025, 08:23:57 PM »
This issue is very low profile for me and easily avoidable with my usage, though I do tend to use relaunch a lot.  I just wonder if there are other potential issues when that state is present.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
« Reply #4 on: February 22, 2025, 08:38:42 PM »
The idea is to get you to make it your own by adding your own text for playername

If it didn't have the scroll before i didn't add it
So it might be existing or i might have missed it
If you can post a code tag with the contents of your modification that works ill update cabbie
For the device you said mini 2g?
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 467
Re: Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
« Reply #5 on: February 22, 2025, 09:15:11 PM »
Yeah, I know - I just thought it was really funny that it would flash "Rockbox!" for one second every five minutes.

And the scrolling thing is so obscure and insignificant, I just had to mention it.

The small mod I was putting in when I noticed all of this stuff is to append the next track's length to the "Next Track:" label.  So for a next track whose length is 2min 58sec, then instead of reading "Next Track:" it reads "Next Track (2:58)".

In the mini's "Album Art" section I changed
%s%al%Sx(Next Track:);%s%al%t(1, 300)%ft(playername.txt)
to
%s%al%?It<%Sx(Next Track) %(%Pt%)|%?Fn<%Sx(Next Track) %(%Pt%)>>

and in the mini's "No Album Art" section I changed
%s%ac%Sx(Next Track:);%s%ac%t(1, 300)%ft(playername.txt)
to
%s%ac%?It<%Sx(Next Track) %(%Pt%)|%?Fn<%Sx(Next Track) %(%Pt%)>>

I have been working on a full-out theme for 5/6/7 Gen iPods that includes the text from playername.txt displayed in the status bar and the "Next Track" mod incorporated into that theme's .wps file.  Tonight I was just trying out the "Next Track (min:sec)" as a temporary mod in the cabbiev2.wps files to see how it will look on those other devices, until I put together a full set of renamed directories and files to begin a permanent and more comprehensive theme for those other devices.  I know that if I leave it in cabbiev2.wps it will get wiped out each time I update to a new build.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
« Reply #6 on: February 23, 2025, 11:30:21 AM »
you know I think I might add some kind of random line option to %ft() then you could fill playername with a bunch of stuff that will randomly get selected
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Resume Playback freezes after relaunch with 4a6b27a712-250221 on ipodmini2g
 

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

Page created in 0.082 seconds with 22 queries.