Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
9013f357
Commit
9013f357
authored
Oct 13, 2025
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MPRIS: debug print when album art changes
parent
3a486c59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mpris_player.vala
src/controlCenter/widgets/mpris/mpris_player.vala
+6
-0
No files found.
src/controlCenter/widgets/mpris/mpris_player.vala
View file @
9013f357
...
...
@@ -258,6 +258,8 @@ namespace SwayNotificationCenter.Widgets.Mpris {
}
prev_art_data
=
art_data
;
debug
(
"MPRIS album art: \"%s\""
,
art_data
);
// Cancel previous download, reset the state and download again
album_art_cancellable
.
cancel
();
album_art_cancellable
.
reset
();
...
...
@@ -347,6 +349,8 @@ namespace SwayNotificationCenter.Widgets.Mpris {
if
(
icon_info
!=
null
)
{
album_art
.
set_from_gicon
(
icon
);
background_picture
.
set_paintable
(
icon_info
);
debug
(
"MPRIS album art: using .desktop icon"
);
return
;
}
}
...
...
@@ -358,6 +362,8 @@ namespace SwayNotificationCenter.Widgets.Mpris {
icon_name
,
null
,
128
,
get_scale_factor
(),
Gtk
.
TextDirection
.
NONE
,
0
);
background_picture
.
set_paintable
(
icon_info
);
debug
(
"MPRIS album art: using default icon"
);
}
private
void
update_button_shuffle
(
HashTable
<
string
,
Variant
>
metadata
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment