Quote:
Originally Posted by anarcat
Hmm... you're right, there isn't! I kind of assumed people who installed fbink knew what they were doing and would just be happy for the verbosity, but i guess i should have a setting to turn that off...
Do you mind finding an issue in https://gitlab.com/anarcat/wallabako/-/issues/new?
|
This is now done. Thanks!
Quote:
koreader integration is basically "is this file marked as read", and then syncing that to wallabag, that's it. you shouldn't need to do anything to make it work.
|
Is there any way to trigger a sync from koreader or do you need to exit out to the main interface first?
Quote:
Originally Posted by anarcat
Deleting files won't delete or mark as read in wallabag. you need to mark them as read in the app your using. wallabako should support read status in nickel, koreader, and plato.
if it is not working (and it doesn't look like it is), send me the log output and i'll take a log.
|
It is syncing fine but does not appear to reflect "finished" status back on Wallabag when marked as done with the native reader. I've pasted a log below.
I did just discover if I mark it finished in koreader, it is syncing back to Wallabag properly, though.
Quote:
Originally Posted by anarcat
i am not sure. i guess you could write outside of /mnt/onboard? you can pick a different directory in the wallabako config, i would try that.
|
This works for removing the Wallabag items from the native reader:
Code:
[FeatureSettings]
ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+|.*wallabako.*)
Here's the log mentioned above:
Code:
2024/10/23 16:34:27 config after commandline parsing: main.wallabakoConfig{WallabagConfig:wallabago.WallabagConfig{REDACTED}, Debug:true, Delete:true, LogFile:"", Database:"/mnt/onboard/.kobo/KoboReader.sqlite", Concurrency:2, Count:-1, Exec:"", OutputDir:"/mnt/onboard/wallabako/", PidFile:"", RetryMax:4, Tags:"kobo", PlatoConfig:main.PlatoConfig{LibraryPath:""}, Fbink:false, FbinkInteractive:false}
2024/10/23 16:34:27 loaded configuration from /etc/wallabako.js
2024/10/23 16:34:27 trying lockfile path /var/run/wallabako.pid
2024/10/23 16:34:27 logging in to https://my-wallabag-domain-redacted
2024/10/23 16:34:27 username: REDACTED, password: REDACTED
2024/10/23 16:34:28 CSRF token found: 200 OK
2024/10/23 16:34:28 logged in successful: 302 Found
2024/10/23 16:34:59 found 26 unread entries, will check -1
2024/10/23 16:34:59 dispatching 110
2024/10/23 16:34:59 dispatching 109
2024/10/23 16:34:59 dispatching 105
2024/10/23 16:34:59 URL https://my-wallabag-domain-redacted/export/110.epub older than local file /mnt/onboard/wallabako/110.epub, skipped (2024-10-23 16:28:30 -0400 EDT > 2024-10-23 20:20:02 +0000 +0000)
2024/10/23 16:34:59 dispatching 108
2024/10/23 16:34:59 URL https://my-wallabag-domain-redacted/export/105.epub older than local file /mnt/onboard/wallabako/105.epub, skipped (2024-10-21 23:05:52 -0400 EDT > 2024-10-22 01:20:11 +0000 +0000)
2024/10/23 16:34:59 dispatching 107
2024/10/23 16:34:59 URL https://my-wallabag-domain-redacted/export/108.epub older than local file /mnt/onboard/wallabako/108.epub, skipped (2024-10-22 03:05:52 -0400 EDT > 2024-10-22 01:19:39 +0000 +0000)
2024/10/23 16:34:59 dispatching 106
2024/10/23 16:34:59 URL https://my-wallabag-domain-redacted/export/107.epub older than local file /mnt/onboard/wallabako/107.epub, skipped (2024-10-22 03:05:56 -0400 EDT > 2024-10-22 01:17:24 +0000 +0000)
2024/10/23 16:34:59 dispatching 103
2024/10/23 16:34:59 URL https://my-wallabag-domain-redacted/export/106.epub older than local file /mnt/onboard/wallabako/106.epub, skipped (2024-10-22 08:28:38 -0400 EDT > 2024-10-22 01:08:12 +0000 +0000)
2024/10/23 16:34:59 skipping 102 (not in Tags)
2024/10/23 16:34:59 skipping 101 (not in Tags)
2024/10/23 16:34:59 skipping 99 (not in Tags)
2024/10/23 16:34:59 skipping 97 (not in Tags)
2024/10/23 16:34:59 skipping 96 (not in Tags)
2024/10/23 16:34:59 skipping 88 (not in Tags)
2024/10/23 16:34:59 skipping 94 (not in Tags)
2024/10/23 16:34:59 skipping 95 (not in Tags)
2024/10/23 16:34:59 skipping 87 (not in Tags)
2024/10/23 16:34:59 skipping 85 (not in Tags)
2024/10/23 16:34:59 skipping 80 (not in Tags)
2024/10/23 16:34:59 skipping 73 (not in Tags)
2024/10/23 16:34:59 skipping 72 (not in Tags)
2024/10/23 16:34:59 skipping 68 (not in Tags)
2024/10/23 16:34:59 skipping 67 (not in Tags)
2024/10/23 16:34:59 skipping 66 (not in Tags)
2024/10/23 16:34:59 skipping 64 (not in Tags)
2024/10/23 16:34:59 skipping 63 (not in Tags)
2024/10/23 16:34:59 skipping 62 (not in Tags)
2024/10/23 16:34:59 URL https://my-wallabag-domain-redacted/export/103.epub older than local file /mnt/onboard/wallabako/103.epub, skipped (2024-10-22 08:28:40 -0400 EDT > 2024-10-21 20:30:45 +0000 +0000)
2024/10/23 16:34:59 URL https://my-wallabag-domain-redacted/export/109.epub older than local file /mnt/onboard/wallabako/109.epub, skipped (2024-10-22 08:28:38 -0400 EDT > 2024-10-22 01:26:05 +0000 +0000)
2024/10/23 16:34:59 local files to inspect: [/mnt/onboard/wallabako/103.epub /mnt/onboard/wallabako/105.epub /mnt/onboard/wallabako/106.epub /mnt/onboard/wallabako/107.epub /mnt/onboard/wallabako/108.epub /mnt/onboard/wallabako/109.epub /mnt/onboard/wallabako/110.epub] /mnt/onboard/wallabako/*.epub
2024/10/23 16:34:59 parsing Plato metadata file /mnt/onboard/.metadata.json and /mnt/onboard/.reading-states/
2024/10/23 16:34:59 could not load Plato metadata: open /mnt/onboard/.metadata.json: no such file or directory
2024/10/23 16:34:59 cannot read metadata file: /mnt/onboard/wallabako/103.sdr/metadata.epub.lua
2024/10/23 16:34:59 nickel book 103 status: 0
2024/10/23 16:34:59 path /mnt/onboard/wallabako/105.epub: fingerprint 2720593106042078941, mtime 1729566352, mtime tz Local, size 247517, diff 9223372036
2024/10/23 16:34:59 found koreader percent 0.518519 in /mnt/onboard/wallabako/105.sdr/metadata.epub.lua
2024/10/23 16:34:59 koread book /mnt/onboard/wallabako/105.sdr/metadata.epub.lua not complete: "reading"
2024/10/23 16:34:59 koreader status of /mnt/onboard/wallabako/105.sdr/metadata.epub.lua is 1
2024/10/23 16:34:59 koreader book 105 status not unread: 1
2024/10/23 16:34:59 path /mnt/onboard/wallabako/106.epub: fingerprint 2720593106041898045, mtime 1729600118, mtime tz Local, size 66621, diff 9223372036
2024/10/23 16:34:59 cannot read metadata file: /mnt/onboard/wallabako/106.sdr/metadata.epub.lua
2024/10/23 16:34:59 nickel book 106 status: 0
2024/10/23 16:34:59 path /mnt/onboard/wallabako/107.epub: fingerprint 2720593106042118421, mtime 1729580756, mtime tz Local, size 286997, diff 9223372036
2024/10/23 16:34:59 cannot read metadata file: /mnt/onboard/wallabako/107.sdr/metadata.epub.lua
2024/10/23 16:34:59 nickel book 107 status: 0
2024/10/23 16:34:59 path /mnt/onboard/wallabako/108.epub: fingerprint 2720593106041837818, mtime 1729580752, mtime tz Local, size 6394, diff 9223372036
2024/10/23 16:34:59 cannot read metadata file: /mnt/onboard/wallabako/108.sdr/metadata.epub.lua
2024/10/23 16:34:59 nickel book 108 status: 0
2024/10/23 16:34:59 path /mnt/onboard/wallabako/109.epub: fingerprint 2720593106042265426, mtime 1729600118, mtime tz Local, size 434002, diff 9223372036
2024/10/23 16:34:59 cannot read metadata file: /mnt/onboard/wallabako/109.sdr/metadata.epub.lua
2024/10/23 16:34:59 nickel book 109 status: 0
2024/10/23 16:34:59 path /mnt/onboard/wallabako/110.epub: fingerprint 2720593106041905474, mtime 1729715310, mtime tz Local, size 74050, diff 9223372036
2024/10/23 16:34:59 cannot read metadata file: /mnt/onboard/wallabako/110.sdr/metadata.epub.lua
2024/10/23 16:34:59 nickel book 110 status: 0
2024/10/23 16:34:59 14 open file descriptors: [/proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 /proc/self/fd/3 /proc/self/fd/4 /proc/self/fd/5 /proc/self/fd/6 /dev/pts/0 /dev/pts/0 /dev/pts/0 socket:[17780] anon_inode:[eventpoll] anon_inode:[eventfd] readlink /proc/self/fd/6: no such file or directory]
2024/10/23 16:34:59 version 1.5.1-30-g4d92dfb completed in 32.655s, processed: 7, downloaded: 0, size: 0 B, deleted: 0, read: 0, unread: 26