k2helix

joined 2 years ago
[–] k2helix 1 points 21 hours ago* (last edited 21 hours ago)

iirc you don't, at least I remember to have installed some apps via adb from my phone and I didn't use a cable.

[–] k2helix 1 points 21 hours ago

Yes I was, that's how I did it initially on my Chromecast with Google TV. No wires involved, just adb.

[–] k2helix 3 points 1 month ago (5 children)

You can just do it wirelessly, just like you would with any other phone

[–] k2helix 1 points 5 months ago

yup that's what I'm using. Wanted to know about this alternative too :)

[–] k2helix 1 points 5 months ago* (last edited 5 months ago) (4 children)

Is its UI adapted to Android TV? Or does it look like on mobile?

[–] k2helix 2 points 5 months ago

I managed to solve it by automatically restarting the container once the drive is mounted, as the mount is done by a systemd service. Guess there were no permission issues

[–] k2helix 1 points 5 months ago

Nevermind, what I ended up doing is restarting the container just after the drive has been mounted. Which is easy because it's a systemd service so I could use ExecStartPost

[–] k2helix 1 points 5 months ago

Thanks for your answer. I tried mounting it to a folder inside the one I'm using in the compose file but strangely it didn't work. So I thought that the only way that wouldn't need to delay docker start is to restart the container just after the drive has been mounted.

And that's what I ended up doing as the drive mount is a systemd service and therefore I can use ExecStartPost to restart the container. That way this doesn't affect other containers and also lets this one start even if the drive has not been mounted which I want in case there's no internet connection

[–] k2helix 1 points 5 months ago (2 children)

Thanks for your suggestion. That's what I first thought but there are some issues.

I have other containers that do not require this drive to be mounted. Main problem is that if for some reason the drive cannot be mounted (e.g. no internet connection), then docker would not start any of those containers.

That's why I need a particular solution. While writing this it has come my mind that I've got a container which mounts / as a read-only volume in its /mnt and it seems to work fine there. Maybe if I set the volume to mount /media/user instead of the drive it would work?

[–] k2helix 1 points 5 months ago (2 children)

Don't think it has to do with permissions as if I manually start the container after the drive gets mounted then everything goes as expected and the container has the files at /mnt

[–] k2helix 1 points 5 months ago (4 children)

I mount it using rclone mount as a systemd service, just as they say in their guide

 

I have a docker compose file with a bind volume. It basically mounts /media/user/drive/media to the container's /mnt.

It works as expected when /media/user/drive/ is mounted and its media folder has the files I want the container to see.

However, as it's a network drive, the container usually tries to start before it is mounted, so it would throw the error that /media/user/drive/media doesn't exist. So I created an empty folder in /media/user/drive called media while the drive was not mounted so that at least the container starts with the volume /mnt being empty until the network drive gets mounted and all the files appear at /media/user/drive/media.

To my surprise, when the drive gets mounted, even though if I do ls /media/user/drive/media it lists the drive contents correctly, the container still sees /mnt empty.

How would I go about getting the drive files inside the docker container when it automatically starts?

[–] k2helix 5 points 5 months ago* (last edited 5 months ago)

Not that you should return to Twitch but if you ever need to there's this TTV LOL PRO add-on for Firefox/Chromium or you can just use a client such as Streamlink (with GUI and ttv lol support) for desktop or Xtra/Twire for Android with a custom proxy

12
submitted 6 months ago by k2helix to c/[email protected]
 

I'll be sitting a CAE exam this Friday and I'd enjoy learning some vocabulary I can use when doing it.

Some idiomatic expressions, collocations or just some fancy adjectives or adverbs that you think could be useful. Something that if the examiner saw would make them say wow.

There is an speaking part where it's mostly informal language that I'm going to use and a more formal writing part.

Thanks for your help.

 

I have Fedora and Windows installed in the same drive in my laptop. The drive has 512GB and it's divided so that each OS has 256GB. Fedora's partition is encrypted using the option it shows in its installer.

Problem is I'm running out of space. I'm considering getting a 1TB drive on which I would move Fedora and then giving Windows the other drive, so on the whole the laptop would run Windows on the 512GB drive and Fedora on the 1TB one. I've already read lots of forums but am still unsure on how to do this without losing any data and messing with Grub (I've had some bad experiences previously). So any help would be appreciated.

 

I want to get a Pixel 8. Here it costs 800€, and only today because it is 11/11 a popular provider offers a 22% off, being 623 the end price. Do you know if they get a bigger discount on Black Friday or is this a very good offer? Thanks.

view more: next ›