#1
|
|||
|
|||
Packagizer Renaming
Hi @all,
I need help renaming episodes. I am trying to rename files using the packagizer. Each time I grab the link, it is called "videoplayback.mp4" in jdownloader but with my current set of rules it is renamed to Ergo Proxy Episode 1 but I want the number to increment by 1 each time I grab a link(eg. Ergo Proxy Episode 2 then Ergo Proxy Episode 3 etc.). Is that possible? Here is my current rule in packagizer. **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#2
|
|||
|
|||
[User feedback required] Incrementing values in file name
Is there a way to increment values when renaming a file using packagizer?
For example if a file is called "video.mp4" can we rename it to "Episode 1" and keep incrementing the "1" each time a file goes into that package? http://imgur.com/5ffGwLG Last edited by iSolutionJA; 04.07.2015 at 04:45. |
#3
|
||||
|
||||
Same question, two threads not needed.
Package customiser can not add a random number to it, it wouldn't work well even if it did, as if you added them out of sequence they be all wrong! Package customiser works off identifying markers, so if you want to rename content you restructure the filename (move order or remove content). There is no way to track each match of a rule or know its given order by how many times a rule runs. Best bet would be, add links to notepad in order then add extra parameter to the url like 'filename=yourdesiredfilename' parse that and set filename. These added links are from browser extension? is it anything like flashgot where it can let you set filename/path at the time of adding link in firefox? raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 04.07.2015 at 05:00. |
#4
|
|||
|
|||
I am going to be adding them in sequence. For example I found a script on github that I can run in the console window of chrome to generate bit.ly links for all episodes for a particular anime on Kissanime. I would then just copy the link once I am redirected and it would go into jdownloader and the episode value would increment each time I add link that meets the criteria.
I don't understand "if not, would be add links to notepad in order then add extra parameter to the url like 'filename=yourdesiredfilename'" How does that work? |
#5
|
||||
|
||||
url + &filename=somefilename.mp4
then in jdownloader package customiser rule make something that parses filename arugment and sets it if sourceurl contains, regexrule (?:&|\?)filename=([^&]+) then in filename <jd:source:1>
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#6
|
|||
|
|||
I don't really understand that could you show me in steps.
First two episodes: "bit.ly/1IVAtva" and "http://bit.ly/1IVAu2f"(it is going to redirect to a googlevideo link) I want the name to be Ergo Proxy Episode 1, Ergo Proxy Episode 2 etc. |
#7
|
||||
|
||||
edit the script so it changes url before sending the request to bit.ly
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
|||
|
|||
The script that is on github only grabs the link that is provided on each episode page and shorten them using bit.ly so I don't have to go back on forth on each episode page. The link is a googlevideo link. When I copy the googlelink the file name is videoplayback.mp4. This is the script that is used to grab the download links on each episode page "**External links are only visible to Support Staff**
You mentioned adding parameters to the url in notepad could you show me how you would do that? Last edited by iSolutionJA; 04.07.2015 at 06:42. |
#9
|
||||
|
||||
embeds google video, and uses dummy youtube player. I'll make a plugin for the site some time tonight then you wont have to use javascript in console.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#10
|
|||
|
|||
Thanks raztoki. That would be greatly appreciated.
|
#11
|
||||
|
||||
decrypter made.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
|
|