yoheimuta / RxMusicPlayer

A reactive library to make it easy for audio playbacks using RxSwift.
MIT License
58 stars 8 forks source link

how can I update all URLs in the player? #41

Closed rastaman111 closed 2 years ago

rastaman111 commented 3 years ago

I can edit the audio metadata in my application, how can I update all URLs in the player?

Most likely, new functionality is needed, since after editing I delete the original url and add a new url

yoheimuta commented 3 years ago

@rastaman111 Can you elaborate?

There are APIs to append, insert, and remove an item.

rastaman111 commented 3 years ago

Can you elaborate?

There are APIs to append, insert, and remove an item.

ref. Add MP3 Urls by Button while playing #28 (comment)

adding and removing elements I know what exists, but it would be possible to implement this: I have an array of 3 elements, I edited 1 element and after editing the system itself deletes the old url and creates a new one, as a result, I get the same 3 elements in the array at the output

rastaman111 commented 3 years ago

Of course, I can implement deletion and then add, but these are two actions

yoheimuta commented 2 years ago

A new pull request is welcome. I'm not sure it's a priority feature I haste to implement it.