JDownloader Community - Appwork GmbH
 

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 online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 54,923
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 17.04.2020, 15:09
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 961
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 online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 54,923
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
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
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 17:40.
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 - 2020, Jelsoft Enterprises Ltd.