JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 21.11.2014, 11:44
Spongshga's Avatar
Spongshga Spongshga is offline
JD Legend
 
Join Date: Apr 2009
Location: web
Posts: 1,159
Default Cover taging

Ich würde es super finden wenn es eine Option bei den Hostern-Plugins geben würde die Covers von mp3-Dateien schon enthalten sind.

Derzeit ist es noch so das die Covers mit heruntergeladen werden wobei man das Taging bei ganzen Channels viel Arbeit auf sich nimmt.

Beispielweise für Soundcloud.com, Youtube.com wäre es wünschenswert.
__________________
sorry about my gramma (dyslexia).
———————————————————————————————————
SuFu/Google: Inoffizielle JDownloader Plugins, Erweiterungen, Addons & Tools
Reply With Quote
  #2  
Old 22.11.2014, 08:44
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,324
Default

Hilfreich wäre sicher ein seriöser Testlink bei Youtube, da wohl nicht alle Videos ein Cover und dergleichen beinhalten.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.
Reply With Quote
  #3  
Old 23.11.2014, 19:04
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,913
Default

Yap - Testlinks bitte.

GreeZ 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
  #4  
Old 08.01.2016, 17:19
Spongshga's Avatar
Spongshga Spongshga is offline
JD Legend
 
Join Date: Apr 2009
Location: web
Posts: 1,159
Default

mit downloadverfügbarkeit:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

ohne downloadverfügbarkeit:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
(playlist) **External links are only visible to Support Staff****External links are only visible to Support Staff**
__________________
sorry about my gramma (dyslexia).
———————————————————————————————————
SuFu/Google: Inoffizielle JDownloader Plugins, Erweiterungen, Addons & Tools

Last edited by Spongshga; 08.01.2016 at 17:24.
Reply With Quote
  #5  
Old 26.01.2016, 01:03
Spongshga's Avatar
Spongshga Spongshga is offline
JD Legend
 
Join Date: Apr 2009
Location: web
Posts: 1,159
Default

*updatepush*
__________________
sorry about my gramma (dyslexia).
———————————————————————————————————
SuFu/Google: Inoffizielle JDownloader Plugins, Erweiterungen, Addons & Tools
Reply With Quote
  #6  
Old 26.01.2016, 10:56
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 28.01.2016, 11:38
Spongshga's Avatar
Spongshga Spongshga is offline
JD Legend
 
Join Date: Apr 2009
Location: web
Posts: 1,159
Default

Quote:
Originally Posted by thecoder2012 View Post
Hilfreich wäre sicher ein seriöser Testlink bei Youtube, da wohl nicht alle Videos ein Cover und dergleichen beinhalten.
Bei Soundcloud handelt es sich ja ausschließlich um Audiofiles. Das aber nicht alle ein Cover besitzen ist wohl richtig.

Quote:
Originally Posted by Jiaz View Post
Ich bin mir nicht sicher ob es im Bucktracker erwähnt wurde aber der Wunsch des taging bezieht sich eher auf das intigrieren des Covers von Soundcloud.com, da man mit dem JD2 Audiofile und Cover einzeln laden kann.
Aber das hinzufügen der Dateien von eg track number, title, author, maybe url/source ist auch sehr praktisch!
__________________
sorry about my gramma (dyslexia).
———————————————————————————————————
SuFu/Google: Inoffizielle JDownloader Plugins, Erweiterungen, Addons & Tools

Last edited by Spongshga; 28.01.2016 at 11:52.
Reply With Quote
  #8  
Old 29.09.2016, 00:06
Trackstyles Trackstyles is offline
JD Alpha
 
Join Date: Apr 2013
Posts: 21
Default

einmal kurz pushen ..hatte dass thema für soundcloud auchschonmal angesprochen vor knapp 2 jahren -sprich mp3/cover verknüpfung derzeit muss man es manuell machen..
Reply With Quote
  #9  
Old 29.09.2016, 00:16
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,913
Default

Wird vermutlich in naher Zukunft keine Priorität bekommen.
Da heißt es eigene Skripte und externe Programme benutzen.

Grüße, 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
  #10  
Old 21.10.2016, 10:03
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Example script to add album art to mp3 files from soundcloud.com

