Jellyfin Forum
FinTube Plugin - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Plugin Development (https://forum.jellyfin.org/f-plugin-development)
+--- Thread: FinTube Plugin (/t-fintube-plugin)

Pages: 1 2


FinTube Plugin - AECX - 2023-08-23

I spent my free time the past weeks working on a (currently) very simplistic Plugin to import Video/Audio Directly from YouTube.

Features:
- mp4/mp3 Import
- Tag mp3 with Artist, Title, Album and Track information
- Custom Download Location


Requirements:
- yt-dlp/youtube-dl
- Optional: id3v2

Check it out at https://github.com/AECX/FinTube and https://github.com/AECX/FinTube/releases/tag/v1.0

I plan on improving it eventually but for now it does what I wanted it to do. If you want to contribute make sure to state clearly what you added/changed in your PR!

Have fun!
~Maurice/AECX


RE: FinTube Plugin - xaque - 2023-08-24

Yo this is awesome. Just installed this on a windows system with zero issues. Didn't find a windows release for that id3v2, but I'll poke around later to see if I can find an alternative. You think something like mp3tag (https://docs.mp3tag.de/command-line/) will work?

Would be awesome to be able to download playlists or entire channels as well. Killer work none the less.

Edit
A couple of things I've noticed after messing around a bit more, I'll bring it up here bit would you prefer it if I opened an issue on the github? Also, I'm no dev by any means, but I might take a stab at forking and submitting a PR if I can resolve the below issues.

Would be nice if the downloads folder remained constant after changing its location. Any time the plugin is accessed I have to change it from opt/media to my preferred location

It would also be nice if the saved files would adhere to the YouTube meta data plugin for jellyfin. So this would include adding [ ] around the youtube id. That would remove any post processing to get the full library integration experience.

Just a couple of ideas. Thanks again for the work.


RE: FinTube Plugin - cloud9_development - 2023-08-24

While this is pretty cool, would using tools like youtube-dl be against TOS?


RE: FinTube Plugin - AECX - 2023-08-24

(2023-08-24, 04:09 AM)xaque Wrote: Yo this is awesome. Just installed this on a windows system with zero issues. Didn't find a windows release for that id3v2, but I'll poke around later to see if I can find an alternative. You think something like mp3tag (https://docs.mp3tag.de/command-line/) will work?

Would be awesome to be able to download playlists or entire channels as well. Killer work none the less.

Edit
A couple of things I've noticed after messing around a bit more, I'll bring it up here bit would you prefer it if I opened an issue on the github? Also, I'm no dev by any means, but I might take a stab at forking and submitting a PR if I can resolve the below issues.

Would be nice if the downloads folder remained constant after changing its location. Any time the plugin is accessed I have to change it from opt/media to my preferred location

It would also be nice if the saved files would adhere to the YouTube meta data plugin for jellyfin. So this would include adding [ ] around the youtube id. That would remove any post processing to get the full library integration experience.

Just a couple of ideas. Thanks again for the work.

Thank you for the feedback! I am sure looking into improving the plugin, since it is my first Jellyfin Plugin (and working with asp.net) I just went for it as a test project, so functionality is my main goal. Working via GitHub would make sense so everything is documented over there and we have a full history of discussions without having parts of it on different platforms across the web.

I'll keep you updated if I end up improving the plugin but this won't be in the near future due to lack of time.

(2023-08-24, 05:48 PM)cloud9_development Wrote: While this is pretty cool, would using tools like youtube-dl be against TOS?

I'm not sure either. But I'm also not including anything just referring to it - This was really just something I made because it annoyed me to log in to my server via SSH each time and do it manually.
If there's problems I'd be thankful if we can resolve them together.


RE: FinTube Plugin - bitmap - 2023-08-25

(2023-08-24, 05:48 PM)cloud9_development Wrote: While this is pretty cool, would using tools like youtube-dl be against TOS?

Yes. I say that without taking a stance as I don't think this has a moral or ethical boundary tied to it.

One suggestion on the dependency front: consider using a tool like ytdl-sub for your back-end as it's way more robust on the metadata front and is designed to be compatible with tools like Jellyfin/Plex from the ground up. The dev is incredibly responsive and active as well.


RE: FinTube Plugin - marieah - 2023-08-27

Thankyou
This is fantastic and works flawlessly on Windows. Saved to my music videos folder where JF picked it up straight away
My only suggestion is for it to drop the YT code as the file name prefix to save me renaming it. But that's a small thing...


RE: FinTube Plugin - Voltage6905 - 2023-08-28

Anyone tested this with docker?


RE: FinTube Plugin - marieah - 2023-08-29

Is there a way for me to have it remember my download path? I'm having to reset it each time. I tried changing the address in the .dll file, but it spat the dummy on me and had to reinstalled. Not a deal breaker. Just an inconvenience....


RE: FinTube Plugin - tmurd87 - 2023-09-13

Thank you. Works Great if I might add I would give the option to use more of yt-dlp like -F to download other formats instead of just mp4 and --list-formats etc.


RE: FinTube Plugin - AshipaEkO - 2023-11-20

Is there some way to specify quality?

I am getting 360p quality