Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR metube #54

Open
Nemesis24 opened this issue Jan 27, 2025 · 7 comments
Open

FR metube #54

Nemesis24 opened this issue Jan 27, 2025 · 7 comments

Comments

@Nemesis24
Copy link

Nemesis24 commented Jan 27, 2025

Use /media instead of /share could permit to use Home assistant config storage on nas too but can use music directly

@Nemesis24 Nemesis24 changed the title FR metube and emulatorjs FR metube Jan 28, 2025
@jdeath
Copy link
Owner

jdeath commented Jan 28, 2025

I just made the change for it to support media. You need to change the download dir in the config to /media/metube . Let me know if works. Will need to refresh addon store

@Nemesis24
Copy link
Author

Nemesis24 commented Jan 28, 2025

That's nice, do i must wait for an update in home assistant for testing ?

Do you think it is possible to create an add-on to install Mesa driver for home assistant os I know absolutely nothing about it but I would be very interested in this possibility, I know quite a few people are in my situation with an AMD GPU and cannot use hardware acceleration for the frigate application in particular.

@jdeath
Copy link
Owner

jdeath commented Jan 29, 2025

Just uninstall addon, refresh addon store, then install addon.

No idea about frigate, ask the developer.

@SJensen721
Copy link

SJensen721 commented Feb 27, 2025

I'm using a SMB share connected to HomeAssistant from TrueNAS. The SMB Share is mounted as /media/MeTube. I still get "permission denied" when trying to download anything. Any ideas what I need to do differently?

ERROR: unable to create directory [Errno 13] Permission denied: '/media/MeTube/This Old House Full Episodes

I'm not sure of the way around it, but it does appear that other Add-Ons can still utilize this same type of SMB share (rr's suite can use it fine, create directories, etc.). So I'm thinking it might just be not assigning/changing the ownership of the share properly.

I get no errors (as far as I can tell) when it attempts to chown the state and temp dir folders... but it seems like these might actually be in a different location than the DOWNLOAD_DIR

DOWNLOAD_DIR: /media/MeTube
Setting umask to 022
Creating download directory (/media/MeTube), state directory (/downloads/.metube), and temp dir (/downloads)
Changing ownership of download and state directories to 1000:1000
Running MeTube as user 1000:1000
INFO:main:Listening on 0.0.0.0:8081

I'm on this verison:

metube
Current version: 2025-02-20 (Changelog)

@jdeath
Copy link
Owner

jdeath commented Mar 1, 2025

maybe use the ssh addon. Log in and do:
chmod 2777 /media/MeTube

Sometimes helps, but not sure if will for you.

@SJensen721
Copy link

SJensen721 commented Mar 1, 2025

Image

maybe use the ssh addon. Log in and do: chmod 2777 /media/MeTube

Sometimes helps, but not sure if will for you.

Unfortunately, it did not (though what I did might matter).

I tried to use Terminal & SSH add-on. It couldn't login. So I went straight to the VM (Proxmox > HAOS VM) console. I logged in. I tried the command - it said no directory exists. So, I did "ls" and navigated to mnt > data > supervisor > media ... once there, I did ls and saw the MeTube folder.

Once to the correct parent directory, I used chmod 2777 MeTube. That worked in shell. I went back to MeTube, tried downloading a Playlist- same errors.

@SJensen721
Copy link

SJensen721 commented Mar 1, 2025

The weird thing is it's been about 30-40 minutes since I did this. After reviewing all the steps, I couldn't find anything wrong. I clicked "Retry" all failed. Now it's downloading. So I don't know what changed in 30-40 minutes - but something worked.

So now that the playlist is downloaded, I'm trying to locate the files. It doesn't seem to be located in the downloads directory, nor in the /media/MeTube share. I guess this is the first time I've been able to get it to download and it looks like it didn't go to the right place.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants