Posts by fahrer17

    After a couple of days I discovered there were problems during synchronizing my wife's files (belonging to user my_wife). Whenever a file was synced from her Win10 machine to her OMV5 folder the owner was changed from my_wife to me so that she could not change them any more. I don't know much about the concept but I'm pretty sure this was caused by Syncthing running with PUID me and not being able to decide between different owners.


    For example:

    My wife creates a file on OMV so this is owned by user my_wife and she can modify it as she wants. This file is now synced to the Win machine and she can modify it again. Now this file is synced back to OMV and while this the owner is changed so she can access and change but not save it back.


    chown'ing folders+files to her was no solution because with this Syncthing (running with my PUID) had no permission for her stuff any more.


    After reading, guessing and trying a lot with Linux permissions and Syncthing manuals I ended up starting a second Syncthing container running with her PUID for her stuff only (take care about the ports and change them to something else but :8384!).


    Now everything's running fine.


    But please let me know if you know a simpler way :)

    Have you tried the "Add Multiple" and "Add Playlist" buttons?

    Sometimes we don't see the wood for the trees...

    I will try to make the plugin read your mind to put the files where you want.

    :thumbup::saint:

    I have an old component stereo with 12" woofers and 120 watts/channel that will get a hell of a lot louder (I use power tools) than your bluetooth speaker. I do have a bluetooth adapter on it. And even though I have a Unifi AC Pro about 15m away from the stereo in my garage, my power tools seem to cause issues streaming via wifi. Spotify doesn't have everything I want to hear either. Since I have a huge music collection and I don't want to constantly switch sources, I download files and put them on my device.

    I have neighbours ;)

    Only on the individual download button (which I rarely use anymore). The multiple (works with one just fine) or playlist name the file automatically.

    How can I add multiple files or a list?

    Uh, that isn't that hard.

    No, but different ;)

    True. Flexibility means you can do dumb things too.

    Of course.

    Where is the plugin supposed to put the file???

    Yeah, I know, it's just another click I have to do.


    Don't get me wrong but no one has really complained about the plugin in the 7+ years it existed and you can barely use it. I willing to change things but give some time. Writing plugins for something that is meant to be interactive is not easy.

    Nah, no complainig! =O

    I was just wondering how to use it. Now I know a lot about the background and your thoughts and I see we approach differently to it.

    Please, I don't expect people to change their tools if they don't fit my needs or expectations.

    The stuff I download is mostly music to listen to in my garage...

    I use Spotify and my bluetooth speaker for this 8)

    This can also be done very handy by MediathekView

    Yeah, I know, I use them parallel.

    Sorry, your txt doesn't tell me a lot but maybe this can help you:


    My volumes look like this:

    Host/volumePath in container
    /srv/dev-disk-by-label-Daten/Daten/AppData/syncthing/var/syncthing
    /srv/dev-disk-by-label-Daten/Daten/me/my_stuff/data/me
    /srv/dev-disk-by-label-Daten/Daten/my_wife/her_stuff/data/my_wife


    If I look into the container's terminal the permissions are like this


    /data # ls -la

    total 16

    drwxr-xr-x 4 root root 4096 May 4 19:48 .

    drwxr-xr-x 1 root root 4096 May 4 19:48 ..

    drwxrwsr-x 3 1000 users 4096 May 4 13:34 my_wife

    drwxrwsr-x 19 1000 users 4096 May 6 21:10 me

    Actually, I don't know what you mean. It was working properly. I use this plugin all the time. The only thing it isn't doing is downloading the highest quality video. It has never downloaded the wrong format. It would download the wrong format IF the plugin was changed to use --format=best and ffmpeg was installed.

    Well, I re-read my lines and tbh now I don't know it anymore myself.


    I tried to download something like a beginner and in my opinion the OMV mask is somewhat irritating:

    1. I have to add a file name. Cool so far, so I can name it what I like. But I have to add a file extension otherwise there will be none. Moreover I can add e.g. "mp3" but am able to choose "mp4".

    2. As mentioned before I can't choose the quality.

    3. Finally I have to select a folder.


    Don't get me wrong but the more I think about it the easier I find downloading something from my terminal.


    If you say you use it all the time didn't you notice the missing best qualitiy before (well, maybe we use it for different purposes?) ?


    Maybe I should add that I don't download a lot from Youtube. Some tutorials from time to time but no crappy youtube-mp3s etc.

    But I do like youtube-dl for its manifoldness (e.g. download media from German TV media centers).

    Maybe I don't understand but there already is a dropdown menu that allows you to choose the format. The fact that the plugin is adding the arguments to youtube-dl that makes sure you get that selected format is why you don't always get the highest quality video.


    While I know that works well when using youtube-dl interactively, that is not something the plugin can really do. It needs the url to get the list and that just makes the code weird.

    This is actually an argument for leaving the plugin exactly how it is.

    Ok, I thought about something like this:

    1. I paste my link

    2. youtube-dl checks what is available and opens the dropdown menu

    3. I click the option I prefer (mp3, mp4, webm, mkv whatever) and the desired file is downloading


    Yes, you are right, there is a dropdown menu. But I somehow couldn't take it for real since it was not working properly (if you know what I mean :)).


    And whatever format there is (mp4 or mkv) is fine for me.


    Another question: Can you see how many people are using OMV's youtube-dl? If it's too much hassle to optimize a maybe not so often used feature leave it as it is (imho). I am fine using my other youtube-dl as before ;)

    As mentioned before I'm a docker beginner myself and therefore did start with a simple container. But a Pihole is next on my docker list (Pihole's instructions still look pretty complicated to me).

    As soon as I know how to do it I can try to explain how to do it, maybe this can help others too.

    Well, if you ask me (from the user's point of view, not the coder at all ;)), I would like to see something like a pulldown menu where I can choose from what format I want (mp3, mp4, mkv etc).

    As far as I know the available formats can be checked by using


    -F, --list-formats

    List all available formats of requested videos


    Wouldn't this work?


    For me a HD mp4 would probably be ok since my older TV is only HD and can't play mkv anyway (not sure though wether all mkv's are the same).


    And again: Thank you for doing this!

    After more tests, --format bestvideo[ext=mp4]+bestaudio downloads the right video and audio but requires ffmpeg to merge (which switches to mkv). So, the best flag downloads the best video and audio that are already combined. Will have to think on how to change the plugin but not make it confusing to support the options.

    Sorry, I'm not sure if I understand you correctly: So there IS something strange with OMV's downloader and you are going to analyze it, right?


    If so, thanks so far for your answers and efforts :):thumbup:

    Maybe some kind of 4K support is necessary on the destination system, which the youtube-dl uses to determine which resolution is the "best quality". Why should it download a 4K-video if the system supports only full-HD? Just a thought.

    Though this is far beyond my scope I don't think so. My wife's old laptop (an older Thinkpad) has a resolution of something like 1300x700 but downloads just fine.

    Oh, I´m just seeing that there is an issue with youtube-dl that the best qualitiy is not downloaded if ffmpeg is not installed:


    [YouTube] Incorrect detection of best format #23149

    But this sounds reasonable. I will try this during the rest of the day :thumbup::)

    I meant

    I think I did not express myself clear. I meant did you try this command in a SSH terminal in OMV to ensure that the best quality video can be downloaded in OMV at all? If this is possible by CLI then it shouldn´t be a big thing for ryecoaaron to modify the plugin - if he will find the time to do this of course :)


    When I am at home later then I will try this by myself also.

    Classic case of misunderstanding ^^


    I tested your suggestion: One file downloaded from GUI, the other using ssh terminal; both have the same size and resolution (866x720).

    So none of them is HD as provided by YT.

    Did you try this on the OMV machine too?


    Is there a possibility to define the file format (mp4, webm...) AND to instruct download-dl to download the best available quality for that specific format?

    It would very much appreciate to have a possibility to control the file format.

    No since I don't know where to put it. OMV mask has no option for commands (I think - added the screenshot again).

    But yes, you can choose the format but this doesn't affect the resolution. I downloaded the same YT video in mp4 and webm with no noticeable effect.


    To be clear: In OMV I only used the provided mask, no terminal etc.

    Ok, I was able to solve the problem (tbh my friend was ;)), I try to describe it for the next container beginner looking for help.


    Actually there were two problems:


    1. Binding the right directories:

    You have to bind every folder you want to syncronize to a particular subfolder in the container's data folder

    e.g.

    /srv/dev-disk-by-label-Daten/Daten/me/folder_x -> data/me

    /srv/dev-disk-by-label-Daten/Daten/my_wife/folder_y -> data/my_wife


    2. Permissions

    Make sure no folder is owned by root. In my case /srv/dev-disk-by-label-Daten/Daten/my_wife belonged to root; no idea why, my data drives+directories were created with OMV1(?). Changing the owner solved it.

    Are you sure that both downloads had the same file format mp4? Sometimes higher quality is only available as webm-file, but you have preselected mp4.

    Hm, not absolutely... In OMV I added "mp4" manually (otherwise the file doesn't have a format) whereas in Manjaro the "webm" was added automatically.

    You mean if I put a "webm" in OMV it could be ok? Interesting...


    Funny fact: My elder son is called Leonard, his nickname is Leo and he likes BMWs, especially the convertibles... :D


    Edit: You mean if I put a "webm" in OMV it could be ok? Interesting...

    Edit2: Nope. Tested it: Chose "webm" in OMV mask and downloaded it once more. Again ca. 76MB and the same resolution.

    Hi there,


    how do I have to bind my directories to my Syncthing container so that I can access them from the Syncthing GUI?


    The directories to be synchronized are


    /srv/dev-disk-by-label-Daten/Daten/me/folder_x

    /srv/dev-disk-by-label-Daten/Daten/my_wife/folder_y


    Do I have to bind every particular folder to /var/sync or only the folder which contains my sync-folders (/srv/dev-disk-by-label-Daten/Daten/)?


    My test installation in VB had only one shared folder, now I have the challenge of using several.

    (The test installation was done with a friend who works with Docker but unfortunately isn't available atm; I'm not too familiar with it)


    Thanks for any assistance,

    fahrer17

    HI,


    how can I tell youtube-dl to download the best quality (=resolution) available?


    When I use youtube-dl on one of my linux machines it automaticly downloads the best quality but when using youtube-dl on my OMV it is in a reduced resolution.

    Can someone please advice me how to fix this?


    Thanks + stay healthy ;)

    fahrer17

    I did, using VirtualBox on a Xubuntu 18.04.
    If you want to I can try to export and upload it to GoogleDrive or something similiar (if so please gimme some days ;) )