Code:
// Add album art (if available) to mp3 audiofiles from soundcloud.com
// Trigger : "Package Finished"
// Uses "original thumbnail" from soundcloud for album art
// Software required: metamp3.exe (**External links are only visible to Support Staff**
// Can also be used to add title, url and other metadata to the audio file

var links = package.getDownloadLinks();

for (i = 0; i < links.length; i++) {
    var link = links[i];
    var host = link.getHost();
    var fileType = getPath(link.getDownloadPath()).getExtension();

    if (host == "soundcloud.com" && fileType == "mp3") {
        var downloadFolder = link.getPackage().getDownloadFolder();
        var plainFileName = link.getProperty("plainfilename");
        var linkID = link.getProperty("linkid");
        var channel = link.getProperty("channel");
        var coverFileName = plainFileName + "_original_" + linkID + " - " + channel + ".jpg";
        var coverFile = getPath(downloadFolder + "/" + coverFileName);

        if (coverFile.exists()) {
            var tagger = "c:/portableapps/metamp3.exe"; // Full path to metamp3.exe
            var audioFile = link.getDownloadPath();

            callSync(tagger, "--pict", "{3}" + coverFile, audioFile);
            //coverFile.delete(); // Delete cover file
        }
    }
}
Reply With Quote
  #11  
Old 30.10.2022, 16:20
grush grush is offline
Modem User
 
Join Date: Dec 2021
Posts: 3
Default

Guten Tag Jungs und Mädels,
leider muss diesen uralten Thread wieder hochhieven, weil die >120 Seiten von verschiedenen Eventscript Sammel-Thread doch etwas zu sehr zeitintensiv wären, alle durch zu klicken. Verzeiht mir das

Ich versuch gerade diesen oben genannten code auf einem macOS lauffähig zu bekommen. Scheitere jedoch an dem Teil wo ich ffmpeg den Auftrag übergeben möchte, dass mp3 und cover miteinander zu "verschmelzen".

Im Terminal funktioniert das wunderbar mit dem Befehl hier:
Code:
ffmpeg -i input.mp3 -i input.jpg -c copy -map 0 -map 1 output_with_cover.mp3
Mein EventScript sieht folgendermaßen aus:
Code:
// Add album art (if available) to mp3 audiofiles from soundcloud.com
// Trigger : "Package Finished"
// Uses "original thumbnail" from soundcloud for album art
// Can also be used to add title, url and other metadata to the audio file

var links = package.getDownloadLinks();

for (i = 0; i < links.length; i++) {
    var link = links[i];
    var host = link.getHost();
    var fileType = getPath(link.getDownloadPath()).getExtension();

    if (host == "soundcloud.com" && fileType == "mp3") {
        var downloadFolder = link.getPackage().getDownloadFolder();
        var plainFileName = link.getProperty("plainfilename");
        var linkID = link.getProperty("linkid");
        var channel = link.getProperty("channel");
        var coverFileName = plainFileName + "_original_" + linkID + " - " + channel + ".jpg";
        var coverFile = getPath(downloadFolder + "/" + coverFileName);

        if (coverFile.exists()) {
            var tagger = "ffmpeg";
            var audioFile = link.getDownloadPath();

            callSync(tagger, "-i", audioFile, "-i", coverFile, "-c copy -map 0 -map 1", plainFileName, ".mp3");
            //coverFile.delete(); // Delete cover file
        }
    }
}
Funktioniert leider nicht, hier bekomme ich die Meldung:
"TypeError: Cannot read property "length" from null (#8)"
Reply With Quote
  #12  
Old 02.11.2022, 20:27
tarkett tarkett is offline
JD VIP
 
Join Date: Apr 2009
Location: Deutschland
Posts: 367
Default

Versuch es mal mit folgendem Script
https://board.jdownloader.org/showpo...postcount=1702


Vielleicht klappt das ja besser
Reply With Quote
  #13  
Old 03.11.2022, 13:18
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,913
Default

Und auch bedenken:
Das Script funktioniert nur für soundcloud Links und nur, wenn der Dateiname des Cover-Bildes dem Standard-Dateinamernsmuster entspricht (siehe Einstellungen -> Plugins -> soundcloud.com).
__________________
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 16:29.
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.