yogeshwaran01 / spotify-playlist-to-youtube-playlist

From Spotify's Groove to YouTube's Show: Spot2Tube
https://dev.to/yogeshwaran01/from-spotify-to-youtube-how-i-built-a-python-script-to-convert-playlists-2h89
MIT License
47 stars 5 forks source link

Include these .bat files for Windows #14

Open Rexadev opened 1 year ago

Rexadev commented 1 year ago

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 commented 1 year ago

Sure, I am working on it

On Thu, Sep 7, 2023, 2:45 PM Rexadev @.***> wrote:

@yogeshwaran01 https://github.com/yogeshwaran01

— Reply to this email directly, view it on GitHub https://github.com/yogeshwaran01/spotify-playlist-to-youtube-playlist/issues/14#issuecomment-1709788946, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP55M7EMWOBIFV646NL25WDXZGGDTANCNFSM6AAAAAA2MSBQ64 . You are receiving this because you were mentioned.Message ID: <yogeshwaran01/spotify-playlist-to-youtube-playlist/issues/14/1709788946@ github.com>

Rexadev commented 1 year ago

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