Add support for channel releases (#340)
This commit is contained in:
1 parent
3391e3d787
commit
fd8b61ad44
6 files changed
+26
-6
No files matched your search
+2
-1
@@ -10,7 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Added
|
||||
|
||||
- Context menu sort options for channel videos and playlists
|
||||
- Added localization and French
|
||||
- Localization support and French translations
|
||||
- Channel releases
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
@@ -176,19 +176,22 @@ end function
|
||||
|
||||
function InitializeTabs()
|
||||
m.tabs = {
|
||||
videos: function(authorId as string, author as string) as object
|
||||
"videos": function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Videos", "channel_videos", authorId, author)
|
||||
end function
|
||||
shorts: function(authorId as string, author as string) as object
|
||||
"shorts": function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Shorts", "channel_shorts", authorId, author)
|
||||
end function
|
||||
streams: function(authorId as string, author as string) as object
|
||||
"streams": function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Live", "channel_streams", authorId, author)
|
||||
end function
|
||||
podcasts: function(authorId as string, author as string) as object
|
||||
"releases": function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Releases", "channel_releases", authorId, author)
|
||||
end function
|
||||
"podcasts": function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Podcasts", "channel_podcasts", authorId, author)
|
||||
end function
|
||||
playlists: function(authorId as string, author as string) as object
|
||||
"playlists": function(authorId as string, author as string) as object
|
||||
return CreateChannelFeed("Playlists", "channel_playlists", authorId, author)
|
||||
end function
|
||||
}
|
||||
|
||||
@@ -162,6 +162,13 @@ channel_podcasts:
|
||||
paginationType: Continuation
|
||||
tryCount: 3
|
||||
|
||||
channel_releases:
|
||||
title: Channel releases
|
||||
url: /api/v1/channels/{ucid}/releases
|
||||
responseHandler: ChannelPlaylistsHandler
|
||||
paginationType: Continuation
|
||||
tryCount: 3
|
||||
|
||||
watch_history:
|
||||
title: Watch history
|
||||
url: /api/v1/auth/history
|
||||
|
||||
@@ -112,6 +112,10 @@
|
||||
<source>Live</source>
|
||||
<translation>Live</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Releases</source>
|
||||
<translation>Releases</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Podcasts</source>
|
||||
<translation>Podcasts</translation>
|
||||
|
||||
@@ -109,6 +109,10 @@
|
||||
<source>Live</source>
|
||||
<translation>En direct</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Releases</source>
|
||||
<translation>Sorties</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Podcasts</source>
|
||||
<translation>Podcasts</translation>
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace Locale
|
||||
Videos = "Videos"
|
||||
Shorts = "Shorts"
|
||||
Live = "Live"
|
||||
Releases = "Releases"
|
||||
Podcasts = "Podcasts"
|
||||
end enum
|
||||
|
||||
|
||||
Reference in new issue
Block a user