JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 15.04.2020, 15:42
Poosaurus Poosaurus is offline
Modem User
 
Join Date: Apr 2020
Posts: 2
Default Packaging Youtube Playlists

I'd like youtube playlist videos to be packaged according to their playlist's name.
I tried using the plugins-customized package name=*PLAYLIST_NAME*, and it works fine for playlists but then when I try to fetch single videos the package name becomes:
*VIDEO_NAME*+quality,filetype
whereas before changing the customized package name it was just *VIDEO_NAME*.

How can i solve this?
Reply With Quote
  #2  
Old 15.04.2020, 17:34
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi,

you're hitting the limits of what is possible here.
For this to work we would either have to have two settings e.g. packagename for playlists and packagename for single videos or you'd have to use e.g. an EventScripter Script to modify packagenames of single videos accordingly.

-psp-
__________________
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
  #3  
Old 17.04.2020, 15:09
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Try this:

Customized Packagename:
Code:
playlistname=*playlist_name*videoname=*video_name*

Packagizer Rule #1:
Code:
if : Package Name : contains : playlistname=(.+)videoname=(.+) [Enable Regex]
then set: Package Name: <jd:orgpackagename:1>

Packagizer Rule #2:
Code:
if : Package Name : contains : playlistname=videoname=(.+) [Enable Regex]
then set: Package Name: <jd:orgpackagename:1>
Reply With Quote
  #4  
Old 17.04.2020, 15:15
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

mgpai lol did not even think of that - this could actually work!
You're creative - thx!

-psp-
__________________
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 03.07.2020, 23:53
Poosaurus Poosaurus is offline
Modem User
 
Join Date: Apr 2020
Posts: 2
Default

Thank you so much!
That worked perfectly mgpai, sorry i couldn't reply quicker
Reply With Quote
  #6  
Old 18.01.2022, 17:45
izofox's Avatar
izofox izofox is offline
JD Alpha
 
Join Date: Sep 2021
Location: Ukraine
Posts: 24
Default

It's great tip and it works for me too! Thank you mgpai!
Reply With Quote
  #7  
Old 14.09.2022, 18:21
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

As I was asked via PN:
There is a same/similar solution explained by me in more details 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
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 13:19.
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.