Skip to content

Commit

Permalink
[Bazarr] Fix method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Schaka committed Oct 6, 2024
1 parent 6e9e1a0 commit 649765a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ interface BazarrClient {
@RequestLine("GET /movies?start=0&length=-1&radarrid={movieId}")
fun getMovieSubtitles(@Param("movieId") movieId: Int): BazarrPage

@RequestLine("GET /episodes?series={showId}")
fun getTvSubtitles(@Param("showId") showId: Int): BazarrPage

@RequestLine("GET /episodes?series={showId}&episodeid={episodeIds}")
fun getTvSubtitles(@Param("showId") showId: Int, @Param("episodeIds") episodeId: List<Int> = listOf()): BazarrPage
fun getTvSubtitles(@Param("showId") showId: Int, @Param("episodeIds") episodeIds: List<Int>): BazarrPage

}

0 comments on commit 649765a

Please sign in to comment.