JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 15.07.2022, 01:45
DoomSlayer DoomSlayer is offline
Modem User
 
Join Date: Jul 2022
Posts: 4
Question Organization of Mass Youtube Downloads (via path/channelname/videoname)

Hello, I have spent some time browsing the forum looking for a way to organize the files downloaded from a list of Youtube channels but have not yet found anything that suits my needs.

I have a list of links to YT channels. I need a folder for each channel and a subfolder for each video.

Like this:
C:/channel/video_title/video.mpeg

The way I have configured things, JD currently dumps each video and its associated files into one folder with the channel's name. How can configure things so that JD adds the desired subfolders? I'm not sure if I need to use Packageizer or the Youtube plugin to achieve this.
Reply With Quote
  #2  
Old 15.07.2022, 12:53
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,782
Default

Quote:
Originally Posted by DoomSlayer View Post
I'm not sure if I need to use Packageizer or the Youtube plugin to achieve this.
Both:
  1. Go to Settings -> Plugins -> YT -> Scroll all the way down and put the following text into the "Customized Packagename" field:
    Code:
    USERNAME - *USERNAME* - TITLE - *VIDEONAME*
  2. Go to Settings -> Packagizer -> Add a rule with the following conditions:
    Package name -> equals ->
    Code:
    USERNAME - * - TITLE - *
    Downloadurl -> contains ->
    Code:
    youtube.com/
    ...then set:
    Download Directory:
    Code:
    C:\Users\bla\Downloads\00TestDLs\<jd:orgpackagename:1>\<jd:orgpackagename:2>
    --> <jd:orgpackagename:1> = channelname
    --> <jd:orgpackagename:2> = video title
    Screenshot of that rule:
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?

Last edited by pspzockerscene; 06.04.2023 at 17:47. Reason: Replaced broken/offline screenshot
Reply With Quote
  #3  
Old 15.07.2022, 15:27
DoomSlayer DoomSlayer is offline
Modem User
 
Join Date: Jul 2022
Posts: 4
Default

I am not getting the expected results. When I use the link grabber, the file path is highlighted in red. Here are screenshots of the linkgrabber and settings screens.





Reply With Quote
  #4  
Old 15.07.2022, 15:40
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,782
Default

You're doing it wrong.
1. You're not supposed to alter your general download path e.g. Settings -> General -> Download Folder -> Leave that like before.

2. You're not supposed to put any of the placeholders into your path in the "Add new links" dialog.
Those placeholdes will be autop-filled by the Packagizer rules - they are not available in the "Add links" dialog because at this stage there is no logic that can know what you're going to do/add.
Do not change the download path in that window.

3. When adding links via "Add links" dialog like you're doing, it is important to uncheck the checkbox "Information overwrites packagizer rules" in the bottom left corner!

-psp-
EDIT

It's working just fine here.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5  
Old 15.07.2022, 16:06
DoomSlayer DoomSlayer is offline
Modem User
 
Join Date: Jul 2022
Posts: 4
Default

I did not alter the general download path. As to the new link dialog, JD is adding the placeholders itself. If I remove the placeholders, it adds them again the next time I add new links. If I remove the placeholders and then continue anyway, JD creates a single subfolder called "USERNAME - random YouTuber - TITLE - random video title."

Sorry for being so slow, I've tried to set up everything exactly as you specified taking care to only change things specific to my machine.

Edit: I found one more error with my config, but fixing it had no effect. I had the packagizer for package name set to "contains" instead of "equals." Again, fixing this had no effect.

Last edited by DoomSlayer; 15.07.2022 at 16:10.
Reply With Quote
  #6  
Old 15.07.2022, 16:12
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,782
Default

That's not possible or in other words:
Your problem has nothing to do with the setup of that rule - it happened because you used the wrong path once yourself.

Probably you've used that path once and JD now auto-sets it as it is your last used path.
Either change that manually (= confirm one valid path once, this will then be used as last default path again) and/or reset the following advanced setting (Attention: this will clear your history of used download paths):
Settings -> Advanced Settings:
Code:
download destination history
--> Click on the yellow arrow in that line, right side to reset your download path history.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #7  
Old 15.07.2022, 16:23
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,128
Default

@DoomSlayer: Either add the links via Clipboard or when using the add links dialog, make sure to disable the *overwrites packagizer rules* checkbox
If you want we can help/show you via Teamviewer. Contact us via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 15.07.2022, 17:15
DoomSlayer DoomSlayer is offline
Modem User
 
Join Date: Jul 2022
Posts: 4
Default

@pspzockerscene: I did both to no avail, JD is still adding the placeholders to my file path in the add link dialog.

@Jiaz: Pasting directly into JD worked.

Thanks to you both for being so patient and willing to help! There are expensive software packages out there with less user support!
Reply With Quote
  #9  
Old 15.07.2022, 17:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,128
Default

