Support and General Use > User Interface and Voice
a problem with creating shortcuts
JdGordon:
well shortcuts doesnt d anything special, it just uses readline() and settings_parseline(), so not sure why crlf is causing problems.
jiriholz:
I have created shortcuts with lf line ending successfully I would like to set a language from shortcuts. the shortcut appears, but no effect. I wrote this [shortcut]
type:setting
data:lang
/.rockbox/langs/Czech.lng
name:Czech
talkclip:/.rockbox/ozvuceni/Czech.talk
--- Quote from: JdGordon on March 10, 2012, 09:33:10 AM ---well shortcuts doesnt d anything special, it just uses readline() and settings_parseline(), so not sure why crlf is causing problems.
--- End quote ---
JdGordon:
type:file
data:/.rockbox/langs/Czech.lng
name:Czech
talkclip:/.rockbox/ozvuceni/Czech.talk
ThisIsMikeHere:
I just had the same problem with rockbox v3.11.2, on sansa clip+. As mentioned a reboot is required to read a changed file.
A file shortcuts.txt using LF (0x0A) works - UNIX format.
A file shortcuts.txt using CRLF (0x0D, 0x0A) fails - PC format.
I use textpad and there they use the terms UNIX/PC for the two filetypes.
JdGordon:
Fixed... finally! try the next dev build
Navigation
[0] Message Index
[*] Previous page
Go to full version