Git Product home page Git Product logo

baton's People

Contributors

cassiobock avatar christopher-dg avatar joshuathompson avatar kovetskiy avatar roelofvkr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

baton's Issues

A way to get back to a listing?

Thank you for Baton, loving it so far. I have only one annoyance so far, and I wanted to get your feedback.

My listening is oriented around albums. Which is why I appreciate being able to do a "baton search artist NAME", select an artist, and then using the right arrow, go ahead and select a specific album, or even a song. However, after hitting play and exiting the view, I don't have a way to return to it. I can hit the up arrow and repeat the original search, but that requires me to start again from the artist and the album. The same problem exists when playing a song from a playlist using "baton me playlists".

Would it make sense to implement a command that shows the last screen again? Something like "baton current" or "baton list"? I'd be happy to send a pull request if you provide details on how you'd like it to work. I am guessing that the main problem is figuring out how to cleanly save state as the user moves through the tables.

search error "invalid argument"

Hi!
Very nice work but I have a problem using search function.

Every search gets error invalid argument.

For example:
./baton search artist Iron Maiden
2018/02/23 20:56:43 invalid argument
Other functions like next, repeat, status and devices are working.

"404 not Found" search error

Any search command shows the results just fine, but when I choose one, nothing is played and I get a log message: "404 Not Found".

[ ~ ] baton search artist foo  # Press enter to choose an artist from the TUI 
2018/06/24 12:27:28 404 Not Found

Share shows API URL

Using baton share outputs the URI and the API urls, where it should replace or include some "shareable" URL.

Current output:

baton share  
URI: spotify:track:2OBgZrayUVupeEtt1eu2V4
URL: https://api.spotify.com/v1/tracks/2OBgZrayUVupeEtt1eu2V4

It should include some URL that I could send to someone, e.g.: https://open.spotify.com/track/2OBgZrayUVupeEtt1eu2V4

Only allowing one-word search arguments doesn't make sense

$ ./baton search track foo bar
Error: accepts 1 arg(s), received 2
Usage:
  baton search track "track name" [flags]

Flags:
  -h, --help   help for track

I'm not sure what cobra.ExactArgs(1) does exactly, but correct behaviour is definitely just combining all the words into a single argument string to the search function.

edit: of course there's the option of quoting the string, but that's not too user friendly imo.

Binaries for 0.1.5 are the same for all platforms

$ md5sum baton*
5480eaa78ddded37a15711f45606e8a3  baton-0.1.5-darwin-amd64
5480eaa78ddded37a15711f45606e8a3  baton-0.1.5-linux-amd64
5480eaa78ddded37a15711f45606e8a3  baton-0.1.5-windows-amd64.exe

and

$ file baton-0.1.5-linux-amd64
baton-0.1.5-linux-amd64: Mach-O 64-bit x86_64 executable

Incorrect "Now playing" output from search

$ ./baton status
Track: S茅 Lest
Artist: Sigur R贸s
Album: Takk
Time Elapsed: 0:09 - 8:40

$ ./baton search artist balance
# Choose the first option "Balance And Composure"
Now playing 'S茅 Lest' by Sigur R贸s from the album Takk

$ ./baton status
Track: Tiny Raindrop
Artist: Balance And Composure
Album: The Things We Think We're Missing
Time Elapsed: 0:04 - 3:33

Add the ability to make baton persistant

Would really like to have there be a command to run like baton console that would keep it persistent so that I could have easy keyboard shortcuts to change my music. Not sure how feasible that would be but it's a feature I would really enjoy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.