mirror of
https://github.com/zoriya/astal.git
synced 2026-05-30 01:05:08 +00:00
move c header back to astal-mpris.h
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ if get_option('lib')
|
||||
meson.project_name(),
|
||||
sources,
|
||||
dependencies: deps,
|
||||
vala_header: meson.project_name().replace('astal-', '') + '.h',
|
||||
vala_header: meson.project_name() + '.h',
|
||||
vala_vapi: meson.project_name() + '-' + api_version + '.vapi',
|
||||
vala_gir: gir,
|
||||
version: meson.project_version(),
|
||||
|
||||
+2
-2
@@ -265,7 +265,7 @@ public class Player : Object {
|
||||
}
|
||||
|
||||
private async void cache_cover() {
|
||||
if (art_url == null)
|
||||
if (art_url == null || art_url == "")
|
||||
return;
|
||||
|
||||
var file = File.new_for_uri(art_url);
|
||||
@@ -295,7 +295,7 @@ public class Player : Object {
|
||||
file.copy_async.end(res);
|
||||
cover_art = path;
|
||||
} catch (Error err) {
|
||||
critical("Failed to cache cover art %s", err.message);
|
||||
critical("Failed to cache cover art with url \"%s\": %s", art_url, err.message);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user