Code Monkey home page Code Monkey logo

downtify-premium's People

Contributors

eviabs avatar igormartimiano avatar lordsill avatar lovemonkeyz avatar shawak avatar valkyrienyanko 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  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-premium's Issues

ohLibSpotify Error during compilation.

Hi, I got the following error during compilation. Is there any dependencies that I am missing?
System.BadImageFormatException: 'Could not load file or assembly 'ohLibSpotify, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.'

Fails to Build using msbuild.exe

I have no programming experience. I'm compiling without visual studio in cmd so bear with me. Using this command in cmd:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe Downtify.sln

It gives 2 warnings and 1 error. First, the warnings:

"C:\Users\user\Desktop\downtify-premium-master\Downtify.sln" (default target) (1) ->
"C:\Users\user\Desktop\downtify-premium-master\Downtify\Downtify.csproj" (default target) (2) ->
(ResolveAssemblyReferences target) ->
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary reference "System.Net.Http, Version=4.1.1.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" could not be resolved because it has a higher version "4.1.1.2" than exists in the current target framework. The version found in the current target framework is "4.0.0.0". [C:\Users\user\Desktop\downtify-premium-master\Downtify\Downtify.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\user\Desktop\downtify-premium-master\Downtify\Downtify.csproj]

Then the error:

"C:\Users\user\Desktop\downtify-premium-master\Downtify.sln" (default target) (1) ->
"C:\Users\user\Desktop\downtify-premium-master\Downtify\Downtify.csproj" (default target) (2) ->
(CoreCompile target) ->
SpotifyDownloader.cs(46,15): error CS0012: The type 'System.Object' is defined in an assembly that is not referenced.
You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
[C:\Users\user\Desktop\downtify-premium-master\Downtify\Downtify.csproj]

I try to resolve this error by adding <Reference Include="netstandard" /> to Downtify.csproj. Now it gives me two new errors:

"C:\Users\user\Desktop\downtify-premium-master\Downtify.sln" (default target) (1) ->
"C:\Users\user\Desktop\downtify-premium-master\Downtify\Downtify.csproj" (default target) (2) ->
(CoreCompile target) ->
SpotifyDownloader.cs(237,31): error CS1525: Invalid expression term '.' [C:\Users\user\Desktop\downtify-premium-master\Downtify\Downtify.csproj]
SpotifyDownloader.cs(237,32): error CS1003: Syntax error, ':' expected [C:\Users\user\Desktop\downtify-premium-master\Downtify\Downtify.csproj]

I delete the referece and try to resolve this by deleting .vs and bin folders. It eliminates the first error and gives the same two errors when adding a new reference. Can't compile simply.

Please select the song you want to download

I'm basically new to this thing, I think I followed the instructions right but I'm getting this error "Please select the songs you want to download" but there is no songs to select.

When I copy/paste the track on the text box, same thing happens. Please help

image

downify do fake downloads to tracks

I try to download one track, and when I press button download after 1 ms app said to me that track is downloaded. But nope, it's doesn't work. I see it today

Object reference not set to an instance of an object

I cloned the repo, entered my info in the config file, then compiled the program. It ran normally, but upon inputting a Spotify track link into the textbox and pressing enter, I was greeted with a System.NullReferenceException:
Screenshot_1

[Request] Feature: Disable Normalize

Though my Spotify desktop app settings are disabled Volume-wise (like Normalize and stuff), Downtify records them Normalized.

Example, u can see it here:
image

Can you by default disable that Normalized feature?

[Request] Feature: Set output to FLAC

Since Spotify Premium is able to produce 320kbps OGG (which is better quality than 320kbps MP3),
Could you implement a feature so the output can be written to FLAC (saving that bit of extra quality) ?

Convert to dotnet 5 ?

I was wondering if this program could be converted to dotnet 5, this would allow it to run on ubuntu, and all non-windows OS.

Feel free to close this issue if it's off topic.

CS0012 error when compiling the sln file

I'm aiming to compile this into an exe via msbuild tool and when i had run it with 'msbuild "C:\Users\User\Documents\My Project\My Project.sln" /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU"' similar command ( as explained here: https://superuser.com/questions/604953/how-can-i-compile-a-net-project-without-having-visual-studio-installed ), but..

When i checked the results, nothing and when i checked deeper, cmd showed the following error:

'SpotifyDownloader.cs(46,15): error CS0012: Type 'System.Object' is defined in an assembly that is not used as a reference. Add a reference to the assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2dd
d51'. [H:[Arquivos]\Aplicativos\Downtify Premium\Downtify\Downtify.csproj]'

How do i solve this and be able to compiled this program into exe and run it?

How do i run this?

Sorry for the dumb question, but how do i run it? Do I have to install Visual Studio or is there another way to run/compile it?

No album art or any tags

  • When opening Downtify:

System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at SpotifyWebApi.Auth.ClientCredentials.GetToken(AuthParameters parameters)
at Downtify.SpotifyWeb.GetISpotifyWebApiToken() in C:\Users\Michael\Downloads\Downtify\downtify-premium-master\Downtify\SpotifyDownloader.cs:line 68
at Downtify.SpotifyWeb.Auth() in C:\Users\Michael\Downloads\Downtify\downtify-premium-master\Downtify\SpotifyDownloader.cs:line 95
at Downtify.SpotifyDownloader.d__29.MoveNext() in C:\Users\Michael\Downloads\Downtify\downtify-premium-master\Downtify\SpotifyDownloader.cs:line 213

  • When Trying to download song:

