mpris 1.1.0 copy "mpris: ^1.1.0" to clipboard
mpris: ^1.1.0 copied to clipboard

A library to interface D-Bus MPRIS media players on linux systems.

2
likes
90/ 140
pub points
0%
popularity

We analyzed this package 6 days ago, and awarded it 90 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: GPL-3.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

187 out of 225 API elements (83.1 %) have documentation comments.

Some symbols that are missing documentation: mediaplayer2, mediaplayer2.MediaPlayer2, mediaplayer2.MediaPlayer2.MediaPlayer2, mediaplayer2_player, mediaplayer2_player.MediaPlayer2Player.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows
  • ✓ Linux

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:mpris/mpris.dart that imports:
  • package:mpris/generated/mediaplayer2_player.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.
Package does not support platform `iOS`.

Because:

  • package:mpris/mpris.dart that imports:
  • package:mpris/generated/mediaplayer2_player.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.
Package does not support platform `macOS`.

Because:

  • package:mpris/mpris.dart that imports:
  • package:mpris/generated/mediaplayer2_player.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.
Package does not support platform `Web`.

Because:

  • package:mpris/mpris.dart that imports:
  • package:mpris/generated/mediaplayer2_player.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 34 issues. Showing the first 2:

ERROR: A value of type 'List

lib/generated/mediaplayer2_playlists.dart:8:30

  ╷
8 │   DBusStruct get Playlist => values[0].asStruct();
  │                              ^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/generated/mediaplayer2_playlists.dart

ERROR: A value of type 'List

lib/generated/mediaplayer2_playlists.dart:57:12

   ╷
57 │     return value.asStruct();
   │            ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/generated/mediaplayer2_playlists.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
dbus ^0.7.0 0.7.10 0.7.10
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
collection - 1.18.0 1.18.0
ffi - 2.1.2 2.1.2
meta - 1.14.0 1.14.0
petitparser - 6.0.2 6.0.2
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

2
likes
90
pub points
0%
popularity

Publisher

unverified uploader

A library to interface D-Bus MPRIS media players on linux systems.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

dbus

More

Packages that depend on mpris