move playlist rename method
This commit is contained in:
parent
cea025e20c
commit
82997e97c9
1 changed files with 3 additions and 6 deletions
|
|
@ -86,7 +86,9 @@ public class PlaylistUtil {
|
|||
@Override
|
||||
public void onResponse(BaseItemDto itemDto) {
|
||||
itemDto.setName(name);
|
||||
renamePlaylistInner(itemDto);
|
||||
|
||||
// TODO at some point this should become metadata utilities
|
||||
App.getApiClient().UpdateItem(itemDto.getId(), itemDto, new EmptyResponse());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -95,9 +97,4 @@ public class PlaylistUtil {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void renamePlaylistInner(final BaseItemDto itemDto) {
|
||||
// TODO at some point this should become metadata utilities
|
||||
App.getApiClient().UpdateItem(itemDto.getId(), itemDto, new EmptyResponse());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue