Project

General

Profile

Actions

Bug #1477

closed

Не корректно работает связка LMP <-MPRIS2-> KDE

Added by Mellon almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins: LMP
Target version:
Start date:
01/06/2014
Due date:
% Done:

100%

Estimated time:
5:00 h
Reported in:
master

Description

Есть плазмоид NowPlaying, например. он использует MPRIS2 Engine кед: https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/c5081392600cdf6270009b1618d9d327bfe3e7e9/show/plasma/generic/dataengines/mpris2
который выдает:
plasma-desktop(3580)/plasma PlayerContainer::getPropsFinished: "org.mpris.MediaPlayer2.LMP" does not implement org.freedesktop.DBus.Properties correctly
plasma-desktop(3580)/plasma Mpris2Engine::initialFetchFailed: Failed to find working MPRIS2 interface for "org.mpris.MediaPlayer2.LMP"
И плазмоид, соответственно, не чует LMP примерно никак.
Что характерно, такая штука тока с LMP.

Expected result:

Actual result:

STR:

System information:
LeechCraft 0.6.60-91-g5d80afb
Built with Qt 4.8.5, running with Qt 4.8.5
Running on: Gentoo Linux (Gentoo Base System release 2.2) x86_64 3.12.6-gentoo #1 SMP PREEMPT Sat Dec 21 21:44:21 MSK 2013

Actions #1

Updated by 0xd34df00d almost 11 years ago

  • Status changed from New to Assigned
  • Target version set to 0.6.65
  • Estimated time set to 4:00 h

Похоже, дело в отсутствующем методе GetAll().

Actions #2

Updated by 0xd34df00d almost 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset main|commit:07b964a7efc91b0411e3f918144e5e6408d2d5fe.

Actions #3

Updated by 0xd34df00d almost 11 years ago

Спасибо за ссылку, кстати, не пришлось взгромождать кеды на тестового юзера, достаточно было погрепать по их исходникам.

Actions #4

Updated by Mellon almost 11 years ago

Теперь выдает:

file:///usr/share/apps/plasma/plasmoids/nowplaying/contents/ui/Mpris2.qml:30: TypeError: Result of expression 'getMetadata("xesam:artist", []).join' [undefined] is not a function.

и не показывает артиста.
https://projects.kde.org/projects/kde/kdeplasma-addons/repository/revisions/master/entry/applets/nowplaying/package/contents/ui/Mpris2.qml

C Tomahawk, например, норм.

Здесь вот хз, не уверен, что неправильно в личах, но всё же, проверь, пожалуйста.

Actions #5

Updated by 0xd34df00d almost 11 years ago

  • Status changed from Resolved to Assigned
  • % Done changed from 100 to 90
  • Estimated time changed from 4:00 h to 5:00 h

Спасибо, проблема в личкрафтах.

Actions #6

Updated by 0xd34df00d almost 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100

Applied in changeset main|commit:20b8eb0afd7b6357b930e26a8a3f64227ce2c0d0.

Actions #7

Updated by Mellon almost 11 years ago

  • Status changed from Resolved to Closed

Отлично! Теперь норм. Спасибо!

Actions

Also available in: Atom PDF