#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
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> |
#4
|
||||
|
||||
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 |
#5
|
|||
|
|||
Thank you so much!
That worked perfectly mgpai, sorry i couldn't reply quicker |
#6
|
||||
|
||||
It's great tip and it works for me too! Thank you mgpai!
|
#7
|
||||
|
||||
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 |
Thread Tools | |
Display Modes | |
|
|