Author |
Date |
Commit |
Message |
Fazlul Shahriar |
Feb 21, 2015 |
91fd3ee2384a |
all: delete (moved to https://github.com/fhs/gompd)
See https://godoc.org/githu |
Fazlul Shahriar |
Feb 21, 2015 |
9230c6705cb9 |
document initialism problem |
Fazlul Shahriar |
Feb 21, 2015 |
2049b033984a |
lib/codereview/codereview.cfg: remove
This was for the old rietveld mercurial e |
Fazlul Shahriar |
Feb 21, 2015 |
bb8a0c77923c |
move server to an internal package
This removes dependency on "log" package.
It |
Fazlul Shahriar |
Feb 11, 2015 |
7a185371e59e |
use initialization statement in if's when appropriate |
Fazlul Shahriar |
Feb 11, 2015 |
178f2736b348 |
use Fatalf in test functions
Fatalf actually does run deferred functions.
This |
Fazlul Shahriar |
Feb 11, 2015 |
10b51131c9ed |
Merge pull request #23 from zefer/feature/outputs
Feature/outputs |
Joe Roberts |
Feb 10, 2015 |
c727da5a326a |
Prefer int over uint
This is more consistent with the library, and enables reus |
Joe Roberts |
Feb 10, 2015 |
aca080ad262f |
Simplify ListOutputs by not parsing the mpd response
This is more in keeping wi |
Joe Roberts |
Jan 30, 2015 |
535ea1f25f0e |
Add DisableOutput & EnableOutput
Use MPD's `enableoutput` & `disableoutput` com |
Joe Roberts |
Jan 30, 2015 |
183f6e83dfee |
Add ListOutputs command to get details of MPD outputs
Uses MPD's `outputs` comm |
Fazlul Shahriar |
Feb 1, 2015 |
830fce687564 |
fix broken links in documentation |
Fazlul Shahriar |
Nov 16, 2014 |
f19f2a0cb966 |
fix some golint warnings |
Fazlul Shahriar |
Nov 2, 2014 |
00a6390aa4b3 |
test: fix spelling in comment |
Fazlul Shahriar |
Nov 2, 2014 |
a0fd5f5a9961 |
Merge pull request #21 from zefer/fix/playlist-range
Fix PlaylistInfo to reques |
Joe Roberts |
Oct 31, 2014 |
d43c5e1a9252 |
Refactor for readability |
Joe Roberts |
Oct 31, 2014 |
55148f7bd943 |
Simplify logic
Now uses a single loop to build the playlist response. The `star |
Joe Roberts |
Oct 26, 2014 |
6e99b118da77 |
Fix PlaylistInfo to request only specified range from MPD
Previously, when a ra |
Fazlul Shahriar |
Sep 22, 2014 |
6008901134f7 |
A+C: add Joe Roberts |
Fazlul Shahriar |
Sep 22, 2014 |
76875598386a |
Merge pull request #20 from zefer/feature/add-lsinfo-command
Add `LsInfo` metho |
Joe Roberts |
Sep 22, 2014 |
bfbe1b3b6d6d |
Rename exported method to be more consistent with others in this lib. |
Joe Roberts |
Sep 13, 2014 |
a8b77d0f3ab3 |
Add `LsInfo` method for mpd's `lsinfo` command.
MPD's `lsinfo` returns director |
Fazlul Shahriar |
Jul 27, 2014 |
1f82cfe2cf9c |
A/C: add Josh Butts |
Fazlul Shahriar |
Jul 27, 2014 |
46a7787d55d1 |
README.md: link to old repo |
Fazlul Shahriar |
Jul 27, 2014 |
d00df30a9859 |
README.md: deprecate code.google.com URL |
Fazlul Shahriar |
Jul 27, 2014 |
ca6347987024 |
Merge pull request #18 from jimbojsb/master
Add "stats" call |
Josh Butts |
Jul 27, 2014 |
f56972123260 |
Update client.go |
Josh Butts |
Jul 27, 2014 |
8da28ab8bc8b |
format client.go |
Josh Butts |
Jul 4, 2014 |
ca9bd2389731 |
Add "stats" call |
Fazlul Shahriar |
Dec 20, 2013 |
3160ee61b078 |
Merge pull request #15 from turbowookie/master
Added Move, ListAllInfo, List, a |
Don Kuntz |
Dec 20, 2013 |
47c9fb1b95be |
what was I thinking before? |
Don Kuntz |
Dec 20, 2013 |
f33ec7563cfd |
switched to readAttrsList |
Michael Peterson |
Dec 20, 2013 |
ec3298c0e91f |
Removed the directory if statement in the find command. |
Don Kuntz |
Dec 20, 2013 |
0cb2ebb2294f |
simplified parsing in ListAllInfo |
Don Kuntz |
Dec 20, 2013 |
10fcfe066002 |
made requested fixes |
Don Kuntz |
Dec 20, 2013 |
bc15691b485d |
removed duplicate client.Move method |
Don Kuntz |
Dec 20, 2013 |
c9acf236fec2 |
Merge branch 'master' of github.com:turbowookie/gompd |
Michael Peterson |
Dec 19, 2013 |
1cd0e3af2e92 |
Ran gofmt over code. |
Michael Peterson |
Dec 19, 2013 |
7d258b9a8c43 |
Added an error message to the list function.
It will now break out of the loop |
Michael Peterson |
Dec 18, 2013 |
e27bd3330e7b |
Merge pull request #3 from mpeterson2/master
Removed debug lines |
Michael Peterson |
Dec 18, 2013 |
cd1f1e5f5fba |
Merge pull request #2 from mpeterson2/master
Added the Find function. |
Don Kuntz |
Dec 20, 2013 |
124db923335a |
Merge https://github.com/fhs/gompd |
Michael Peterson |
Dec 18, 2013 |
cca37a9f109f |
Removed debug lines |
Don Kuntz |
Dec 17, 2013 |
eaace1c0a4ad |
Merge branch 'master' of github.com:dkuntz2/gompd |
Michael Peterson |
Dec 18, 2013 |
7582a6fb40cf |
Added the Find function.
It's very similar to ListAllInfo, but you can use diff |
Don Kuntz |
Dec 17, 2013 |
f149672da079 |
Merge pull request #1 from mpeterson2/master
Added the list command |
Michael Peterson |
Dec 17, 2013 |
cf37d96b73e4 |
Put a space in a comment. |
Michael Peterson |
Dec 17, 2013 |
98065cf46125 |
Merge branch 'master' of github.com:mpeterson2/gompd |
Michael Peterson |
Dec 17, 2013 |
51fa5c31a0a0 |
Added the list command.
This command will let you search the database for metad |
Michael Peterson |
Dec 17, 2013 |
ebd3d2261322 |
Added the list command.
This command will let you search the database for metad |
Don Kuntz |
Dec 17, 2013 |
8ab35321927a |
fixes some listallinfo stuff |
Don Kuntz |
Dec 2, 2013 |
aef77855c27b |
didn't work, works now |
Don Kuntz |
Dec 2, 2013 |
0cfc37afca62 |
Custom loop in ListAllInfo |
Don Kuntz |
Dec 2, 2013 |
223e05e7bcc7 |
Trailing space as requested by MPD |
Don Kuntz |
Dec 2, 2013 |
7fab8cb7bf70 |
quotes around ListAllInfo args |
Don Kuntz |
Dec 2, 2013 |
1bbceeb4ddb3 |
Added documentation to Client.ListAllInfo. |
Don Kuntz |
Dec 1, 2013 |
1e4797e5eccb |
Added a ListAllInfo command.
ListAllInfo is just a call to MPD's listallinfo, w |
Fazlul Shahriar |
Dec 20, 2013 |
5857e5699c9a |
A/C: add 2 new people |
Don Kuntz |
Nov 29, 2013 |
55b936e5cca5 |
Made fixes as requested. |
Fazlul Shahriar |
Dec 19, 2013 |
0c7a522e0512 |
Merge pull request #16 from ushis/master
Added the move command. |
Don Kuntz |
Nov 28, 2013 |
990b3511213d |
Added `Client.Move`
Because MoveId only works if you know the ID of the song, a |
ushi |
Dec 19, 2013 |
ed71a43365d4 |
Added the move command. |
Fazlul Shahriar |
Nov 4, 2013 |
47d703e7fc32 |
Merge pull request #12 from ushis/master
End lines with LF not CR-LF. |
ushi |
Nov 4, 2013 |
ed8ae994f4fe |
Use WriteByte() in Client.printfLine(). |
ushi |
Nov 4, 2013 |
7baccb6fe6f2 |
Added documentation and fixed Client.cmd
* Added documentation about Client.cmd |
ushi |
Nov 4, 2013 |
9828f0be19d0 |
go fmt |
ushi |
Nov 4, 2013 |
b758361665ae |
End lines with LF not CR-LF. |
Fazlul Shahriar |
Oct 13, 2013 |
2816620f400c |
fix some golint suggestions |
Fazlul Shahriar |
Oct 13, 2013 |
7b786aa44d38 |
use Go MPD server for tests |
Fazlul Shahriar |
Oct 13, 2013 |
038d98a218c0 |
server: unexport all identifiers |
Fazlul Shahriar |
Oct 13, 2013 |
7d21e3d02c75 |
minor fixes in tests |
Fazlul Shahriar |
Oct 13, 2013 |
a03fef853592 |
server: implement idle command |
Fazlul Shahriar |
Oct 12, 2013 |
b66111ac6b90 |
server: various fixes & implement next/previous |
Fazlul Shahriar |
Oct 12, 2013 |
2f9cfc74012c |
server: implement command list |
Fazlul Shahriar |
Oct 11, 2013 |
3c75aa375cf2 |
server: remove unnecessary locks
not required because writeResponse is wrapped |
Fazlul Shahriar |
Oct 10, 2013 |
9bbda25b1117 |
server: implement playlist operations |
Fazlul Shahriar |
Oct 9, 2013 |
2bb9163e432e |
server: start working on server (for use in testing) |
Fazlul Shahriar |
Oct 9, 2013 |
f1ac976c26f5 |
fix string quoting in mpd commands
Fixes issue #10 (on github) |
Fazlul Shahriar |
Sep 28, 2013 |
909980a04757 |
remove copyright statement from package documentation |
Fazlul Shahriar |
Sep 28, 2013 |
3ce8046a427e |
.travis.yml: check if code is gofmt'ed |
Fazlul Shahriar |
Sep 28, 2013 |
4b66a7e3903b |
run gofmt -s |
Fazlul Shahriar |
Sep 28, 2013 |
14f256236f9e |
watcher: fix more races
Since Event/Error channels are no longer buffered,
we n |
Fazlul Shahriar |
Sep 27, 2013 |
e5c4184da358 |
remove Playlist type
This avoids potential need for type casting
at the cost of |
Fazlul Shahriar |
Sep 27, 2013 |
d3852c145001 |
Merge pull request #8 from ushis/master
Fixed Client.readAttrsList() and Client |
ushi |
Sep 27, 2013 |
4a34ac1c2183 |
Fixed Client.readAttrsList() and Client.readList()
Both functions returned nil |
Fazlul Shahriar |
Sep 27, 2013 |
c9ac1b689324 |
again fix race in Wacher.Close
this time for sure |
Fazlul Shahriar |
Sep 27, 2013 |
105374fe70bf |
return error from Watcher.Close |
Fazlul Shahriar |
Sep 27, 2013 |
f35da98a2ccf |
fix Wacher.Close race |
Fazlul Shahriar |
Sep 27, 2013 |
be46136c8f44 |
merge support for idle/noidle |
ushi |
Sep 26, 2013 |
bdd3dd22aff0 |
Fixed Copyright headers. |
ushi |
Sep 26, 2013 |
43f6c63e9e8c |
Fixed race condition in Watcher.Close()
* Added done channel
* Use buffered cha |
ushi |
Sep 26, 2013 |
0d34012aa6e3 |
Added an exmaple. |
ushi |
Sep 26, 2013 |
6041a44e4f28 |
go fmt |
ushi |
Sep 26, 2013 |
b1ebb924faf9 |
Added Watcher to use mpd's "idle" command. |
ushi |
Sep 25, 2013 |
e56c05e831ef |
Added mpd's "idle" & "noidle" commands.
* Introduced Client.Idle()
* Introduced |
ushi |
Sep 25, 2013 |
873f3ebf1c92 |
Clean up Client.GetFiles()
* An empty result is not an error.
* Fixed URL to th |
Fazlul Shahriar |
Sep 25, 2013 |
9c6f4f7fa3df |
Merge pull request #6 from ushis/master
Added commands to interact with stored |
ushi |
Sep 25, 2013 |
60809bb4db37 |
Better function signatures and cleaner tests.
* Introduces type Playlist
* Pref |
ushi |
Sep 25, 2013 |
8d39604b4453 |
Added Client.readAttrsList to stay DRY.
* Replaces Client.readPlaylist
* Simpli |
ushi |
Sep 25, 2013 |
45a290966df9 |
Added playlist related tests. |