Giter Site home page Giter Site logo

shawak / downtify Goto Github PK

View Code? Open in Web Editor NEW
80.0 11.0 63.0 1.89 MB

Downtify is an open source Spofity downloader which makes it possible to download all your favourite songs and/or playlists directly from spotify.

License: GNU General Public License v3.0

C# 100.00%

downtify's Introduction

What is Downtify?

Downtify is an open source Spofity downloader which makes it possible to download all your favourite songs and/or playlists directly from spotify.

Usage

To use downtify, you just simple need enter any spotify premium account into the config.txt.

Downloading

You can download the latest version here.

Bugs

Feel free to help developing this mod by reporting any issues at our bug tracker.

License

Downtify ist licensed under the GNU General Public License v3, for more information please check out the license information.

downtify's People

Contributors

lordsill avatar shawak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

downtify's Issues

Bug with escape method line 355 of SpotifyDownloader.cs

The original code threw an unhandled exception. Reason was the for example the variable filepath appended two invalid chars at the front (position 0) and the end (position string.length).

e.g. my cool song [remix edition] would end up being "my cool song [remix edition]"

We needed to determine if at position 0 or string.length and if c == ascii 34 i.e. " if at these positions then ignore otherwise it is a valid test for invalid char ;)

Also the return statement was originally Substring'ed to 100 instead of lengthOfFilename.

final code is here:

    string escape(string filepath)
    {
        //int countLettersInPathName = 0;
        //we need to write code to ignore beginning double quotes and end of string double quotes
        //either we just step over it or ignore if double quotes is position 0 and length of string
        int lengthOfFilename = filepath.Length;
        int counter = 0;
        foreach (var c in new string(Path.GetInvalidFileNameChars()) + new string(Path.GetInvalidPathChars()))
        {
            if (!(counter == 0 && c == 34) || !(counter == lengthOfFilename && c == 34))
            {
                filepath = filepath.Replace(c, '_');
            }
            counter++;
        }
        return filepath.Substring(0, lengthOfFilename);
    }

I am working in Visual Studio 2017 and did not see anyone else having this problem. So not sure what the deal is. It works great for me now. Thanks for all this work and effort, much appreciated !

Best

Paul

Sometimes the download hangs

Once in a while a song doesn't complete the download and the download stays at a certain point.
I had it with a song from Sting, R Kelly and Queen.
The Queen song is spotify:track:1lCRw5FEZ1gPDNPzy1K4zW.
Doe you have any idea what this could be?

Otherwise the program is top.

How do I run downtify?

Hello,

I don't see anything in the instructions about how to start the program. How do I launch it, please?

Thanks,
Aleksey

download support m4a file

you could make this application to be m4a and not mp3, I've already searched for downloaders with m4a compatibility and there's no :(
apologies for asking a lot

.NET Framework Error Invalid Parameter Cover Image

Cover image download doesn't work anymore.

grafik

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.ArgumentException: Ungültiger Parameter.
   bei System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
   bei System.Drawing.ImageConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   bei System.ComponentModel.TypeConverter.ConvertFrom(Object value)
   bei Downtify.SpotifyDownloader.<EndOfTrack>d__7.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

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.