Youtube-DL-Agent.bundle icon indicating copy to clipboard operation
Youtube-DL-Agent.bundle copied to clipboard

More instructions?

Open OmgImAlexis opened this issue 5 years ago • 6 comments

Not sure if I'm just using this incorrectly or what the issue is but I'm not seeing any difference between this and the personal media agent. If anything this seems to work worse.

Using the youtube-dl format you suggest I tried (https://www.youtube.com/watch?v=UMp-IF6uPkk&list=PLTzMGnJjrsSy6H8uiX3XKWtUhhj2Vilw1) which I had hoped would give me the playlist as a show or atleast as a season under ramsay as the show but instead I get this.

Screen Shot 2020-01-07 at 2 41 47 pm

This is the full command I'm using.

docker run --rm --user $(id -u):$(id -g) -v /mnt/user/Youtube:/data vimagick/youtube-dl \
--playlist-reverse --download-archive /data/downloaded.txt -i \
--batch-file /data/channels.txt \
--add-metadata --write-info-json --write-all-thumbnails \
--embed-subs --all-subs --write-description --write-annotation \
-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' \
-o "%(uploader)s [%(uploader_id)s]/%(title)s[%(id)s].%(ext)s"

Screen Shot 2020-01-07 at 2 47 51 pm

Where as if I use this command it works fine. Notice the last line.

docker run --rm --user $(id -u):$(id -g) -v /mnt/user/Youtube:/data vimagick/youtube-dl \
--playlist-reverse --download-archive /data/downloaded.txt -i \
--batch-file /data/channels.txt \
--add-metadata --write-info-json --write-all-thumbnails \
--embed-subs --all-subs --write-description --write-annotation \
-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' \
-o "%(uploader)s/%(playlist)s/%(playlist)s - S01E%(playlist_index)s - %(title)s [%(id)s].%(ext)s""

OmgImAlexis avatar Jan 07 '20 04:01 OmgImAlexis

In saying that adding more than 1 playlist from a single channel on the second version causes weird things with plex where only 1 episode is now showing. Haven't tried it with your format yet. This seems like an agent issue though?

Screen Shot 2020-01-07 at 2 53 42 pm

root@Tower:/mnt/user/Youtube# tree .
.
├── Gordon Ramsay
│   ├── Ramsay in 10
│   │   ├── Ramsay in 10 - S01E1 - Gordon Ramsay's Perfect Cereal French Toast Challenge _ Ramsay in 10 [WqY9JYZGzxk].annotations.xml
│   │   ├── Ramsay in 10 - S01E1 - Gordon Ramsay's Perfect Cereal French Toast Challenge _ Ramsay in 10 [WqY9JYZGzxk].description
│   │   ├── Ramsay in 10 - S01E1 - Gordon Ramsay's Perfect Cereal French Toast Challenge _ Ramsay in 10 [WqY9JYZGzxk].info.json
│   │   ├── Ramsay in 10 - S01E1 - Gordon Ramsay's Perfect Cereal French Toast Challenge _ Ramsay in 10 [WqY9JYZGzxk].jpg
│   │   ├── Ramsay in 10 - S01E1 - Gordon Ramsay's Perfect Cereal French Toast Challenge _ Ramsay in 10 [WqY9JYZGzxk].mp4
│   │   ├── Ramsay in 10 - S01E2 - Gordon Ramsay Challenges Hell’s Kitchen Contestant To A Holiday Leftover Dish _ Ramsay in 10 [_3ZayJoxuqI].annotations.xml
│   │   ├── Ramsay in 10 - S01E2 - Gordon Ramsay Challenges Hell’s Kitchen Contestant To A Holiday Leftover Dish _ Ramsay in 10 [_3ZayJoxuqI].description
│   │   ├── Ramsay in 10 - S01E2 - Gordon Ramsay Challenges Hell’s Kitchen Contestant To A Holiday Leftover Dish _ Ramsay in 10 [_3ZayJoxuqI].info.json
│   │   ├── Ramsay in 10 - S01E2 - Gordon Ramsay Challenges Hell’s Kitchen Contestant To A Holiday Leftover Dish _ Ramsay in 10 [_3ZayJoxuqI].jpg
│   │   ├── Ramsay in 10 - S01E2 - Gordon Ramsay Challenges Hell’s Kitchen Contestant To A Holiday Leftover Dish _ Ramsay in 10 [_3ZayJoxuqI].mp4
│   │   ├── Ramsay in 10 - S01E3 - Gordon Ramsay Challenges Hell's Kitchen Contestant For Gourmet Ramen _ Ramsay in 10 [Kba6MAlEv3o].annotations.xml
│   │   ├── Ramsay in 10 - S01E3 - Gordon Ramsay Challenges Hell's Kitchen Contestant For Gourmet Ramen _ Ramsay in 10 [Kba6MAlEv3o].description
│   │   ├── Ramsay in 10 - S01E3 - Gordon Ramsay Challenges Hell's Kitchen Contestant For Gourmet Ramen _ Ramsay in 10 [Kba6MAlEv3o].info.json
│   │   ├── Ramsay in 10 - S01E3 - Gordon Ramsay Challenges Hell's Kitchen Contestant For Gourmet Ramen _ Ramsay in 10 [Kba6MAlEv3o].jpg
│   │   └── Ramsay in 10 - S01E3 - Gordon Ramsay Challenges Hell's Kitchen Contestant For Gourmet Ramen _ Ramsay in 10 [Kba6MAlEv3o].mp4
│   └── Scrambled with...
│       ├── Scrambled with... - S01E1 - Gordon Ramsay Cooks Breakfast Tacos with Aarón Sanchez _ Scrambled [fe-tkf4cqFU].annotations.xml
│       ├── Scrambled with... - S01E1 - Gordon Ramsay Cooks Breakfast Tacos with Aarón Sanchez _ Scrambled [fe-tkf4cqFU].description
│       ├── Scrambled with... - S01E1 - Gordon Ramsay Cooks Breakfast Tacos with Aarón Sanchez _ Scrambled [fe-tkf4cqFU].info.json
│       ├── Scrambled with... - S01E1 - Gordon Ramsay Cooks Breakfast Tacos with Aarón Sanchez _ Scrambled [fe-tkf4cqFU].jpg
│       ├── Scrambled with... - S01E1 - Gordon Ramsay Cooks Breakfast Tacos with Aarón Sanchez _ Scrambled [fe-tkf4cqFU].mp4
│       ├── Scrambled with... - S01E2 - Can Zedd Remix A Breakfast Sandwich With Gordon Ramsay _ Scrambled [rpvFXdxaK7o].annotations.xml
│       ├── Scrambled with... - S01E2 - Can Zedd Remix A Breakfast Sandwich With Gordon Ramsay _ Scrambled [rpvFXdxaK7o].description
│       ├── Scrambled with... - S01E2 - Can Zedd Remix A Breakfast Sandwich With Gordon Ramsay _ Scrambled [rpvFXdxaK7o].f137.mp4
│       ├── Scrambled with... - S01E2 - Can Zedd Remix A Breakfast Sandwich With Gordon Ramsay _ Scrambled [rpvFXdxaK7o].f140.m4a
│       ├── Scrambled with... - S01E2 - Can Zedd Remix A Breakfast Sandwich With Gordon Ramsay _ Scrambled [rpvFXdxaK7o].info.json
│       ├── Scrambled with... - S01E2 - Can Zedd Remix A Breakfast Sandwich With Gordon Ramsay _ Scrambled [rpvFXdxaK7o].jpg
│       └── Scrambled with... - S01E2 - Can Zedd Remix A Breakfast Sandwich With Gordon Ramsay _ Scrambled [rpvFXdxaK7o].temp.mp4
├── _
├── channels.txt
└── downloaded.txt

3 directories, 30 files

OmgImAlexis avatar Jan 07 '20 04:01 OmgImAlexis

Hi, i'll test it with the same playlists as you when I get home. But just to make sure, did you install and select the Absolute Series Scanner as the Scanner? At first glance this looks like a scanner issue to me, the scanner is responsible for sorting items in the correct season and detecting duplicate episodes.

Additionally, It will not be possible to add a season name (limitation of Plex), I could take a look at if there is another way to group playlists.

JordyAlkema avatar Jan 07 '20 11:01 JordyAlkema

Yes I picked that. Should I try and delete and recreate the library? I had changed over an existing library and then added the show. I figured it would have picked it up fine but maybe not?

Okay. Maybe we could add the shows and then have a collection created that adds each show?

OmgImAlexis avatar Jan 07 '20 12:01 OmgImAlexis

Maybe you shouldnt use the Uploaders directory and Youse Playlist directory instead. This way you will have a show named like the Playlist. The uploaders name will be in Studios.

This is similar to how Plex handles TV Shows. You dont put them in a directory named by the director but named like the shows Name.

Triorama avatar Jan 12 '21 09:01 Triorama

Maybe you shouldnt use the Uploaders directory and Youse Playlist directory instead. This way you will have a show named like the Playlist. The uploaders name will be in Studios.

This is similar to how Plex handles TV Shows. You dont put them in a directory named by the director but named like the shows Name.

Only issue with that is organisation is gonna be trash. 😔

OmgImAlexis avatar Jan 12 '21 20:01 OmgImAlexis

still not cleaqr how to use that thing - better create my own plugin....

mzayarnyuk avatar Jun 10 '23 16:06 mzayarnyuk