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

[Feature Request] Ability to display or list existing playlists #514

Open
luislobo opened this issue Sep 19, 2018 · 9 comments
Open

[Feature Request] Ability to display or list existing playlists #514

luislobo opened this issue Sep 19, 2018 · 9 comments

Comments

@luislobo
Copy link

Description

Sometimes I find myself having to go to Google Play Music online to remember the lists I have configured there and then come back to tizonia to actually use them. The fuzzy search not always find the exact list and also, myself, sometimes I don't remember the names themselves so I don't know what to search, or even, sometimes I don't know what I want to listen and after seeing he list of playtlists, I decide...

It would be great to have a --list-playlists or --show-playlists argument to display all the playlists one have.

@tizonia
Copy link
Collaborator

tizonia commented Sep 19, 2018

Hi!,

The functionality exists, 'more or less'... I'll explain.

The Google Music playlists are listed when the command is executed, usually until an exact match is found. If the exact match is not found, then a 'fuzzy' match will be selected. If nothing really matches, then a 'random' playlist will be selected.

$ tizonia --gmusic-playlist " "
tizonia 0.15.0. Copyright (C) 2018 Juan A. Rubio
This software is part of the Tizonia project <http://tizonia.org>

[Google Play Music] [Connecting] : 'jarubio2001@gmail.com'.
[Google Play Music] [Authenticating] : 'with cached auth token'
[Google Play Music] [Retrieving library] : 'jarubio2001@gmail.com'. 
[Google Play Music] [Playlist] 'Thumbs Up' (2 tracks).
[Google Play Music] [Playlist] 'Vad fruttik' (72 tracks).
[Google Play Music] [Playlist] 'Best of the Best Rock' (31 tracks).
[Google Play Music] [Playlist] 'Heavy Metal & Hard Rock: Top Novedades' (101 tracks).
[Google Play Music] [Playlist] 'Island music' (4 tracks).
[Google Play Music] [Playlist] 'Best of 2015' (20 tracks).
[Google Play Music] [Playlist] 'Best Pop of 2013' (25 tracks).
[Google Play Music] [Playlist] 'test playlist juan' (0 tracks).
[Google Play Music] [Playlist] 'Best New Metal' (83 tracks).
[Google Play Music] [Playlist] 'Concierto cadena 100 2017' (69 tracks).
[Google Play Music] [Playlist] 'My Top Songs' (4 tracks).
[Google Play Music] ' ' not found (or is empty). Feeling lucky?.
[Google Play Music] Playing 'Best of the Best Rock'.
[Google Play Music] [Track] 'Smells Like Teen Spirit' by 'Nirvana'.
[Google Play Music] [Track] 'Smoke On the Water' by 'Deep Purple'.
[Google Play Music] [Track] 'Welcome To The Jungle' by 'Guns N' Roses'.
...

@luislobo
Copy link
Author

@tizonia I see... OK, well actually it wasn't working for me like that because of the bugs reported in #328, therefore, I didn't have any list to "see".

I'm actually about to compile and test to see why I'm getting the same results as documented in that issue.

@luislobo
Copy link
Author

anyway, since you already have a way to retrieve the list, I guess it shouldn't be a big deal to add a list command... I'm also thinking that it would be great to be able to set the "fuzziness" of the search (the rate... basically)

@tizonia
Copy link
Collaborator

tizonia commented Sep 21, 2018

I think both are definitely good ideas, i.e. being able to only list the playlists, and the ability to tweak the fuzzy search. For this I've created a new issue: #517

@tizonia
Copy link
Collaborator

tizonia commented Sep 21, 2018

PRs are more than welcome by the way! :-)

@luislobo
Copy link
Author

Sure, I just discovered the project, need to get my hands down to it, after I finish some other work in other projects first! You can only handle one thing at a time :)

@makcuber
Copy link

makcuber commented May 9, 2020

I recently found this project and its fantastic! However, the lack of functionality for listing playlists and other collections like albums is the biggest limitation of the project that I've come across so far. When I play a playlist from spotify for example it does list the playlists on my account, but the list truncated and its buried underneath a bunch of debug output that I can find a way to disable in the config file. So the functionality is there on the backend to do this, its just not formatted or setup as its own command

@juanrubio
Copy link
Member

Hi @makcuber

this project and its fantastic!

Thanks!, I'm glad you like it! :-)

underneath a bunch of debug output

I believe you need to update the pyspotipy Python module that is responsible for displaying all that debug info. The latest version (2.12.0) removed the debug output that was accidentally left on in a previous version.

$ sudo -H pip3 uninstall spotipy
$ sudo -H pip3 install spotipy --upgrade
$ pip3 freeze | grep spotipy
spotipy==2.12.0

So the functionality is there on the backend to do this, its just not formatted or setup as its own command

Yes, you are correct. A bit of good news, the displaying of the contents of the play queue while Tizonia is already going through it is in progress. This option will be exposed in the next release of Tizonia, most likely as a keyboard shortcut e.g. like pressing the 'l' key on your keyboard while running a playlist. Hopefully, in 1-2 weeks this will be out (when 0.22.0 is released).

@juanrubio
Copy link
Member

In addition to that, this other feature will also be part of the next release :

#728

@juanrubio juanrubio added this to the v0.22.0 milestone May 9, 2020
@juanrubio juanrubio self-assigned this May 9, 2020
@juanrubio juanrubio modified the milestones: v0.22.0, v0.23.0 May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants