[GH-ISSUE #18] It ran, but I couldn't find the song file. #6

Closed
opened 2026-02-28 14:35:31 +03:00 by kerem · 2 comments
Owner

Originally created by @l13304648 on GitHub (May 26, 2024).
Original GitHub issue: https://github.com/Masterolic/Spotify-Downloader/issues/18

May I know how to find the downloaded song locally. I created Navichrome and I want the bot to download songs to the Navichrome directory.

Originally created by @l13304648 on GitHub (May 26, 2024). Original GitHub issue: https://github.com/Masterolic/Spotify-Downloader/issues/18 May I know how to find the downloaded song locally. I created Navichrome and I want the bot to download songs to the Navichrome directory.
kerem closed this issue 2026-02-28 14:35:31 +03:00
Author
Owner

@Masterolic commented on GitHub (May 26, 2024):

Hello it usually download on /tmp/{a random integer directory} and song file
github.com/Masterolic/Spotify-Downloader@4c88f6a470/mbot/plugins/spotify.py (L138)

After sending it will delete the file from local
github.com/Masterolic/Spotify-Downloader@4c88f6a470/mbot/plugins/spotify.py (L560)

You can use # front of it wherever it used to call rmtree(randomdir)

<!-- gh-comment-id:2132228411 --> @Masterolic commented on GitHub (May 26, 2024): Hello it usually download on /tmp/{a random integer directory} and song file https://github.com/Masterolic/Spotify-Downloader/blob/4c88f6a47022d46a38062e92be31496d1f31e148/mbot/plugins/spotify.py#L138 After sending it will delete the file from local https://github.com/Masterolic/Spotify-Downloader/blob/4c88f6a47022d46a38062e92be31496d1f31e148/mbot/plugins/spotify.py#L560 You can use # front of it wherever it used to call rmtree(randomdir)
Author
Owner

@l13304648 commented on GitHub (May 28, 2024):

Hello it usually download on /tmp/{a random integer directory} and song file

github.com/Masterolic/Spotify-Downloader@4c88f6a470/mbot/plugins/spotify.py (L138)

After sending it will delete the file from local

github.com/Masterolic/Spotify-Downloader@4c88f6a470/mbot/plugins/spotify.py (L560)

You can use # front of it wherever it used to call rmtree(randomdir)

Thank you very much, I successfully found the downloaded songs. I can now use the bot to add songs to my Navichrome.

<!-- gh-comment-id:2134224476 --> @l13304648 commented on GitHub (May 28, 2024): > Hello it usually download on /tmp/{a random integer directory} and song file > > https://github.com/Masterolic/Spotify-Downloader/blob/4c88f6a47022d46a38062e92be31496d1f31e148/mbot/plugins/spotify.py#L138 > > After sending it will delete the file from local > > https://github.com/Masterolic/Spotify-Downloader/blob/4c88f6a47022d46a38062e92be31496d1f31e148/mbot/plugins/spotify.py#L560 > > You can use # front of it wherever it used to call rmtree(randomdir) Thank you very much, I successfully found the downloaded songs. I can now use the bot to add songs to my Navichrome.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Spotify-Downloader-Masterolic#6
No description provided.