lib/ury_rapid/baps/requests/handlers/playlist.rb
def move_from_local_playlist(old_index)
            new_index = payload_id
            request Codes::Playlist::MOVE_ITEM_IN_PLAYLIST, caller_id do
              uint32 old_index, new_index
            end
          end
# Moves an item inside the playlist being handled by this handler
#
# This is an implementation of the playlist API type 'move'.
# BAPS does not support foreign playlist moves; use 'copy' instead.
#
# The destination index is the ID from the POST payload.
#
# @api semipublic
# @example  Move from index 5 to the handled playlist.
#   handler.move_from_local_playlist(5)
#
# @param old_index [Integer]  The source playlist index, starting
#   from 0.
#
# @return [void]
Moves an item inside the playlist being handled by this handler
This is an implementation of the playlist API type 'move'.
BAPS does not support foreign playlist moves; use 'copy' instead.

The destination index is the ID from the POST payload.
Moves an item inside the playlist being handled by this handler This is an implementation of the playlist API type ' move ' . BAPS does not support foreign playlist moves ; use ' copy ' instead . The destination index is the ID from the POST payload .
def move_from_local_playlist(old_index)
            new_index = payload_id
            request Codes::Playlist::MOVE_ITEM_IN_PLAYLIST, caller_id do
              uint32 old_index, new_index
            end
          end
def move_from_local_playlist ( old_index ) new_index = payload_id request Codes :: Playlist :: MOVE_ITEM_IN_PLAYLIST , caller_id do uint32 old_index , new_index end end
Moves an item inside the playlist being handled by this handler
This is an implementation of the playlist API type 'move'.
Moves an item inside the playlist being handled by this handler This is an implementation of the playlist API type ' move ' .
None
void
old_index
The source playlist index, starting from 0.
The source playlist index starting from 0 .
api
None
example
Move from index 5 to the handled playlist. handler.move_from_local_playlist(5)
Move from index 5 to the handled playlist . handler . move_from_local_playlist ( 5 )