mediathekview / MediathekView

Das Programm MediathekView durchsucht die Online-Mediatheken verschiedener Sender
https://mediathekview.de
GNU General Public License v3.0
855 stars 95 forks source link

Function "Add to JDownloader" should also parse the title to JDownloader, not just the URL; functional redundancy to "Copy URL to clipboard" #577

Closed ghost closed 3 years ago

ghost commented 3 years ago

The "Add to JDownloader" context menu function is a great new functionality.

However, only the URL is parsed to JDownloader, not the title. That's why users have to manually rename the file and enter the title in JDownloader. It would be a great time saver if MediathekView would also parse the title to JDownloader automatically.

Additionally, the current situation is redundant, because MediathekView has two context menu functions built in: "Copy URL to clipboard" and "Add to JDownloader", which do basically the same:

Parsing the URL only without the title to JDownloader does not need this separate "Add to JDownloader" function. Because the same thing can be achieved by using the function "Copy URL to clipboard" and setting JDownloader to monitor the clipboard. The separate "Add to JDownloader" function would make more sense if it had additional benefits to just parsing the URL, for example parsing the title, too.

derreisende77 commented 3 years ago

There is no API to send title to JDownloader.

pat-richter commented 3 years ago

@derreisende77 but it can be configured via packagizer settings. Maybe this can be added as a hint.

After I've found this thread via search, I've created a small gist which could be executed via DevTools. There is also a comment how to use it in combination with JDownloader (keeping file names).

derreisende77 commented 3 years ago

Your mixing MVW which is javascript with MV which is Java. Otherwise i would be interested how you‘d call JS from Java

pat-richter commented 3 years ago

@derreisende77 sure. I just mentioned it here as an example how one could implement this feature.

Sorry, I've missed to say that part earlier ;-)

styroll commented 3 years ago

@Marrib sagte: The separate "Add to JDownloader" function would make more sense if it had additional benefits to just parsing the URL, for example parsing the title, too.

Wenn man – wie hier im Forum beschrieben – direkt die URL der Webseite zur Sendung an JD (also nicht die Video-URL) weitergeben könnte, dann hätte man das Problem mit dem Titel gar nicht und dafür zusätzlich folgende Vorteile:

Wenn das möglich wäre, würde ich allerdings weiterhin JD über ein separates Aufnahme-Set (Übergabe an einen externen DL-Manager) aufrufen, da man via Kontextmenü JD selber bereits gestartet haben muss.