-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add recommender.preferences_from_platform * get preferences using recommender in process_preferences * supply correct parameter to get_user_token * added PreferencesHandler * fix preferences_from_platform type hint * blackified * add missing import * send the right token for spotify in process_preferences * convert genres to list, check genres before searching for artists * tests: update test_token_handler * tests: set html parser for bs4 * tests: speed up test_get_album * tests: fix test_main requiring network connection * blackified * fix getting wrong token in PreferencesHandler * fix issue where token is not declared * fix assigning response to wrong key * change conftest fixtures scope to session, added fixtures for preferences_from_platform test * tests: remove test_login keyboard assert * tests: added test_preferences_from_platform * tests: added lasftm track top tags and user pyongs files * tests: added more cases * tests: added PreferencesHandler tests * tests: fix wrong value fro empty genre empty genres returns None, not an empty string. * tests: fix wrong value fro empty artists also updated the test to reflect the corrections * tests: fix wrong assert for empty artist * added repr method to exclusion * fix user_pyongs.json structure * fix typo * tests: improve recommender tests added actually testing API return values in preferences_from_platform added search query to select_artists * tests: improve test_process_preferences * added supplying chat id when updating preferences * added lastfm to include * tests: added inline query search songs tests * tests: added upsert tests for db * tests: add table to insert and upsert tables * tests: added case to test_select * tests: added tables to test_update * tests: added select_language to coverage excluded * tests: fixed patching lastfm * tests: removed unused variable * tests: fix flake8 errors * blackified * added shuffle to main menu for new users * tests: added cases for shuffle option in main menu
- Loading branch information
Showing
17 changed files
with
319 additions
and
94 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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"toptags":{"tag":[{"count":100,"name":"alternative","url":"https://www.last.fm/tag/alternative"},{"count":87,"name":"alternative rock","url":"https://www.last.fm/tag/alternative+rock"},{"count":69,"name":"rock","url":"https://www.last.fm/tag/rock"},{"count":56,"name":"radiohead","url":"https://www.last.fm/tag/radiohead"},{"count":48,"name":"indie","url":"https://www.last.fm/tag/indie"},{"count":30,"name":"90s","url":"https://www.last.fm/tag/90s"},{"count":28,"name":"british","url":"https://www.last.fm/tag/british"},{"count":18,"name":"experimental","url":"https://www.last.fm/tag/experimental"},{"count":16,"name":"indie rock","url":"https://www.last.fm/tag/indie+rock"},{"count":12,"name":"electronic","url":"https://www.last.fm/tag/electronic"},{"count":12,"name":"britpop","url":"https://www.last.fm/tag/britpop"},{"count":11,"name":"epic","url":"https://www.last.fm/tag/epic"},{"count":11,"name":"Progressive rock","url":"https://www.last.fm/tag/Progressive+rock"},{"count":10,"name":"favorites","url":"https://www.last.fm/tag/favorites"},{"count":9,"name":"melancholic","url":"https://www.last.fm/tag/melancholic"},{"count":8,"name":"beautiful","url":"https://www.last.fm/tag/beautiful"},{"count":7,"name":"paranoid android","url":"https://www.last.fm/tag/paranoid+android"},{"count":6,"name":"psychedelic","url":"https://www.last.fm/tag/psychedelic"},{"count":6,"name":"amazing","url":"https://www.last.fm/tag/amazing"},{"count":6,"name":"Awesome","url":"https://www.last.fm/tag/Awesome"},{"count":5,"name":"UK","url":"https://www.last.fm/tag/UK"},{"count":5,"name":"melancholy","url":"https://www.last.fm/tag/melancholy"},{"count":5,"name":"art rock","url":"https://www.last.fm/tag/art+rock"},{"count":4,"name":"Favourites","url":"https://www.last.fm/tag/Favourites"},{"count":4,"name":"Masterpiece","url":"https://www.last.fm/tag/Masterpiece"},{"count":4,"name":"ergo proxy","url":"https://www.last.fm/tag/ergo+proxy"},{"count":4,"name":"favorite songs","url":"https://www.last.fm/tag/favorite+songs"},{"count":4,"name":"Experimental Rock","url":"https://www.last.fm/tag/Experimental+Rock"},{"count":4,"name":"1997","url":"https://www.last.fm/tag/1997"},{"count":4,"name":"ok computer","url":"https://www.last.fm/tag/ok+computer"},{"count":4,"name":"seen live","url":"https://www.last.fm/tag/seen+live"},{"count":3,"name":"sad","url":"https://www.last.fm/tag/sad"},{"count":3,"name":"post-rock","url":"https://www.last.fm/tag/post-rock"},{"count":3,"name":"Love","url":"https://www.last.fm/tag/Love"},{"count":3,"name":"genius","url":"https://www.last.fm/tag/genius"},{"count":3,"name":"Mellow","url":"https://www.last.fm/tag/Mellow"},{"count":3,"name":"Favorite","url":"https://www.last.fm/tag/Favorite"},{"count":3,"name":"thom yorke","url":"https://www.last.fm/tag/thom+yorke"},{"count":3,"name":"guitar","url":"https://www.last.fm/tag/guitar"},{"count":3,"name":"male vocalists","url":"https://www.last.fm/tag/male+vocalists"},{"count":3,"name":"anime","url":"https://www.last.fm/tag/anime"},{"count":3,"name":"great lyrics","url":"https://www.last.fm/tag/great+lyrics"},{"count":3,"name":"best song ever","url":"https://www.last.fm/tag/best+song+ever"},{"count":3,"name":"ambient","url":"https://www.last.fm/tag/ambient"},{"count":3,"name":"Favourite Songs","url":"https://www.last.fm/tag/Favourite+Songs"},{"count":2,"name":"Soundtrack","url":"https://www.last.fm/tag/Soundtrack"},{"count":2,"name":"favourite","url":"https://www.last.fm/tag/favourite"},{"count":2,"name":"perfect","url":"https://www.last.fm/tag/perfect"},{"count":2,"name":"FUCKING AWESOME","url":"https://www.last.fm/tag/FUCKING+AWESOME"},{"count":2,"name":"electronica","url":"https://www.last.fm/tag/electronica"},{"count":2,"name":"pop","url":"https://www.last.fm/tag/pop"},{"count":2,"name":"Progressive","url":"https://www.last.fm/tag/Progressive"},{"count":2,"name":"brilliant","url":"https://www.last.fm/tag/brilliant"},{"count":2,"name":"All time favourites","url":"https://www.last.fm/tag/All+time+favourites"},{"count":2,"name":"classic rock","url":"https://www.last.fm/tag/classic+rock"},{"count":2,"name":"chillout","url":"https://www.last.fm/tag/chillout"},{"count":2,"name":"chill","url":"https://www.last.fm/tag/chill"},{"count":2,"name":"classic","url":"https://www.last.fm/tag/classic"},{"count":2,"name":"brit rock","url":"https://www.last.fm/tag/brit+rock"},{"count":2,"name":"paranoid","url":"https://www.last.fm/tag/paranoid"},{"count":2,"name":"best","url":"https://www.last.fm/tag/best"},{"count":2,"name":"Alternative Punk","url":"https://www.last.fm/tag/Alternative++Punk"},{"count":2,"name":"moody","url":"https://www.last.fm/tag/moody"},{"count":2,"name":"great song","url":"https://www.last.fm/tag/great+song"},{"count":2,"name":"loved","url":"https://www.last.fm/tag/loved"},{"count":2,"name":"alt rock","url":"https://www.last.fm/tag/alt+rock"},{"count":2,"name":"instrumental","url":"https://www.last.fm/tag/instrumental"},{"count":2,"name":"memories","url":"https://www.last.fm/tag/memories"},{"count":2,"name":"dramatic","url":"https://www.last.fm/tag/dramatic"},{"count":2,"name":"best songs ever","url":"https://www.last.fm/tag/best+songs+ever"},{"count":2,"name":"i had to change my pants after this song","url":"https://www.last.fm/tag/i+had+to+change+my+pants+after+this+song"},{"count":2,"name":"ridiculously awesomely good","url":"https://www.last.fm/tag/ridiculously+awesomely+good"},{"count":2,"name":"haunting","url":"https://www.last.fm/tag/haunting"},{"count":2,"name":"emotional","url":"https://www.last.fm/tag/emotional"},{"count":2,"name":"Psychedelic Rock","url":"https://www.last.fm/tag/Psychedelic+Rock"},{"count":2,"name":"male vocalist","url":"https://www.last.fm/tag/male+vocalist"},{"count":2,"name":"want to see live","url":"https://www.last.fm/tag/want+to+see+live"},{"count":2,"name":"psycho","url":"https://www.last.fm/tag/psycho"},{"count":2,"name":"1990s","url":"https://www.last.fm/tag/1990s"},{"count":2,"name":"Good Stuff","url":"https://www.last.fm/tag/Good+Stuff"},{"count":2,"name":"brit pop","url":"https://www.last.fm/tag/brit+pop"},{"count":2,"name":"british rock","url":"https://www.last.fm/tag/british+rock"},{"count":2,"name":"Soundtrack Of My Life","url":"https://www.last.fm/tag/Soundtrack+Of+My+Life"},{"count":1,"name":"dark","url":"https://www.last.fm/tag/dark"},{"count":1,"name":"post rock","url":"https://www.last.fm/tag/post+rock"},{"count":1,"name":"Ballad","url":"https://www.last.fm/tag/Ballad"},{"count":1,"name":"Awesome Guitar Jams","url":"https://www.last.fm/tag/Awesome+Guitar+Jams"},{"count":1,"name":"love at first listen","url":"https://www.last.fm/tag/love+at+first+listen"},{"count":1,"name":"nostalgia","url":"https://www.last.fm/tag/nostalgia"},{"count":1,"name":"grey storia","url":"https://www.last.fm/tag/grey+storia"}],"@attr":{"artist":"Radiohead","track":"Paranoid Android"}}} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.