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/ 160
pub points
19
downloads

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

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

failed
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.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

failed
Support up-to-date dependencies
20 / 40trigger 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.6.0 2.6.0
collection - 1.19.1 1.19.1
ffi - 2.1.3 2.1.3
meta - 1.16.0 1.16.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 41 errors:

  • UNDEFINED_METHOD - lib/generated/mediaplayer2.dart:16:18 - The method 'asBoolean' isn't defined for the type 'DBusValue'.
  • UNDEFINED_METHOD - lib/generated/mediaplayer2.dart:23:18 - The method 'asBoolean' isn't defined for the type 'DBusValue'.
  • UNDEFINED_METHOD - lib/generated/mediaplayer2.dart:36:18 - The method 'asBoolean' isn't defined for the type 'DBusValue'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

2
likes
90
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

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