Eventosweb - NickCis/Oruga GitHub Wiki

TODO: pasar cada evento a una pagina del plugin respectivo

* getSongs, 
  @idAlbum, 
  @idSong,
  @idArtist
  @keyword
  @wordSong
  @wordAlbum
  @wordArtist
  @limitFrom
  @limitCount
  @orderBy
  
  @ret JSON , lista de diccionario, con canciones > album  > artista

  [{
       id
       name
       path
       length
       album {
             id
             name
             pathimg
             year
             artist {
                    id
                    name
             }
       }

  },{

  }
  ]

* getAlbums, 
  @idArtist
  @keyword
  @wordAlbum
  @wordArtist
  @limitFrom
  @limitCount
  @orderBy
  
  @ret JSON , lista de diccionario, con album  > artista

  [{
      id
      name
      pathimg
      year
      artist {
            id
            name
       }

  },{

  }
  ]

* getArtists, 
  @wordArtist
  @limitFrom
  @limitCount
  @orderBy
  
  @ret JSON , lista de diccionario, con artistas

  [{
      id
      name
  },{

  }
  ]



* getOutputPlaylist
  @idOutput, 
  
  @ret JSON lista de diccionario ordenada como la reproduccion
  [{
       id
       name
       path
       length
       album {
             id
             name
             pathimg
             year
             artist {
                    id
                    name
             }
       }

  },{

  }
  ]


* addSongToPlaylist
  @idoutput
  @ids (csv)
  
  @return errcode

* removeSongFromPlaylist
  @idoutput
  @index (csv)
  @id (csv)
  
  @return errcode

* playOutput
* stopOutput
* nextOutput
* pauseOutput
  @idoutput

  @return errcode


* setVolumeOutput
  @idoutput
  @value

  @return errcode

* setMuteOutput
  @idoutput
  @value (1-> mute, 0-> unmute)

* getOutputPlaying
  @idOutput, 
  
  @ret JSON diccionario con la reproduccion
  song {
       id
       name
       path
       length
       album {
             id
             name
             pathimg
             year
             artist {
                    id
                    name
             }
       }
  }
  volume
  mute
  lenght
  status