Quote:
Originally Posted by DoomSlayer View Post
@pspzockerscene: I did both to no avail, JD is still adding the placeholders to my file path in the add link dialog.
clear the history like explained here https://board.jdownloader.org/showpo...87&postcount=6 AND make sure that you don't have placeholder in place in Settings->General->default download folder
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 15.07.2022, 17:41
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,782
Default

Thanks for your nice feedback!

If you need further help, just ask.
I still don't know why you still get that wrong path so in case you're unable to solve that, consider contacting us again for a Teamviewer session.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #11  
Old 06.04.2023, 03:15
sbrewer sbrewer is offline
Modem User
 
Join Date: Apr 2023
Posts: 3
Default Youtube - sort by channel/playlist/playlist_position-videoname

I have been following examples here, but I'm still stuck.
I want to backup a playlist from a youtube channel.

Store it in the following directory structure
N:\youtube\sorted\channel-name/playlist-name/playlist_position - video_name

Youtube Plugin -> Customized Packagename ->
*USERNAME* *PLAYLIST_NAME* *PLAYLIST_POSITION* *VIDEONAME*

Packagizer -> Package Name -> *USERNAME* *PLAYLIST_NAME* *PLAYLIST_POSITION* *VIDEONAME*

Packagizer -> Download Directory ->
N:\youtube\sorted\<jd:orgpackagename:1>\<jd:orgpackagename:2>\<jd:orgpackagename:3> <jd:orgpackagename:4>
Attachment 10459

Here is what I get:
Attachment 10460

I am not getting the subdirectories, but I am getting the names I expect.

In LinkGrabber, the Package Name is ->
Learn Linux TV Bash Scripting on Linux 0001 Bash Scripting on Linux (The Complete Guide) Class 01 - Course Introduction

All run together not in sub directories.
Any help?
Reply With Quote
  #12  
Old 06.04.2023, 18:01
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,782
Default

You can freely configure your preferred filenames.
Then the process of setting it up is similar to what I described in post #2.
So simplify it, I'll add one more set of complete instructions:
Quote:
Originally Posted by DoomSlayer View Post
I'm not sure if I need to use Packageizer or the Youtube plugin to achieve this.
Both:
  1. Go to Settings -> Plugins -> YT -> Scroll all the way down and put the following text into the "Customized Packagename" field:
    Code:
    USERNAME - *USERNAME* - PLAYLISTNAME - *PLAYLIST_NAME*
  2. Go to Settings -> Packagizer -> Add a rule with the following conditions:
    Package name -> equals ->
    Code:
    USERNAME - * PLAYLISTNAME - *
    Downloadurl -> contains ->
    Code:
    youtube.com/
    ...then set:
    Download Directory:
    Code:
    C:\Users\test\Downloads\00TestDLs\<jd:orgpackagename:1>\<jd:orgpackagename:2>
    --> <jd:orgpackagename:1> = channelname
    --> <jd:orgpackagename:2> = playlist title
    Screenshot of that rule:
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #13  
Old 10.04.2023, 21:51
sbrewer sbrewer is offline
Modem User
 
Join Date: Apr 2023
Posts: 3
Default

That works if there is a playlist, but if there is just a single video and no associated playlist it breaks.

I get this in the LinkGrabber view: (It actually does say USERNAME and PLAYLISTNAME)

Name: USERNAME - Zibartas - PLAYLISTNAME
Save to: N:\youtube\unsorted\USERNAME - Zibartas - PLAYLISTNAME

https://board.jdownloader.org/attach...1&d=1681152623
Attached Images
File Type: png Screenshot_1.png (11.3 KB, 3 views)
Reply With Quote
  #14  
Old 11.04.2023, 15:54
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,782
Default

That makes it more complicated but not impossible.
You could change the rule to use regular expressions so that you can make two different rules in the end: One for playlists and one for channels and/or single videos.

Also you haven't defined in your initial posts, where you'd want "all videos of one user/channel" to gu but I guess it would be here:
Code:
N:\youtube\sorted\ytUsername\<-- all videos here
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #15  
Old 13.04.2023, 06:52
sbrewer sbrewer is offline
Modem User
 
Join Date: Apr 2023
Posts: 3
Default

Quote:
Originally Posted by pspzockerscene View Post
That makes it more complicated but not impossible.
You could change the rule to use regular expressions so that you can make two different rules in the end: One for playlists and one for channels and/or single videos.

Also you haven't defined in your initial posts, where you'd want "all videos of one user/channel" to gu but I guess it would be here:
Code:
N:\youtube\sorted\ytUsername\<-- all videos here
Thanks. I will work on this some more.

You have helped me get the most common rule working.

I will see if I can figure out how to use regular expressions as you describe.

- Stacey
Reply With Quote
  #16  
Old 13.04.2023, 13:45
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,782
Default

Good luck.

You can ask us again if you can't get it working.

If you can get it working, it would be nice if you could post your solution here as it might be helpful for other users too.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 14:07.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.