1
0
Fork 0
forked from len0rd/rockbox
Commit graph

37868 commits

Author SHA1 Message Date
Roman Artiukhin
ff0ad4ca7d metadata: aac: support .aac files with mp4 container inside
Change-Id: Id982c58184197f6b2f9eeb0cf403cc2e30a97e24
2024-09-23 17:43:13 +03:00
Solomon Peachy
77ff799502 lang: Delete two completely redundant strings
Change-Id: Icedae2687688b8d042c9d9ca232b566ff8f65531
2024-09-22 16:44:08 -04:00
Solomon Peachy
8f8fb13edb dbtool: Fix build when we have HOTSWAP but not MULTIVOLUME
(Not sure how that can happen, but... eh)

Change-Id: I7754f1678698e8781df76c2f88bdf12cc43a5e0e
2024-09-22 10:41:25 -04:00
Solomon Peachy
e5d4e33403 manual: Additional notes about Flash/SSD mods
Change-Id: I2f54879cb2c0fe43179b59f5e5f3e8cf7dfc92e2
2024-09-22 09:20:57 -04:00
Solomon Peachy
1e7334a22c manual: Document the 128GB AppleOS limit of early ipod6g models.
(And do some minor massaging of the other storage limit language)

Change-Id: I73957b58cab9777dab0934215c743fd3d810db0f
2024-09-22 08:54:04 -04:00
Solomon Peachy
395311f7a1 simulator: Make sure we define the right stuff for sigaltstack()
We got some of this stuff through SDL1 implicitly.

Change-Id: I349be640ac15f79048d860bb58bae93a74a0e1ec
2024-09-21 19:08:32 -04:00
Solomon Peachy
a7fba55fcf warble: Fix build
Change-Id: I52028c2244a9951fc4a04f82cf1c85557539a50b
2024-09-21 19:08:31 -04:00
Solomon Peachy
6ed8b9091c Misc: Compiling under SDL2 uncovered a few issues unrelated to SDL itself
Change-Id: I625d5dd02d3f70bc6484a8641eafdaf13812f4a7
2024-09-21 16:32:58 -04:00
Christian Soffke
bc56e9a9dc SDL: Don't apply settings when starting DMA playback
This seems to be redundant since it
already happens in pcm.c

Change-Id: Ib27d1a225758e5f2919446ceb6de4a038abfa062
2024-09-21 15:14:54 -04:00
Roman Artiukhin
3f3ec8273a metadata: aac: Fix any file is treated as valid aac
Fixup for d50470bc

Change-Id: Ie96a636afd3f18e03d70601628c2731cb7314483
2024-09-21 14:51:50 -04:00
Solomon Peachy
1be795c9b1 fix red thanks to tex4htm being a doody-head
Change-Id: Ic29916cb88c224f4bfb78075a399df0d320abfc3
2024-09-21 13:15:58 -04:00
Solomon Peachy
babc1e57e1 manual: Add a blurb about Windows format tool limitations
Change-Id: I8b51ad4d92910f5b143da02b0db90a851c68f41d
2024-09-21 13:01:45 -04:00
Solomon Peachy
5d6e498178 manual: Document storage/capacity limits and "SSD Mods"
Change-Id: Ida3e4bc2129bfa3481ddcc961f4156c3033189a1
2024-09-21 11:00:53 -04:00
Solomon Peachy
9a714939e8 features: Add 'sd_storage' if the device uses SD cards
Change-Id: Ied3ca34ef497cf0eeb7db6d0f948e43ebd25359e
2024-09-21 10:48:24 -04:00
Solomon Peachy
a056150d52 updatelang: Flag '|' in voice strings too
Change-Id: Id82bf7bd19741e7275d188ceeea872ebeb30e1eb
2024-09-18 10:43:34 -04:00
Solomon Peachy
e0df9952fd ata: Alter ata_is_active() when drive doesn't support power management
Due to the heisenberg principle, we don't want to check the battery
level when the ATA drive is "spun up".

Unfortunately some ATA devices *cough most SD adapters cough* don't
support mandatory ATA power management commands like flushing caches and
(safely) shutting down so we have to leave them "spinning".

This leads to us never updating our battery status with these
out-of-spec devices.  Work around this issue by having is_active() always
return false if that's what we have.

Change-Id: I629f3fdbc7e5cffb0a4d546c80cb5fca8529c0e6
2024-09-18 08:26:14 -04:00
Solomon Peachy
c71b6265b0 Fix a mechanical error in the Simplified Chinese translation
Change-Id: Ibdd4b948ec8e2e6d761362e465a7117ef74e1520
2024-09-17 11:09:41 -04:00
Solomon Peachy
e09c055a41 lang: Replace all <...> with [...]
<..> gets interpreted as a drive/volume ID, which has special voicing rules.

(this is especially visible in the DB browser)

Change-Id: I7c2598004a4e58451267d77f786eb52f7c09bd3f
2024-09-17 10:21:46 -04:00
Solomon Peachy
24ae4aee33 updatelang: Expand suspicius character tests.
* dest:  < >
 * voice: [ ] < > { }

Change-Id: I97701e52807db996037b7542fb0b01f9db0dbc0f
2024-09-17 10:18:29 -04:00
Solomon Peachy
7d9fbae749 Minor mechanical updates to the Russian translation
...This should be sufficient to push it to 100%

Change-Id: I6b884725a7d3823c66742856cd7e581880d0830e
2024-09-16 08:27:42 -04:00
Solomon Peachy
9fb6883d01 FS#13489: Updated Russian translation (Dmitry Prozorov)
Change-Id: I8e605959101b3fd08eae92b7eb80c9a8525bc5e3
2024-09-16 07:53:58 -04:00
Dana Conrad
bb1c2ea0b1 Fix manual build in 018c54ad1c
Change-Id: If0bce46e161b1f61543c73a4417eda1c179c34a7
2024-09-15 20:34:22 -04:00
Solomon Peachy
607adf00b5 manual: fix error in 018c54ad1c
Change-Id: I58bc8f726d2c82c0586e982753dda55c028aa3bd
2024-09-15 15:07:12 -04:00
Dana Conrad
018c54ad1c Manual: Update erosqnative
Update installation instructions, and add a couple things that
were missing.

Change-Id: I7313285338fe5c4bc05a944e3ba2ff941a796d5b
2024-09-15 14:53:49 -04:00
Solomon Peachy
5ab334f07f FS#13488: Updated Russian translation (Dmitry Prozorov)
Change-Id: I2950fdef4ba5b8373b7661ececd15c02822dd403
2024-09-15 09:57:59 -04:00
Solomon Peachy
84375e5524 builds: Promote erosqnative, m3k, and q1 to stable
Change-Id: I6dde4a0d980544df2872f10cac9c0d085af688d0
2024-09-15 09:08:12 -04:00
Solomon Peachy
10382caa3b FS#13487: Updated italian translation (Alessio Lenzi)
Change-Id: I47a45002c0da8d6ae5160ffe6d423a3061c654bd
2024-09-15 07:18:20 -04:00
William Wilgus
de355d225c Remove static buffer from shortcts.c
as long as we put it back the way we found it u.path is a
writable buffer

Change-Id: I6f1e6139ce96b8edb61ad8b0ae6a6f2218eee855
2024-09-13 11:22:46 -04:00
Solomon Peachy
563137b480 builds: Mark the 'erosqnative' manual as okay, so it gets built nightly
Change-Id: I83ed24961e708b722b4c988577aeafa466c43943
2024-09-13 10:19:20 -04:00
William Wilgus
79bed1f422 RFC skin_tokens remove a static buffer
it was hard to hit this branch, I had to comment out:
ln 555    else if (offset == 1)
ln 556        pid3 = state->nid3;

as far as I can tell the reason for the separate filename buffer
was due to the failure mode of audio_peek_track() wiping
the id3->path, stands to reason for me that we can just fill it
again

-Already found a gotcha playlist_peek() mutates the buffer
 makes me like this solution less, might rework tagcache_fill_tags()
instead

--Fixed

