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

Add retrieval of playlists #60

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

jrh3k5
Copy link

@jrh3k5 jrh3k5 commented Aug 6, 2023

This PR:

  • Adds a new GetPlaylists method to the client to retrieve playlists from Plex
  • Adds to the CLI the ability to set an access token as well as get and print the playlists
  • Updates the README to include instructions on how to use the CLI, as well as removing the out-of-date listing of its supported commands

This was tested by locally running the following commands within the cmd/ folder:

go run . token <redacted>

go run . pick-server
// picked a server

go run . playlists
26 playlists found
ID 185139 - '❤️ Tracks'
ID 185138 - 'All Music'
ID 185140 - 'Fresh ❤️'
ID 174514 - 'Recently Added'
...

go run . playlist 174514 
// list of items in the 'Recently Added' playlist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant