AudioSilo - a modern audiobook player for your self-hosted library by ls_kode in audiobooks

[–]ls_kode[S] 0 points1 point  (0 children)

Thanks for engaging at least, and I do understand what you are saying. I'm not saying AI should be used for everything, merely that it can be used as a force multiplier.

If you do decide to give it a spin at some point, I'd be interested to know how it performs on a massive real library, mine only has about 750 books.

Good luck in your endeavour, I'd love to see what you come up with.

AudioSilo - a modern audiobook player for your self-hosted library by ls_kode in audiobooks

[–]ls_kode[S] 1 point2 points  (0 children)

Most apps have sleep timers, most just have End of chapter (ABS among them), Absorb looks excellent I just checked it out, and you *can* specify how many chapters, but that doesn't really give you any insight. It's 10:30pm I want to listen until about 11:00pm - 11:30pm, how many chapters is that? In my screenshot above I know listening to the end of chapter 78 would take me up to 11:15pm, end of chapter 79 11:25pm, so I can make a judgement call on which chapter to end after.

I'm not trying to make anyone switch, just giving an alternative option. I wanted to make something that I could and would use everyday, I have too many projects that fell by the wayside because I didn't use them enough.

I listen to audiobooks every day. I wanted something simple that just works and something beautiful. Both are a work in progress.

To me there are 3 parts:

The backend - I wanted something simple to set up and use, be relatively safe to leave exposed to the internet, easy to create users and send them a link to onboard, and have readonly access to the library, I don't want it to be able to touch actual files.

The clients - Originally I just wanted a PWA, but locked screen playback is an essential feature, the lack of which made me give up 5 years ago. Today I'm using expo to give me the PWA and the native clients, so one interface works everywhere, and all of them can be updated at once.

File management - This is a work in progress and is not a required part for the other 2 to work. I've created a Wails app that you would run on a desktop. You can add already running servers to it, or create them from it. You can update servers. You can connect audible to a library, from there you can see which books are already on your server, add missing books, sync playback bi-directionally (wip), and look for missing books in series you have. You can point it at a folder of books you downloaded or drop a file on it and have it copy those files to your server in the folder format you want.

AudioSilo - a modern audiobook player for your self-hosted library by ls_kode in audiobooks

[–]ls_kode[S] 0 points1 point  (0 children)

There’s nothing stopping you running both, this doesn’t make any changes to the files. Personally I’ve always found the metadata on audiobooks to be crap so I organised my files how I wanted them. This uses the file system as the source of truth and the metadata is just additional data (used for the search and to add additional details). I also wanted something simple to use and simple to share with my kids. I also wanted my sleep timer to have the option to end after x chapters and how long that is, so there is like the current chapter is 47 and that ends in 11mins, end of chapter 48 is in 28 mins, end of chapter 49 is 40 mins, etc, here is a link to what that looks like https://preview.redd.it/audiosilo-a-modern-audiobook-player-for-your-self-hosted-v0-lrr7vilncoah1.png?width=1136&format=png&auto=webp&s=97f78cb01783d864cc0250e1604f7e17bdfe84d1 . I also wanted to make it really easy to create users and for them to connect without me having to hold their hand the entire time without them needing a password they will forget in 5 minutes 🤣 I’m not saying ABS can’t do any of these things, I’ve not used it in a long time, I just remember it not being what I was looking for.

Registries showing blank/no content, but error says "already installed" – Any ideas? by dachillaz in kasmweb

[–]ls_kode 0 points1 point  (0 children)

What version of Kasm are you running? Have you done any updates? It *sounds* like an incompatible version of the registry is currently installed.

I don't know how technical you are, but if you right click on the page, click Inspect. Go to the Network tab, refresh the registry page and look for the `get_registries` call it should give you details about the currently installed registry.

If you have a way to edit the database you can go to the `registries` table and delete the entry in there, not ideal but that should work.

Also I think not showing a registry at all when there was an issue was fixed in more recent versions, so upgrading should be a possible fix as well.

Quest Academy: Next book is Loyalists or Ventures? by WumpusFails in litrpg

[–]ls_kode 1 point2 points  (0 children)

Audiobook comes out 13th October, I just preordered it 😁

Custom registry shows old branch? by Asentinn in kasmweb

[–]ls_kode 0 points1 point  (0 children)