System.NullReferenceException: Object reference not set to an instance of an object.
at Downtify.SpotifyWeb.RefreshToken(Boolean refreshOnlyIfExpired) in C:\Users\Michael\Downloads\Downtify\downtify-premium-master\Downtify\SpotifyDownloader.cs:line 77
at Downtify.SpotifyWeb.GetISpotifyWebApi() in C:\Users\Michael\Downloads\Downtify\downtify-premium-master\Downtify\SpotifyDownloader.cs:line 101
at Downtify.SpotifyDownloader.d__62.MoveNext() in C:\Users\Michael\Downloads\Downtify\downtify-premium-master\Downtify\SpotifyDownloader.cs:line 590

System.IO.PathTooLongException

When a song has a long name or a lot of artists. This error appears.
image

image

The folder for the song was created but the song could not be added. The progress bar was also completed. I LOVE everything
about Downtify except for this.

System.Net.WebException: 'The request was aborted: Could not create SSL/TLS secure channel.'

System.Net.WebException
HResult=0x80131509
Message=The request was aborted: Could not create SSL/TLS secure channel.
Source=System
StackTrace:
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at SpotifyWebApi.Auth.ClientCredentials.GetToken(AuthParameters parameters)
at Downtify.SpotifyWeb.GetISpotifyWebApiToken()

This exception was originally thrown at this call stack:
[External Code]
Downtify.SpotifyWeb.GetISpotifyWebApiToken() in SpotifyDownloader.cs
Downtify.SpotifyWeb.Auth() in SpotifyDownloader.cs
Downtify.SpotifyDownloader.LoggedIn(SpotifySharp.SpotifySession, SpotifySharp.SpotifyError) in SpotifyDownloader.cs

Was working fine a few days ago, still kind of new to this, so forgive me if its something on my end.

Limit of entries

When I tried to input my whole playlist with 1777 songs (1777 different entries), only the first 867 where registered. Also, these 867 songs represent approximately 60 hours of audio, but the downloader only showed 11:59:00 "Selected Songs Duration". I don't know if it is because there where selected fewer than 867 tracks (I checked the ones at the beginning and the ones at the end to estimate the amount of tracks), or if it is other sort of bug.

App crashes when saving tags

The album cover cannot be downloaded through libspotify api, so the app crashes while trying to create a bitmap out of an empty byte array.

Album cover downloading method should be changed.

Slow download speeds

I apologize if this should be obvious, but is the download speed supposed to be extremely slow? (about 2/3 of the actual playtime of a track in my case, and I am on gigabit fiber)

Is the program "recording" and re-encoding the tracks, and if so, does that not result in a loss in quality?

If there is nothing to do about download speeds, would it be possible to do simultanous downloads of multiple tracks or is that impossible without multiple premium accounts?

Downtify Premium +

Made some edits and added some features u might wanna use for the next update:

  • revamped gui
  • shadow added around window
  • help section added
  • update checker added
  • normalize disabled
  • flac/mp3 toggle added (flac not functional)
  • download finished audio signal added
  • processing info added
  • open download folder from ui
  • icon added
  • lame encoder updated to latest version
  • proper tab index added

downtify-premium+-screenshot

"Refresh token was null or empty!" Exception is thrown

When token expired, it can't refresh correctly.
ValidationException("Refresh token was null or empty!") is always thrown, since string.IsNullOrEmpty(oldToken.RefreshToken) is alwyas 'true'.

Check this.

For now, ignore the refresh process and just create brand new token.

Songs randomly will throw exception - will inconsistently download

Some songs download successfully, some songs (about 75% and often not consistently the same ones) will fire the following exception -

Value cannot be null
Parameter name: value

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.Boolean.Parse(String value)
   at Downtify.SpotifyDownloader.Download(Track track) in G:\Documents\gtam\Downtify\SpotifyDownloader.cs:line 456
   at Downtify.GUI.frmMain.buttonDownload_Click(Object sender, EventArgs e) in G:\Documents\gtam\Downtify\GUI\frmMain.cs:line 237
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Downtify
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///G:/Documents/gtam/Downtify/bin/Debug/Downtify.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ohLibSpotify
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///G:/Documents/gtam/Downtify/bin/Debug/ohLibSpotify.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
SpotifyWebApi
    Assembly Version: 0.0.10.0
    Win32 Version: 0.0.10.0
    CodeBase: file:///G:/Documents/gtam/Downtify/bin/Debug/SpotifyWebApi.DLL
----------------------------------------
netstandard
    Assembly Version: 2.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 11.0.0.0
    Win32 Version: 11.0.1.21818
    CodeBase: file:///G:/Documents/gtam/Downtify/bin/Debug/Newtonsoft.Json.DLL
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.ValueTuple
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll
----------------------------------------
System.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
yeti.mmedia
    Assembly Version: 1.0.5245.33655
    Win32 Version: 1.0.5245.33655
    CodeBase: file:///G:/Documents/gtam/Downtify/bin/Debug/yeti.mmedia.DLL
----------------------------------------
yeti.mp3
    Assembly Version: 1.0.5245.33657
    Win32 Version: 1.0.5245.33657
    CodeBase: file:///G:/Documents/gtam/Downtify/bin/Debug/yeti.mp3.DLL
----------------------------------------
taglib-sharp
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///G:/Documents/gtam/Downtify/bin/Debug/taglib-sharp.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



When they do, sometimes they will download, sometimes they won't - (and if they do, the download is orders of magnitude slower.) If I try and redownload already downloaded songs, it seems to work fine.

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.