Skip to content

Commit

Permalink
Typo readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Wifsimster committed Aug 7, 2019
1 parent 4ae32b4 commit bcb773e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,55 +58,55 @@ Get the list actions availables.
ie : platform, platformVersion, updatedAt, version, machineIdentifier, myPlexUsername.
Return : [activities, butler, channels, clients, devices, diagnostics, hubs, library, livetv, media, player, playlists, resources, search, server, ...].

## getLibraries()
#### getLibraries()

Get a list of libraries.
Return: [section, recentlyAdded, onDeck].

## getLibrary([library = 'sections'])
#### getLibrary([library = 'sections'])

Get a list of sections in the library.
Return: [Movies, Music, TV Shows].

## getDirectoriesFromSection([library = 'sections'], [sectionId = 2])
#### getDirectoriesFromSection([library = 'sections'], [sectionId = 2])

Get list of directory in a specified section.
Default : TV Shows section.
Return : [all, unwatched, newest, recentlyAdded, recenntlyViewed, recentlyViewedShows, onDeck, folder, ...]

## getDirectory([library = 'sections'], [sectionId = 2], [directory = 'all'])
#### getDirectory([library = 'sections'], [sectionId = 2], [directory = 'all'])

Get a list of TV Shows by directory.
Default : TV Shows and all.
Return : [studio, type, title, contentRating, summary, index, rating, year, thumb, art, duration, originallyAvailableAt, ...].

## search([library = 'sections'], [sectionId = 2], [filters = { type: 2}])
#### search([library = 'sections'], [sectionId = 2], [filters = { type: 2}])

Search Tv Shows, episodes, movies or musics.
Default : [sectionId : Tv Shows, type: Tv Shows]
For Tv Shows, type: [2: Tv Shows, 3: Seasonn, 4 : Episode]

## refresh([library = 'sections'], [sectionId = 2])
#### refresh([library = 'sections'], [sectionId = 2])

Refresh a section.

## getMedatadata([id])
#### getMedatadata([id])

Get metdata of a media.

## getServers()
#### getServers()

Get a list of servers.
Return: [name, host, address, port, machineIdentifier, version].

## getSynchronize()
#### getSynchronize()

Get synchronize info.

## synchronize([accounntId])
#### synchronize([accounntId])

Synchronize Plex and Trakt.tv.

## getHubs([action = 'continueWatching'])
#### getHubs([action = 'continueWatching'])

Hubs actions [continueWatching, onDeck]
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bcb773e

Please sign in to comment.