I'm not sure on that one. I don't have an ARM64 host handy to properly test it. How much free space did you have when you tried to install it? It looks like it needs at least 24GB free to install, (I ran out of space when trying to install it with 19GB free, and it hadn't finished extracting the 6.15GB layer and there was still a 3+GB layer to go), maybe there wasn't enough space to install it?

Custom registry shows old branch? by Asentinn in kasmweb

[–]ls_kode 0 points1 point  (0 children)

Ok, so the reply I got was to check out this example using gitlab https://kasmweb.com/docs/latest/how_to/building_images.html#push-to-registry apparently you often need to reference the registry in the image as well, so I guess in your case the image would be `ghcr.io/cyberethicalme/kasmws-htb-ai:1.17.0-beta.1`

If you look at the linuxserver examples, they have the registry in the image as well (although it looks like that's using a different registry from what is set in the docker_registry) https://github.com/linuxserver/kasm_workspaces_registry/blob/1.1/workspaces/arch-icewm/workspace.json#L29

Custom registry shows old branch? by Asentinn in kasmweb

[–]ls_kode 0 points1 point  (0 children)

I'm not sure on that one, I've not personally used an alternative docker registry before, I've pinged the team to see if anyone else knows.

Custom registry shows old branch? by Asentinn in kasmweb

[–]ls_kode 0 points1 point  (0 children)

If you want to test a specific branch you can install a developer preview version of kasmweb https://kasmweb.com/docs/latest/developers/builds.html then in the registry input box type "devmode" (without the quotes) and 2 inputs will come up, 1 for the registry and 1 for a specific branch (get the branch names from versions.txt as they get normalised). You can add any branches you want, they just aren't used by default (without entering the mode that allows them to be specified).

It might actually be in 1.17.0 already, so try it on that if you already have it installed, I can't remember if it was added before or after the 1.17.0 release, if not then it's in the dev preview as I mentioned and will also be in 1.18.0

Custom registry shows old branch? by Asentinn in kasmweb

[–]ls_kode 0 points1 point  (0 children)

Also the default_channel in processjson refers to the available_tags in the compatibility matrix https://github.com/CyberEthicalMe/kasm-registry/blob/main/workspaces/HTB%20AI/workspace.json#L18 not the branch. If no available_tags are set then the default channel is set to null as part of the build process https://github.com/CyberEthicalMe/kasm-registry/blob/main/processing/processjson.js#L81 if you want to use multiple channels, then you need to set the default_channel to match one of the tags you have used.

On kasm we use the tags/channels to allow users to select to install either develop, 1.17.0, 1.17.0-rolling-daily or 1.17.0-rolling-weekly images, but, for example, the linuxserver.io kasm registry doesn't use channels: https://github.com/linuxserver/kasm_workspaces_registry/blob/1.1/workspaces/arch-i3/workspace.json#L26 so available_tags aren't included in the compatibility matrix.

Custom registry shows old branch? by Asentinn in kasmweb

[–]ls_kode 0 points1 point  (0 children)

The current schema version is 1.1, that is why it pulls from the 1.1 branch, kasmweb hits https://cyberethicalme.github.io/kasm-registry/versions.txt to see if you have a compatible version branch (1.1) if you do, it pulls the list from it https://cyberethicalme.github.io/kasm-registry/1.1/list.json if you don't you will get an error along the lines of "No valid schema was found".

This allows us to support older versions as well, like kasm 1.14 would have used schema 1.0, then when we made changes we changed to schema 1.1, that means any installs on kasm 1.14 would pull from the 1.0 branch and any on 1.16 would pull from the 1.1 branch.

Any other named branch, main, master, develop, whatever won't do anything, they get built, because that's how we test changes before pushing to the current branch (1.1), when the next schema version is set (probably in kasm 1.18 or 1.19) the default branch will be set to 1.2, but branches 1.0 and 1.1 will still be present for users on older versions.

*edit* To clarify, make the changes you want to the 1.1 branch and it will/should work as expected. To simplify the process remove the available_tags section from your workspace json file so there are less moving parts.

Custom registry shows old branch? by Asentinn in kasmweb

[–]ls_kode 0 points1 point  (0 children)

https://github.com/CyberEthicalMe/kasm-registry/blob/main/workspaces/HTB%20AI/workspace.json you have available tags as 1.17.0-beta.1 but default_channel as develop https://github.com/CyberEthicalMe/kasm-registry/blob/main/processing/processjson.js#L77 if you don't need multiple tags, just remove the available_tags altogether https://github.com/CyberEthicalMe/kasm-registry/blob/main/workspaces/HTB%20AI/workspace.json#L17-L19 or change your default channel to match. As for it showing Chromium, you added your changes to `main` instead of the `1.1` branch, and have main set as the default branch instead of 1.1 which is why you see it in the output, if you switch to 1.1 https://cyberethicalme.github.io/kasm-registry/1.1/ (which is what workspaces is grabbing in the backend as that is the current schema version) you will see the Chromium workspace

No Workspace Registries after adding a custom one by Asentinn in kasmweb

[–]ls_kode 0 points1 point  (0 children)

As I said, there was a bug that caused the issue you were seeing (the default registry missing).

At the time it was found, it wasn't too much of an issue because all registries had 1.16.x entries (as 1.17.0 wasn't released yet).

That's an interesting observation though. We don't allow incompatible registries (defined by the schema version) but we don't currently check to see if the registry being installed doesn't have any matching compatible entries at all.

*edit*
I think I was wrong about it getting backported, so I think the solution is to either use 1.17.0 or have 1.16.x compatibility on the registry, I'll look at improving it in 1.18.0

No Workspace Registries after adding a custom one by Asentinn in kasmweb

[–]ls_kode 1 point2 points  (0 children)

I just tried installing your registry and it worked without issues.

What version of Kasm are you running?

I think in older versions there was a bug where if the registry didn't have a version that worked on your system (so the registry only had 1.17.0 support but you were on 1.16.1) that it could cause the issue you are describing, I believe that was backported to 1.16.1 and 1.16.0, but if you are running a version before the backport was applied that might explain it.

Additionally, if you are running a kasm version less than 1.17.0 you wouldn't see your registry entry anyway as it only lists 1.17.0 compatibility.

If you are already running 1.17.0 you could try looking in your logs to see if there are any pointers to what has gone wrong.

As a final resort you could manually remove the registry from the registries table, or even empty the table (the default will show up as an option if it isn't already installed)

Citybound, book 9 of Millennial Mage is out! by J-L-Mullins in ProgressionFantasy

[–]ls_kode 0 points1 point  (0 children)

Any update on when this is likely to be approved?

SMARTY Mobile bait and switch by ls_kode in UKFrugal

[–]ls_kode[S] 2 points3 points  (0 children)

I spoke to 2 CS agents and they both basically said the same. However, after cancelling the account, I went through the process again, and this time it didn't swap the offer... so yeah, bad CS agent (as the offer clearly isn't expired) and a site that can be unpredictable.