-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly get_full_info for songs and albums (#181)
* 🔧 Properly get full song info Previously, it was fetched only when the song didn't have an id (?) * 🔧 Add fields in song for the new fields * 🔧 Keep the statement as it is, but move it before song_id is overwritten in both search_song and search_album * Revert "🔧 Add fields in song for the new fields" This reverts commit bb948b1 * 🔧 Fix get_full_info logic * 🐛 Set `search_term` for both types of album queries, preventing a NameError * 🐛 Set `search_term` for both types of song queries, preventing a NameError * ✏ Rename result to song_info to avoid defining song_info later * 🤦 Oops. Now album_info was always None. Please squash this commit! :) * 🧹 Reindent due to variable rename * 🔧 Fix get_full_info logic for song searches * 🐛 Remove quotes from the search_term in album * 🐛 Remove quotes from the search_term in song * 🔧 Change .get("album") to ["album"]
- Loading branch information
Showing
1 changed file
with
15 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters