Skip to content

Commit

Permalink
fix some typos in README
Browse files Browse the repository at this point in the history
and fix submodules.
  • Loading branch information
DeadSix27 committed Mar 23, 2019
1 parent c0a7b12 commit 3b09543
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@

# foo_now_playing_helper

A foobar2000 component that announce player events via `OutputDebugString`, which allows for easy capture in other programs.
A foobar2000 component that announces events as well as track metadata via `OutputDebugString`, which allows for easy capture in other programs.


#### Announced events:

* `D6FNP_INIT`

Sent when the plugin is loaded (e.g foobar2000 starts)
* `D6FNP_QUIT`

Sent when the plugin is unloaded (e.g when foobar2000 exits)
* `"D6FNP_STATECHANGE_PLAY!"`

Sent when playback is started.
* `D6FNP_STATECHANGE_PAUSE`; `D6FNP_PBPAUSE`

Sent when playback is paused.
* `D6FNP_STATECHANGE_RESUME`

Sent when playback is resumed.
* `D6FNP_STATECHANGE_SETTRACK`
(I forgot when this happens, see: play_control::track_command_settrack, prob never occurs)

(I forgot when this happens, see: play_control::track_command_settrack, probably never occurs)
* `D6FNP_STATECHANGE_STOP`

Sent when playback is stopped.
* `D6FNP_NEWTRACK`

Sent when a new track is starting, e.g when a song ends or you skip to the next.
* `D6FNP_SONGINFO`
Occurs at the same time as `D6FNP_NEWTRACK`, contains all the useful song information encoded as base64 ands eperated by `|`.

#### Structure of`D6FNP_SONGINFO`:
Occurs at the same time as `D6FNP_NEWTRACK`, contains all the useful song information encoded as base64 and separated by `|`.

#### Structure of `D6FNP_SONGINFO`:
Notes:
- In this example we replaced the `|` separator by line breaks to make it readable.
- Every value is separately encoded in base64 to retain Unicode characters of different languages.
Expand Down
1 change: 1 addition & 0 deletions lib/WTL10
Submodule WTL10 added at 0d79ba
1 change: 1 addition & 0 deletions lib/foobar2000_sdk
Submodule foobar2000_sdk added at c49ff2

0 comments on commit 3b09543

Please sign in to comment.