Giter Club home page Giter Club logo

Comments (8)

lanadelplaya avatar lanadelplaya commented on June 24, 2024

I can confirm this above statement, even after downloading and adding to path, it still asks the user to redownload, also, the gui portion will crash upon ANY and ALL changes made via the gui as well! Previous version worked F L A W L E S S L Y.

from spotify-downloader.

lanadelplaya avatar lanadelplaya commented on June 24, 2024

Thank you @dev by the way, for this project. It is great to utilize!

from spotify-downloader.

lanadelplaya avatar lanadelplaya commented on June 24, 2024

also figured out what to do with this scenario to stop crashing/asking for the latest repo, open "downloader.py" in any text editor, remove all this sectioning:

from spotify-downloader.

lanadelplaya avatar lanadelplaya commented on June 24, 2024

def checkversion():
response = (
get(
"https://api.github.com/repos/rickyrorton/spotify-downloader/releases/latest"
)
).json()
data = response["tag_name"]
if data.lower() != version.lower():
ch = messagebox.askokcancel(
"UPDATE APP",
f"Press OK to update your app to the latest version {data} from the github repository",
)
if ch:
from webbrowser import open_new_tab

        open_new_tab("https://github.com/rickyrorton/spotify-downloader/releases")
    elif __name__ != "__main__":
        exit()

t = Thread(target=checkversion())
t.start()
t.join()

from spotify-downloader.

lanadelplaya avatar lanadelplaya commented on June 24, 2024

save the copy of the "downloader.py" back in the file, and open your cmd.exe/terminal.app and cd the spotify-downloader folder you saved it to.

also for the latest version, you can also just "git clone "download repo link insertion here" after deleting the previous spotify-downloader file from git

from spotify-downloader.

rickyrorton avatar rickyrorton commented on June 24, 2024

the latest release file v1.70 when run asks to update exe to the latest v1.70. it seems the version number was bumped in github but not in the file it self. it still thinks it's v1.68.

@Skywalker25 yes i had forgot to update the version variable to v1.7 so the program thinks it was 1.68 even tho it was v1.7 I have fixed this issue now and modified the v1.7 release you can redownload the exe and it should be fixed, I apologize for the inconvenience caused.

from spotify-downloader.

rickyrorton avatar rickyrorton commented on June 24, 2024

can confirm this above statement, even after downloading and adding to path, it still asks the user to redownload, also, the gui

gui.py was fine as is.The downloader.py file required a minor change.The change is:
__version__ = "v1.7" from __version__ = "v1.68" on line 28

from spotify-downloader.

rickyrorton avatar rickyrorton commented on June 24, 2024

def checkversion(): response = ( get( "https://api.github.com/repos/rickyrorton/spotify-downloader/releases/latest" ) ).json() data = response["tag_name"] if data.lower() != version.lower(): ch = messagebox.askokcancel( "UPDATE APP", f"Press OK to update your app to the latest version {data} from the github repository", ) if ch: from webbrowser import open_new_tab

        open_new_tab("https://github.com/rickyrorton/spotify-downloader/releases")
    elif __name__ != "__main__":
        exit()

t = Thread(target=checkversion()) t.start() t.join()

kindly do not modify version checker code

from spotify-downloader.

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.