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

Fixes the 'Display not ready' error and album playing #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lautaro-Garcia
Copy link

@Lautaro-Garcia Lautaro-Garcia commented Feb 27, 2017

Right now, if I do a search and press RET on a track it says [Display not ready] on the minibufer and it does nothing (I think it has to do with not
having any action defined in helm, just action-transformer).
With this fix, pressing RET or TAB on the track selected will trigger the
playing of the track.
One thing that will be lost in this PR is the name of the track in the options
(e.g: Play track - <track name>), but I think is better to have this fix that the
track name in that menu 👍

Also, the Play album wasn't behaving properly. It just played the first song
of the track and then it stopped. The fix there has to do with the URI that is
passed to Spotify. And I think it isn't necesary to make another http call to
get the album information, its's just there in the first request, so i wipe out
that function (spotify-get-track) entirely

Right now, if I do a search and press `RET` on a track it says `[Display not
ready]` on the minibufer and it does nothing (I think it has to do with not
having any `action` defined in helm, just `action-transformer`).
With this fix, pressing `RET` or `TAB` on the track selected will trigger the
playing of the track.

Also, the `Play album` wasn't behaving properly. It just played the first song
of the track and then it stopped. The fix there has to do with the URI that is
passed to Spotify. And I think it isn't necesary to make another http call to
get the album information, its's just there in the first request, so i wipe out
that function (`spotify-get-track`) entirely
@Lautaro-Garcia
Copy link
Author

Tried looking up the options that the helm function can take (in order to not lose the track name), but didn't find much info in the helm documentation 😢

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