![]() |
#3571 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Just for the records.
Following code form fskcache.xs looks promising to extract more tags from mp3 Code:
this.FskCache.audio.fromFile = function (path, mime, player) { var local, value, thumbnail, art, bitmap, bounds; <global>.FskCache.media.fromFile.call(this, path, mime); try { if (!player) { local = player = new <global>.Media.Player.File(path, mime); } value = player.getMetaData('FullName'); if (value) { this.title = value; } value = player.getMetaData('Album'); if (value) { this.album = value; } value = player.getMetaData('Artist'); if (value) { this.artist = value; } |
![]() |
![]() |
![]() |
#3572 |
Enthusiast
![]() ![]() Posts: 32
Karma: 124
Join Date: Feb 2011
Device: Kobo Aura H2O
|
from some reasons I cannot post to the "issues" page (submit issue button does not activate). I hope not to annoy anyone by doing it here then.
950 / analogus nightly 50 What steps will reproduce the problem? 1.bind toggle touch screen to key 2. 3. What is the expected output? What do you see instead? expected is that touchscreen can be disabled/enabled. I have tried to bind to long press option and long press vol+. Neither changes touchscreen function (have tried the global and other options). I have not tried any other key (I would prefer mostly long press option for this). |
![]() |
![]() |
![]() |
#3573 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
If I recall correctly keybinding just binds certain functions to keys it does not disable any function. If you want to affect the touch screen go to the "Touch Settings" menu, it is on the second page of the PRS+ Settings menu.
|
![]() |
![]() |
![]() |
#3574 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,795
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is there a way to put the 650 in sleep mode with either the touch of the screen or using a different button? That way, it would mean the power button would be used about 50% less.
|
![]() |
![]() |
![]() |
#3575 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
What I did was to set the timer to go to sleep after 5 minutes. For myself, I never set my reader down that long between pages, so it's been working fine.
On another note, the auto page turning feature is pretty nice, but instead of just having 10 second increments as your only selection, would there be any way to make it so you set your own interval, like 8 seconds, 12 seconds, etc? While the feature is pretty nice, I find the current selections either too short or too long. To use it regularly, I'd have to be able to select my own interval. |
![]() |
![]() |
![]() |
#3576 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#3577 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
I don't think that works to get the contents of other tags, just the ones the developers wanted (plus a couple of others they didn't end up using). But I could be wrong. It's been a while since I was looking into this... Sincerely, Ben. |
|
![]() |
![]() |
![]() |
#3578 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
|
dwanthny:
The 'touch on/off' - option can be assigned to a button. I use it since long assigned to a long press onto the option-button. Working flawless in my case (350). There should be a screen-note (popup) informing you when the scrren is switched on/off. JSWOLF: Yes you can. Just assign the 'sleepmode'-action to a button/swipe. A. |
![]() |
![]() |
![]() |
#3579 |
Enthusiast
![]() ![]() Posts: 32
Karma: 124
Join Date: Feb 2011
Device: Kobo Aura H2O
|
analogus
The 'touch on/off' - option can be assigned to a button. I use it since long assigned to a long press onto the option-button. Working flawless in my case (350). There should be a screen-note (popup) informing you when the scrren is switched on/off. Have tried it again on my 950 - long press option key. No popup and no toggle action. |
![]() |
![]() |
![]() |
#3580 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jun 2009
Device: PRS-505
|
Having a little issue that I hope someone can help with
![]() Under the Browse Folders options I have selected "by filename shown as comment" as my sorting method. When I go into the "browse folders" option and go into the internal memory everything works correct. I see the full filename is shown under it as a comment. However when I go into either "SD card" or "SD card via mount" (with the SD Card Scan disabled) it does not show the file name as a comment. I'm pretty sure that this used to work on my old ebook reader but using a PRS-650 (firmware: PRS+ 2.0.18) it doesn't. Does anyone now if I am missing a step to have this work? Thanks |
![]() |
![]() |
![]() |
#3581 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Need to check. There was no intentional change like that.
|
![]() |
![]() |
![]() |
#3582 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
|
Hi
Maybe someone can help me. I try to manipulate STYLE.CSS on the fly with actions in PRS+. I do this like that with Core.shell.exec: Code:
Core.shell.exec('echo "head, html, body, tittle, p, div, ul, dl {line-height:100% !important}" >> /Data/database/system/PRSPlus/epub/style.css') Code:
Core.shell.exec('whatever command 'text' whatever command') Code:
Core.shell.exec('cat /Data/database/system/PRSPlus/epub/style.css | \ sed -e '/text to search/d' > /Data/database/system/PRSPlus/epub/style.css'); Any solution? Thank you! |
![]() |
![]() |
![]() |
#3583 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Hi Analogus,
easiest would be to utilize the the fact, that JavaScripts accepts both, single and double-quotes. So while using double-quotes "" to define a string, you can use single-quotes within. Core.shell.exec("whatever command 'text' whatever command") Or why not do it with higher-level code like: Code:
var mycontent, cssPath; mycontent = "sometext " + "'some quoted text'" + "some other text"; cssPath = "/Data/database/system/PRSPlus/epub/style.css"; Core.io.setFileContent (cssPath, mycontent); then Code:
var mycontent, cssPath, fontSize; cssPath = "/Data/database/system/PRSPlus/epub/"; mycontent = Core.io.getFileContent(cssPath+"template.css"); fontSize = someOptionValue ? someOptionValue+"%" : someDefaultValue; mycontent.replace(/#fontSize#/g, fontSize); ... Core.io.setFileContent (cssPath+"style.css", mycontent); Last edited by Mark Nord; 03-31-2012 at 03:25 PM. Reason: replaced backslash with slash |
![]() |
![]() |
![]() |
#3584 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
|
Thank you. This helps very much!
Another question: How do you call an external *.js-script from within an function? Script is in say /Data/.../scripts/ A. |
![]() |
![]() |
![]() |
#3585 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
I have tried to fix this issue. There was certainly some program logic errors in the existing code which I have (hopefully) fixed. However, I have not yet tested this with SD Card Scan disabled. I had already noticed that there were problems even with SD Card Scan enabled (especially with archives). These are now fixed, so hopefully the changes will also work with SD Card Scan disabled. To test, you will need to do a custom build, or wait for Analogus to update his personal builds. Sincerely, Ben. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using HD Folders as Collections on Sony PRS-505 | fglaysher | Calibre | 8 | 07-26-2010 09:55 PM |
Enhanced Firmware for V3 | keng2000 | HanLin eBook | 12 | 04-12-2010 09:30 AM |
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 | Kris777 | Sony Reader | 70 | 02-18-2009 06:34 PM |
Sony Reader PRS-505 upgrade to Sony PRS-700 | Kris777 | Sony Reader | 23 | 12-08-2008 06:56 AM |
Sub folders in firmware v1.08 | Prince Hal | Amazon Kindle | 28 | 10-23-2008 03:20 PM |