daapc 0.3.6 copy "daapc: ^0.3.6" to clipboard
daapc: ^0.3.6 copied to clipboard

dart-daap-client is a Dart DAAP (Digital Audio Access Protocol) protocol client library

example/README.md

Usage #

  • Initialize it

  • Connect to the server

  • Get databases list:

    DAAP_HOST=localhost DAAP_PASSWORD=secretpassword dart example/get_databases.dart
    1: test
    
  • Get database playlists:

    DAAP_HOST=localhost DAAP_PASSWORD=secretpassword dart example/get_database_playlists.dart
    1: example.com (22)
    2: My Top Rated (0)
    3: Recently Added (0)
    4: Recently Played (0)
    
  • Get playlist:

    DAAP_HOST=localhost DAAP_PASSWORD=secretpassword dart example/get_playlist.dart
    1: Overture / Daft Punk / Tron: Legacy (Original Motion Picture Soundtrack) / 2010 - 0:2:28.000000
    [...]
    22: Finale / Daft Punk / Tron: Legacy (Original Motion Picture Soundtrack) / 2010 - 0:4:23.000000
    
  • Get database:

    DAAP_HOST=localhost DAAP_PASSWORD=secretpassword dart example/get_database.dart
    1: Overture / Daft Punk / Tron: Legacy (Original Motion Picture Soundtrack) / 2010 - 0:2:28.000000
    [...]
    22: Finale / Daft Punk / Tron: Legacy (Original Motion Picture Soundtrack) / 2010 - 0:4:23.000000
    
  • Get song:

    DAAP_HOST=localhost DAAP_PASSWORD=secretpassword dart example/get_song.dart
    tree
    .
    └── Daft Punk
        └── 2010 - Tron: Legacy (Original Motion Picture Soundtrack)
            ├── 1. Overture.mp3
            ├── [...]
            └── 22. Finale.mp3
    
  • Get song artwork:

    # pubspec.yaml
    
    dependencies:
      daapc: "0.3.6"
      mime: "^1.0.0"
    

    $ pub get
    $ DAAP_HOST=localhost DAAP_PASSWORD=secretpassword dart example/get_artwork.dart
    $ tree
    .
    └── Daft Punk
        └── Tron: Legacy (Original Motion Picture Soundtrack).jpg
    
1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

dart-daap-client is a Dart DAAP (Digital Audio Access Protocol) protocol client library

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http, http_auth, interpolator, mime

More

Packages that depend on daapc