We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdb1137 commit 8e8bec9Copy full SHA for 8e8bec9
1 file changed
src/Services/M3U.vala
@@ -5,8 +5,10 @@
5
6
namespace Music.M3U {
7
public bool is_playlist (File file) {
8
+ FileInfo info;
9
+
10
try {
- var info = file.query_info (GLib.FileAttribute.STANDARD_CONTENT_TYPE, FileQueryInfoFlags.NONE);
11
+ info = file.query_info (GLib.FileAttribute.STANDARD_CONTENT_TYPE, FileQueryInfoFlags.NONE);
12
} catch (Error e) {
13
warning (e.message);
14
return false;
0 commit comments