Change-Id: I4a2ee71a8e2d0739c9e141948b71c2ed36296e3b
2024-09-12 19:16:02 -04:00
Dana Conrad
2a0f3c8276 hibyos_nativepatcher: rewrite for either fresh install or uninstall
Since we can easily create our own install files for erosqnative,
modify script to create fresh install image from bootloader.erosq
or add bootloader to installation manifest of stock update file
to uninstall rockbox.

USAGE:

    hibyos_nativepatcher.sh <mkrbinstall/mkstockuboot> [arguments depend on mode, see below]

    hibyos_nativepatcher.sh mkrbinstall <OFVERNAME (erosq or eros_h2)>
        <path/to/output> <path/to/bootloader.erosq> <HWVER (hw1hw2 or hw3)>
        Output file will be path/to/output/erosqnative_RBVER-HWVER-OFVERNAME.upt.
        Only the Hifiwalker H2 v1.3 uses "eros_h2", everything else uses "erosq".

    hibyos_nativepatcher.sh mkstockuboot <path/to/OFupdatefile.upt>
        Output file will be path/to/OFupdatefile-rbuninstall.upt.

Change-Id: I16bc6e43c42f99475ebdd5ec1ac1bae047129745
2024-09-12 17:09:52 -04:00
Solomon Peachy
85652e6bd1 FS#13486 - Updated Korean Voice translation (Hoseok Seo)
Change-Id: Ic6266ef664fb158fc1ee2c5c3e67a34d429a4571
2024-09-12 10:46:39 -04:00
Solomon Peachy
7e31b73eda Multiple Translation updates
- Korean (Hoseok Seo)
 - Polish (Adam Rak)
 - Simplified Chinese ( 王吉)
 - US English (Solomon Peachy)

Change-Id: Id5fa80d1d6711cdcb93d158ff014552732168e18
2024-09-10 15:35:14 -04:00
Timothée Jaussoin
6b67f0fd3d Complete the french translation for the main menus and settings
Change-Id: I943b610a49a12e7d98d226a64d1284b96ae5e549
2024-09-10 10:08:56 -04:00
William Wilgus
8b754ce591 tagtree add crc check so we can reuse already loaded entries
If you have a lot of tracks loaded in a database view and play a
track it builds a playlist and puts you into the wps

if you stop playback and exit the WPS you are immediately
loading entries that were just loaded

if you return to the database again reload data thats probably
still there

this patch gets a crc of the data and if it matches reuses it in
the tagtree rather than reloading it

Change-Id: Ice3aba7569f19afdd1627ba18c2dc781f98cbf93
2024-09-10 03:49:21 -04:00
Paul Sauro
f7db73097a Playlist viewer: Add new options to allow formatting using tags
Offer new options to show elegantly your entries in any playlist/dynamic playlist viewer. This is especially important if you dual boot an iPod with Stock OS and want to sync with iTunes; with this very popular setup, file names are obfuscated which results in any Rockbox playlist viewer difficult to enjoy, and it was a long standing issue reported by several Rockbox users over the years. The only way to show the title was to open a contextual menu on each song to get infos about the selected song, which is a very long and anti-ergonomic process to understand what is on your current playlist/randomized playlist. The idea of this patch is to provide new alternatives that the user can select. I personally selected the Title & Album view which provides excellent readability.

This patch was built with performance in mind using lazy loading to load one by one the tags then cache a string and use the little cache as much as possible to make scrolling in the same area as smooth as possible. Performance remains very acceptable even on an iPod 4G with its original hard drive. Using a real compact flash with my iPod Mini 2G reduces the latency even more.

Those new options are disabled by default because they impact noticeably the scrolling performance and are less relevant if your files are decently properly named.

Unfortunately, the search feature in a playlist will need to continue to use the raw filename because reading the tags for a whole playlist is a performance disaster. This works decently while viewing just because I made a code that load those one by one as much as possible.

I focused also on testing that the opening of the playlist viewer UI remained fast, and loading one by one with lazy loading allows to get very little overhead in this regard.

