dart_jellyfin 0.0.2 copy "dart_jellyfin: ^0.0.2" to clipboard
dart_jellyfin: ^0.0.2 copied to clipboard

Dart client for Jellyfin. Supports authentication, library browsing, playlists, streaming, search and more. Targets macOS, Windows, Linux, iOS and Android.

example/dart_jellyfin_example.dart

// Copyright © 2026 & onwards, Alessandro Di Ronza <ales.drnz@gmail.com>.
// All rights reserved.
// Use of this source code is governed by BSD 3-Clause license that can be found in the LICENSE file.

import 'package:dart_jellyfin/dart_jellyfin.dart';

Future<void> main() async {
  final jellyfin = JellyfinClient(
    credentials: const JellyfinCredentials(
      client: 'MyApp',
      device: 'CLI',
      deviceId: 'example-device',
      version: '1.0.0',
    ),
  );

  jellyfin.connect('https://jellyfin.example.com');

  final auth = await jellyfin.user.authenticateByName(
    username: 'user',
    password: 'password',
  );
  print('Logged in as ${auth.user.name}');

  final views = await jellyfin.userViews.list();
  for (final v in views.items) {
    print('${v.name} (${v.collectionType})');
  }
}
5
likes
160
points
106
downloads
screenshot

Documentation

API reference

Publisher

verified publisherales-drnz.com

Weekly Downloads

Dart client for Jellyfin. Supports authentication, library browsing, playlists, streaming, search and more. Targets macOS, Windows, Linux, iOS and Android.

Repository (GitHub)
View/report issues

Topics

#jellyfin #media-server #music #streaming #api-client

License

BSD-3-Clause (license)

Dependencies

dio, meta, web_socket_channel

More

Packages that depend on dart_jellyfin