Commit graph

37307 commits

Author SHA1 Message Date
Solomon Peachy
78283bda64 talk: Voice the volume name when browsing and when voicing full paths
Change-Id: I56660e168edd135a09cd5c021504a58ec9d40093
2024-07-28 16:54:33 -04:00
Christian Soffke
70b96193e7 plugins: properties: use UI viewport for displaying progress
Prevent switching to a fullscreen view when scanning
a directory, which could be a bit jarring, depending
on your theme of choice.

Also pop context menu activity immediately, without
refreshing, so it isn't redrawn when returning from
plugin.

Change-Id: I021e5880505e7f121163851ae732eb47509cc5d8
2024-07-28 20:18:43 +02:00
Christian Soffke
545271c4de plugins: extract redundant functionality from stats/properties
Also:

- Enables cpu boosting for Stats
(*much* faster on some players)

- Displays file size in Stats

Change-Id: I888ba054e1f8c2985fbf8dca36e11e6ef130e7ca
2024-07-28 20:18:41 +02:00
Christian Soffke
6d19214eeb list: remove redundant setting of icon callback to NULL
gui_synclist_init already does this for us

Change-Id: I1288d389c6191416cbc3da37a333b1cad84ee779
2024-07-28 15:33:11 +02:00
Christian Soffke
68fc5b4a7a plugins: playing time: fix missing voice
appears to be a regression from 5d39d987c0

Change-Id: I7b6907338aa647ba3253d56c304a143ab75d7aa0
2024-07-27 19:45:56 +02:00
Solomon Peachy
adbb005fd2 builds: Switch default Bulgarian voice to 'gtts'
I don't like hitting an external service but the voice pool makes
this largely a one-off.

Change-Id: Icbf7951800ef4cdf863f1e7eef7c490f2329f504
2024-07-27 08:31:31 -04:00
Solomon Peachy
566d99aced voice: Switch default English Piper voice to 'en_GB-semaine-medium'
The former one ('cori') had some very pathological corner cases
especiallly when voicing single letters. This one is just
better all around.

Change-Id: I275256a637cf70ba196aafdecc24038bfe841955
2024-07-27 07:47:12 -04:00
Solomon Peachy
2dddf16e2c voice: Shorten silence threshold to 250ms (from 500ms)
Change-Id: I32ef8691f9e0adad1af4fce3c167cfcd950ca120
2024-07-26 21:03:29 -04:00
Solomon Peachy
f95427c081 FS#13457: Korean translation for the Rockbox Utility (Hoseok Seo)
Change-Id: I0a3ed46279a4606d6f6428131aadb4e6381ced7d
2024-07-26 20:51:27 -04:00
Christian Soffke
a64faae09e plugins: properties: optimize slightly
- We only have to update stats->dirname when entering
a new directory, or when id3cb needs to be called
- Reduce frequency for calling get_action and LCD update
- Replace dir_stats->len and hardcoded MAX_PATH with
sizeof
- Don't show paths in Properties during scanning
- Don't show error when user cancels

Change-Id: I4afbeba561e69188e8039fa8d91eb1e91318bdab
2024-07-26 21:16:13 +02:00
Christian Soffke
b52e72db36 plugins: playing time: improve precision
Add up length and size of tracks in ms & Bytes,
then only convert units to s & KiB at the end.
Otherwise, the result can be noticeably off when
dealing with a large enough number of tracks.

Change-Id: I2a3e502508089830f63b24c3bbdbb0ab8f57cabe
2024-07-26 21:16:13 +02:00
Christian Soffke
23e5f77ab0 Remove mp3info function & remove list_do_action from plugin_api
Change-Id: Ia9a2d6889679832f23b19a989927277ba886cba4
2024-07-26 15:15:06 -04:00
Solomon Peachy
13830439fa Fix multidrive/multivolume hosted builds.
Generalize the fix in 2348779ae6 to apply to hosted as well as simulator
builds.  Original regression introduced in c0ac043c6d

Change-Id: Ia786533cc318555e3bb842eb21a73a1f76888379
2024-07-26 10:54:07 -04:00
William Wilgus
e94f778f1c plugin argparse update to add userdata to callback
fix a couple of gotchas if you aren't using NULL terminated strings

Change-Id: If5d2a60c0c3e1653e26df50bfda7d3191989bca9
2024-07-26 00:56:13 -04:00
Solomon Peachy
e8d7a8baaf simulator: Fix browsing into secondary drive on multidrive targets
Change-Id: I4e993acdedb516f0ae4fc230a62cb00de8dcef86
2024-07-25 21:28:01 -04:00
Solomon Peachy
10e883fe02 FS#13455: Updated Italian translation (Alessio Lenzi)
Change-Id: I6526acf718639961e7942fac69b67f401d9e6af9
2024-07-25 17:16:47 -04:00
William Wilgus
2348779ae6 [Bugfix #2] initialize the volume names for the sim
and fix red for the devices that don't have ext drives

Change-Id: I66b8ea1e1b22a42cee2957a504756e7f785bd0ae
2024-07-25 00:32:40 -04:00
William Wilgus
67db38e766 [Bugfix] initialize the volume names for the sim
init_volume_names() wasn't being called by the sim

Change-Id: Ife0d345cf29bd4a0a658ed194ee85ca4852bc92f
2024-07-24 23:43:36 -04:00
Solomon Peachy
bcaeaa135a build-info: Add a trailing newline to the output
Change-Id: I994cd41c7d9f3767e42d6a5de935f8b7965426d2
2024-07-24 20:03:39 -04:00
Vencislav Atanasov
780c05a64d Fix empty string in the Bulgarian translation
From the Rockbox Translation website:
When the English language is set to "" or none, the translation should follow. The strings below don't do this. This is an error and should be fixed.

Change-Id: I4a6946170bf6bf5b4b1f14ebc4f8b3be6ff2f985
2024-07-24 11:50:33 -04:00
Solomon Peachy
a872e38ccc voices: Use espeak, not piper, to build bulgarian voices.
As there was no bulgarian piper voice, it defaulted to czech, with
very bad results.

Change-Id: I15dd7c3007d7b7e50a40bea20c37640e7aebb39e
2024-07-24 09:47:43 -04:00
Solomon Peachy
e8975cf85c Fix typo inadvertantly introduced in 89b4cd59ef
Didn't cause any compile problems becuase we have no APPLICATION
targets that support recording.

Change-Id: I84594481abaccde01646a491e7d9c6b3abc36954
2024-07-24 09:01:57 -04:00
Solomon Peachy
334def8431 configure: Fix android x86 build
Change-Id: Iea1d92bcf83f016e724496ebf037c8402ede170c
2024-07-24 09:01:04 -04:00
William Wilgus
89b4cd59ef [BugFix] extra slashes in recording directory
the define for HOME_DIR has a single slash for native

hosted does or doesn't but native always has 2

Change-Id: I2ff546da8e422feb04027de164caf3747f6d9355
2024-07-23 22:14:16 -04:00
Franklin Wei
cd1922fe74 puzzles: update documentation and copyright year.
Change-Id: I50731664f278f76946f96529f4ec696c9c115589
2024-07-23 20:56:05 -04:00
Christian Soffke
96f564fe64 manual: update single mode
reflects changes made in commit fe5375a

Change-Id: Iaf85d7ca0fd4765f3dbbd4ae82e4b8dea8455942
2024-07-23 18:36:16 -04:00
William Wilgus
c0ac043c6d get_volume_name generate volume names once then reuse
Change-Id: I36c62bfb28af9770b551a1193fbb66eb6fbac76a
2024-07-23 18:35:52 -04:00
Solomon Peachy
254eaf509e Fix the final two Bulgarian translation same-as-English issues
Change-Id: I6ec904ad0062a3a9b2c909f33a5ec14831471ce3
2024-07-23 15:57:40 -04:00
Christian Soffke
8d436561e2 plugins: playing time: use cpu_boost + simplify a bit
Change-Id: I860621530af1d5c6a6de9651fc81e235e43ece97
2024-07-23 21:14:31 +02:00
Solomon Peachy
6dd9b9786c voice: Fix typo in Bulgarian gtts default cmdline
Change-Id: I56b285aa1ba89f645702b514339d60e3679fc98c
2024-07-23 13:55:37 -04:00
Vencislav Atanasov
dd58b05f61 Update Bulgarian translation, part 2
Change-Id: I1480fef46e05bde23a5a2d62b34f14f6bb5387b6
2024-07-23 20:31:09 +03:00
Solomon Peachy
a153f6c266 voice: Add defaults for Bulgarian voicing, and add it to the nightly builds.
Change-Id: I40e9eaf34c68c3e1f77591862f5c4eb6c2a2c059
2024-07-23 12:15:27 -04:00
Vencislav Atanasov
ba4a6f2adc Update Bulgarian translation
Change-Id: Ida1cc237f7e8dab0e7a2afe4c39cfd6a49073418
2024-07-23 18:56:44 +03:00
Franklin Wei
62b0456a4b puzzles: resync with upstream (adds new Palisade cursor interface).
Resyncs properly with this slightly modified upstream:

https://www.franklinwei.com/git/puzzles/commit/?h=rockbox-devel&id=1c62dac3f4f1a819a394ff33cc82912cf9079b50

Change-Id: I2018e81647c22010f9d74d8d14d13982f2969a8f
2024-07-23 06:05:45 -04:00
Franklin Wei
09aa8de52c puzzles: resync with upstream
This brings the puzzles source in sync with Simon's branch, commit fd304c5
(from March 2024), with some added Rockbox-specific compatibility changes:

https://www.franklinwei.com/git/puzzles/commit/?h=rockbox-devel&id=516830d9d76bdfe64fe5ccf2a9b59c33f5c7c078

There are quite a lot of backend changes, including a new "Mosaic" puzzle.
In addition, some new frontend changes were necessary:

- New "Preferences" menu to access the user preferences system.
- Enabled spacebar input for several games.

Change-Id: I94c7df674089c92f32d5f07025f6a1059068af1e
2024-07-22 21:44:08 -04:00
Solomon Peachy
c72030f98c voice: Add default voice entries for Korean for gtts and espeak
(Piper does not have a Korean voice set yet)

Change-Id: I6675aed6f7b1f376cd80bcb447ceae8e6bedac36
2024-07-22 20:34:40 -04:00
Solomon Peachy
e8257580c6 voices: Add Korean (using espeak-ng) to the nightly voice build set
Change-Id: I8dd3db1fa571353e8a3c06fb6db0d8205530bfd5
2024-07-22 20:27:24 -04:00
Christian Soffke
9a84e9eb34 tree: fix return to root after adding to existing playlist
When adding files to an existing playlist from
the database or file browser, Rockbox returns to
the root menu afterwards.

Appears to be a regression introduced in commit 72c539d
for the file browser. For the database, it has only
become noticeable since commit 188f025

Change-Id: Iac48fe74d20d25f083005f6ebff5abc7ee425080
2024-07-22 15:56:00 -04:00
Solomon Peachy
20948c1b0e FS#13454: Updated Korean translation (Hoseok Seo)
Change-Id: I15859834de4af66333a3738e1be01aa3d44cf42a
2024-07-22 13:43:00 -04:00
William Wilgus
7720b0c4e4 [Bugfix] crashes on usb unplug, extra text on USB screen, viewportmgr ovfl on sim
make _lists_uiviewport_update_callback a oneshot
and reset it each call of list_do_action_timeout()

block multiple runs of gui_usb_screen_run() in the sim

Change-Id: I0c0429c42622c82bcf481ad13efdc47e9055a1bb
2024-07-22 10:27:24 -04:00
Solomon Peachy
2bb9323de8 FS#13429: Add a freeform "player name" configuration setting
The idea is that a theme or whatever could use this to provide visual
differentiation (eg "George's iPod") between multiple
otherwise-identical players..

Defaults to an empty string.

Added to the manual but there is not a way to set this through the
menus yet.

Change-Id: I1cff6b19d621dd6207b4b82eed67741ce2da0ef1
2024-07-22 09:42:05 -04:00
Vencislav Atanasov
ca332b5473 Fixes for the SysCfg viewer
- decrease max entries to the required minimum
- merge two info lines
- fix value in too many entries error message

Change-Id: I72eeca5dd9c7c2fbb4978d0972d4db532dfa901e
2024-07-21 18:12:46 -04:00
Solomon Peachy
f3a5fe2738 FS#13453: Updated Polish translation (Adam Rak)
(Another member of the growing 100% club!)

Change-Id: I82287d1a03e6a749066f72129942ed74e6f1465c
2024-07-21 16:29:07 -04:00
Roman Artiukhin
fe5375a6cb Improve Crossfade handling in Single Mode
Crossfade (see Playback Settings -> Crossfade) now works between songs in Single Mode (see Playback Settings -> Single Mode) unless it’s the last song to be played.

Change-Id: Icfe3d48459bb35bbc050f237a68b27e793ab9152
2024-07-21 11:51:02 -04:00
Solomon Peachy
9f366b1b8a voice: Flag ':' in voiced strings.
Also corrected the 100% languages:

   English, English-US, Chinese-Simplified, German, and Italian

(There is one Italian string I didn't know how to fix)

Change-Id: I958c6737810ad0199333d17fc092eab3120cef40
2024-07-21 11:22:24 -04:00
Solomon Peachy
370fde68ab Fix Korean VOICE_LANG_NAME
It needs to be "korean" not "english"

Change-Id: Icf984c64d33a707d25afed90591d0eff7ed78884
2024-07-21 10:54:49 -04:00
Solomon Peachy
3294337a4c builds: Based on feedback, switch default Slovak TTS to espeak-ng
Change-Id: I399ed08fd5e4facd96c16791e0fea91d69e37cc2
2024-07-21 09:46:59 -04:00
Solomon Peachy
7c565fd40d Fix a typo in the Korean translation
Change-Id: Ib97098e065a904606be7b5d1fc61d890ccea828b
2024-07-21 09:46:59 -04:00
Solomon Peachy
06123c3606 FS#13452: Major update to Korean translation (Hoseok Seo)
...It's nearly complete!

Change-Id: I660f6f3b8bdb46d052a47860659f7041e77e3217
2024-07-21 09:45:12 -04:00
Christian Soffke
a286555578 plugins: properties: Add Directory Track Info
Change-Id: I4bf5ececc73a52afa6c5ff46f23b5ad2368826c0
2024-07-21 13:50:39 +02:00