Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include these .bat files for Windows #14

Open
Rexadev opened this issue Jul 17, 2023 · 2 comments
Open

Include these .bat files for Windows #14

Rexadev opened this issue Jul 17, 2023 · 2 comments

Comments

@Rexadev
Copy link
Contributor

Rexadev commented Jul 17, 2023

Add me Plyalist.bat

@echo off

set "CLIENT_ID=xx"
set "CLIENT_SECRET=xx"

echo CLIENT_ID: %CLIENT_ID%
echo CLIENT_SECRET: %CLIENT_SECRET%

:start

set /p playlistid=playlistid: 
echo Your playlistid is %playlistid%.
pause

python main.py create %playlistid% --private --save-to-sync

echo Press Any Key to restart
pause
clear
goto start

Sync.bat

@echo off

:start

set "CLIENT_ID=xx"
set "CLIENT_SECRET=xx"

echo CLIENT_ID: %CLIENT_ID%
echo CLIENT_SECRET: %CLIENT_SECRET%

python main.py sync
pause

goto start

Requirments.bat

pip install -r requirements.txt

You may want to remove loop from sync

@yogeshwaran01 You can make a simple UI using python that would have 2 buttons "add new playlist" and sync. which then can trigger these.

@yogeshwaran01
Copy link
Owner

yogeshwaran01 commented Sep 7, 2023 via email

@Rexadev
Copy link
Contributor Author

Rexadev commented Sep 7, 2023

@yogeshwaran01 What is wrong with it ? Just a reminder you may want to make a python or bash version for Linux/macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants