mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 15:35:17 +00:00
Renabled MPRIS for flatpak runtime
Adjusted flatpak manifest update script for latest changes in upstream
This commit is contained in:
parent
ff57527936
commit
0126587d6f
@ -5,7 +5,6 @@ import 'package:flutter_hooks/flutter_hooks.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:scroll_to_index/scroll_to_index.dart';
|
||||
import 'package:spotube/components/Shared/NotFound.dart';
|
||||
import 'package:spotube/components/Shared/SpotubeMarqueeText.dart';
|
||||
import 'package:spotube/components/Shared/TrackTile.dart';
|
||||
import 'package:spotube/helpers/image-to-url-string.dart';
|
||||
import 'package:spotube/helpers/zero-pad-num-str.dart';
|
||||
|
@ -74,7 +74,7 @@ class Playback extends PersistedChangeNotifier {
|
||||
_subscriptions = [],
|
||||
status = PlaybackStatus.idle,
|
||||
super() {
|
||||
if (Platform.isLinux && !kIsFlatpak) {
|
||||
if (Platform.isLinux) {
|
||||
_linuxAudioService = LinuxAudioService(this);
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ for chunk in tar.iter_content():
|
||||
if chunk:
|
||||
tar_sha256.update(chunk)
|
||||
|
||||
tar_source = config["modules"][1]["sources"][0]
|
||||
tar_source = config["modules"][0]["sources"][0]
|
||||
tar_source["url"] = tar_url
|
||||
tar_source["sha256"] = tar_sha256.hexdigest()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user