You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.
hello, I just cloned your repo and want to run it but it gives me exceptions seems like you changed a lot of things in flute_plugin song class, if you can share that code too, it'll be very helpful.
The text was updated successfully, but these errors were encountered:
Thanks for your response, @avirias
Now when I run it shows me this error
caused by this method getSharedData() async {
const platform = const MethodChannel('app.channel.shared.data');
Map sharedData = await platform.invokeMethod("getSharedData");
if (sharedData != null) {
if (sharedData["albumArt"] == "null") {
sharedData["albumArt"] = null;
}
Song song = new Song(
9999 /random/,
sharedData["artist"],
sharedData["title"],
sharedData["album"],
null,
int.parse(sharedData["duration"]),
sharedData["uri"],
sharedData["albumArt"]);
List list = new List();
list.add((song));
MyQueue.songs = list;
Navigator.of(context).push(new MaterialPageRoute(builder: (context) {
return new NowPlaying(null, list, 0, 0);
}));
}
} in musicHome class
when I step out the error it runs again and then throws this error
caused by this method
Future fetchLastSong() async {
List results = await _db
.rawQuery("select * from songs order by timestamp desc limit 1");
Song song;
results.forEach((s) {
song = new Song.fromMap(s);
});
print("Last" + song.title);
return song;
}
in database class.
hello, I just cloned your repo and want to run it but it gives me exceptions seems like you changed a lot of things in flute_plugin song class, if you can share that code too, it'll be very helpful.
The text was updated successfully, but these errors were encountered: