felnanuke2 / flutter_google_cast

BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

Item queue does not return correctly in the stream #7

Open GdevSP opened 3 months ago

GdevSP commented 3 months ago

[E/MethodChannel#com.felnanuke.google_cast.remote_media_client(19250): Failed to handle method call Firstly, I would like to thank and congratulate you on this wonderful package.

It's working great for me, but there are some features that don't work as they should.

GoogleCastRemoteMediaClient.instance.queueItemsStream only returns some items from the queue, I can't list everything, in my tests it listed a maximum of 3 items at a time..

GoogleCastRemoteMediaClient.instance.queueRemoveItemsWithIds() Does not remove any item and throws an error, even though the ids were passed correctly

E/MethodChannel#com.felnanuke.google_cast.remote_media_client(19250): Failed to handle method call
E/MethodChannel#com.felnanuke.google_cast.remote_media_client(19250): java.lang.ClassCastException: java.util.ArrayList cannot be cast to int[]

GoogleCastRemoteMediaClient.instance.stop() Does not work

Thank you very much for taking the time to make our lives easier