Giter Club home page Giter Club logo

Comments (5)

AdrianEddy avatar AdrianEddy commented on July 21, 2024

Hi,
This format is needed to support all new features in AIMP 4.10 like drag&crop, copy to clipboard and open file location.
However, I can add a separate menu option to export the playlist with normal URLs. Which playlist format are you interested in? Do you need full youtube urls like https://www.youtube.com/watch?v=[id] or the direct link to .mp4 file (ie. processed link). The processed links to .mp4 files are unfortunately temporary (so they will expire at some point), but the advantage is that they can be played by any mp3/mp4 player (even without special youtube support).

from aimpyoutube.

Dharmainiciativ avatar Dharmainiciativ commented on July 21, 2024

I need to address in the Youtube playlist have the same form as in the example below
#EXTM3U
#EXTINF: -1, Georges Brassens Les copains d'abord
https://www.youtube.com/watch?v=CWJmBBxJlig
Format links need just such, otherwise the other players will appreciate it.
Export links in a format better m3u8 and m3u, different characters may appear in the titles.
Interest in your plugin arose from the fact that it bypasses the restriction to 200 tracks from the playlist. Other players, such as PotPlayer or MPC-BE if they open a link on the playlist receive only 200 tracks. Your plugin also circumvents this limitation.
P.S today released a new version of the AIMP, and hope you will be able to correct the behavior of the plugin. Unfortunately today at the closing of the player it gives AIMP.exe window: Memory Leak Detected
Thanks for the quick response and the desire to help, looking forward to new versions of Youtube and Souncloud plugins.

from aimpyoutube.

Dharmainiciativ avatar Dharmainiciativ commented on July 21, 2024

I have good news for you by the plugin to version AIMP 4.12.1873 no longer get out error when closing AIMP.exe player: Memory Leak Detected

from aimpyoutube.

AdrianEddy avatar AdrianEddy commented on July 21, 2024

Actually, here's a quick script to convert the playlist file from youtube:// format to full youtube url:
It works for soundcloud too.
Just save it as convert-pls.js and drag&drop your playlist file over it.

if (WScript.Arguments.Count() > 0) {
    var filename = WScript.Arguments(0);
    var fso = WScript.CreateObject('Scripting.FileSystemObject');

    var f = fso.OpenTextFile(filename, 1, false, -2); // 1 - forReading
    var content = f.AtEndOfStream ? '' : f.ReadAll();
    f.close();
    if (content) {
        content = content.replace(/youtube:\/\/(.*?)\/.*?(\r?\n)/gi, 'https://www.youtube.com/watch?v=$1$2');
        content = content.replace(/soundcloud:\/\/(.*?)\/.*?(\r?\n)/gi, 'https://api.soundcloud.com/tracks/$1/stream?client_id=7ab49ecff90c309cd51cab81c1f5baed$2');

        f = fso.OpenTextFile(filename, 2, true, -2); // 2 - forWriting
        f.write(content);
        f.close();
    }
}

from aimpyoutube.

Dharmainiciativ avatar Dharmainiciativ commented on July 21, 2024

Thank you for you script.
I will try to explain why you should not export links, where the address is registered as follows YouTube: //
If you open the exported playlist Aimp, we get a picture of how the screenshot
clipboard
I will try to explain why you should not export links, where the address is registered as follows YouTube: //
If you open the exported playlist Aimp, we get the picture as a screenshot.
Therefore, I suggest the following: When you export to a format aimppl4 save links in the form of YouTube: // as the problem with him Images
For other formats, convert them https://www.youtube.com/watch?v=[id]
P.S The latest version of the plugin Souncloud unfortunately does not work. It throws an error when you try to create a playlist Could not resolve the address

from aimpyoutube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.