Change-Id: I00d9c802e29f8372447813b035bbae207a016467
2024-09-09 18:21:38 -04:00
Dana Conrad
a7cfee640d erosqnative: only check for EROSQN_VER if bootloader build
Change-Id: If1dea2414b5c55d54dfd48aa9b24d29bdd49001a
2024-09-08 17:10:04 -04:00
Solomon Peachy
1f1b3bce86 FS#13480: Updated Russian Translation (Dimitry Prozorov)
Change-Id: I6f35d6b596c580e22346b806b2f8fc987a85d219
2024-09-08 14:31:56 -04:00
Solomon Peachy
868631e7d1 Update US English "translation"
Change-Id: I8c5213fdec3cec418179920c00ab3766d6249fd7
2024-09-08 14:31:56 -04:00
Solomon Peachy
37ca92d276 lua: button_helper needs $(EXTRA_DEFINES) on the host build side
Change-Id: I526f2deec4e4f9b8dbf00015c2c9a76f738a6248
2024-09-08 12:57:22 -04:00
Solomon Peachy
83890c249c FS#13482 - Corrected italian translation (Alessio Lenzi)
Change-Id: Ibd13cdf68aca4d72865e8f75adfcdcc13753eb0d
2024-09-08 12:32:21 -04:00
Solomon Peachy
1aa5d24a25 CREDITS: No nicks/handles, just RealNames.
Change-Id: I71bd9ae0551acf63f88d7fc528fb046a61d9f9a0
2024-09-08 12:31:35 -04:00
Dana Conrad
89fd4d0a51 hibyOS: OF patcher script for Native ports
This is a script to patch a native bootloader
(bootloader.*) into a stock OF firmware image (update.upt).

Usage: hibyos_nativepatcher.sh <path/to/update.upt>
<path/to/bootloder.*>

Resulting file will be placed next to the original update, and will
be named [$orig_name]_patched_[$rbver].upt

Now with some rudimentary error checking at key points!

Works on macos.
Works on linux, at least debian in docker. Linux
usage requires 7z and genisoimage.

Change-Id: I2878e7ab4652b73f44c6f1efd54047953f636c86
2024-09-08 12:29:23 -04:00
Dana Conrad
a5462d6192 erosqnative: Give erosqnative_v3 its own target ID and modelname
This is needed so "make clean; make reconf" will work correctly.

Change-Id: Ife13e59ac6054f04f7095aa2263ec64595eeb3a2
2024-09-08 12:29:03 -04:00
William Wilgus
a86e2b5c6e Tagtree selective random playlist -- rewrite
this is a bit cleaner without so much ram (or code) used

Credit to goes to Paul Sauro (OlsroFR) as this was his idea

if available space exists in the pluginbuf it uses fisher yates
shuffle to get good probability
and falls back to random permutation if not

Change-Id: I413078a48314ce4c6f3722c78e0858a407b7b46e
2024-09-08 12:09:04 -04:00
Wolfram Sang
22b05c97a3 codec: cRSID: check whole load address
Due to a typo, only the high byte of the embedded load address was
checked to be empty. For a full check, high and low byte must be
evaluated, of course. Also, fixed in cRSID 1.3.

Change-Id: Ib0b701622b006ab4bb1791f07bf17b3b06a70719
2024-09-05 16:16:18 +02:00
William Wilgus
55e1a78cf8 Reworks to the shuffle system
spread remaining songs amongst segments
bit of code clean-up

Change-Id: I198b54978eb9d111e060bb9aca3d71c348cad7c9
2024-09-04 10:58:24 -04:00
William Wilgus
34e54b33f7 codestyle changes on g5911
Change-Id: I8e3b172686fe78d52a8b407193479d3af36ee536
2024-09-04 10:58:24 -04:00
Solomon Peachy
87e9ca2d3a FS#13481: Updated Simplified Chinese translation (王吉)
Change-Id: I3e6022be2f89e85424a9ead3a3159d7043dc0fcc
2024-09-04 08:50:15 -04:00
Solomon Peachy
142003328d Translation updates:
* English-US (Solomon Peachy)
     * Italian (Alessio Lenzi)
     * Korean (Hoseok Seo)
     * Polish (Adam Rak)

Change-Id: I9c936468e1b96cb8496274076b542f1625d6ae21
2024-09-03 11:21:30 -04:00