music: rename playlist when reimporting

When reimporting an M3U file into a playlist, if the name differs, then
initiate a rename dialog so the user has a choice on whether they want
to use the new name or not.

This does kinda desecrate the "Rename" decision a bit, but it's still
to the user the same.
This commit is contained in:
Alexander Capehart
2024-01-01 20:21:39 -07:00
parent 9ad11ec5aa
commit 0675ce8a03
10 changed files with 142 additions and 60 deletions
+10
View File
@@ -430,6 +430,16 @@
<argument
android:name="playlistUid"
app:argType="org.oxycblt.auxio.music.Music$UID" />
<argument
android:name="template"
app:argType="string"
app:nullable="true" />
<argument
android:name="applySongUids"
app:argType="org.oxycblt.auxio.music.Music$UID[]" />
<argument
android:name="reason"
app:argType="org.oxycblt.auxio.music.PlaylistDecision$Rename$Reason" />
</dialog>
<dialog