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
|
### Added
|
||||||
|
|
||||||
- Context menu sort options for channel videos and playlists
|
- Context menu sort options for channel videos and playlists
|
||||||
- Added localization and French
|
- Localization support and French translations
|
||||||
|
- Channel releases
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -176,19 +176,22 @@ end function
|
|||||||
|
|
||||||
function InitializeTabs()
|
function InitializeTabs()
|
||||||
m.tabs = {
|
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)
|
return CreateChannelFeed("Videos", "channel_videos", authorId, author)
|
||||||
end function
|
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)
|
return CreateChannelFeed("Shorts", "channel_shorts", authorId, author)
|
||||||
end function
|
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)
|
return CreateChannelFeed("Live", "channel_streams", authorId, author)
|
||||||
end function
|
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)
|
return CreateChannelFeed("Podcasts", "channel_podcasts", authorId, author)
|
||||||
end function
|
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)
|
return CreateChannelFeed("Playlists", "channel_playlists", authorId, author)
|
||||||
end function
|
end function
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -162,6 +162,13 @@ channel_podcasts:
|
|||||||
paginationType: Continuation
|
paginationType: Continuation
|
||||||
tryCount: 3
|
tryCount: 3
|
||||||
|
|
||||||
|
channel_releases:
|
||||||
|
title: Channel releases
|
||||||
|
url: /api/v1/channels/{ucid}/releases
|
||||||
|
responseHandler: ChannelPlaylistsHandler
|
||||||
|
paginationType: Continuation
|
||||||
|
tryCount: 3
|
||||||
|
|
||||||
watch_history:
|
watch_history:
|
||||||
title: Watch history
|
title: Watch history
|
||||||
url: /api/v1/auth/history
|
url: /api/v1/auth/history
|
||||||
|
|||||||
@@ -112,6 +112,10 @@
|
|||||||
<source>Live</source>
|
<source>Live</source>
|
||||||
<translation>Live</translation>
|
<translation>Live</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Releases</source>
|
||||||
|
<translation>Releases</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Podcasts</source>
|
<source>Podcasts</source>
|
||||||
<translation>Podcasts</translation>
|
<translation>Podcasts</translation>
|
||||||
|
|||||||
@@ -109,6 +109,10 @@
|
|||||||
<source>Live</source>
|
<source>Live</source>
|
||||||
<translation>En direct</translation>
|
<translation>En direct</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Releases</source>
|
||||||
|
<translation>Sorties</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Podcasts</source>
|
<source>Podcasts</source>
|
||||||
<translation>Podcasts</translation>
|
<translation>Podcasts</translation>
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ namespace Locale
|
|||||||
Videos = "Videos"
|
Videos = "Videos"
|
||||||
Shorts = "Shorts"
|
Shorts = "Shorts"
|
||||||
Live = "Live"
|
Live = "Live"
|
||||||
|
Releases = "Releases"
|
||||||
Podcasts = "Podcasts"
|
Podcasts = "Podcasts"
|
||||||
end enum
|
end enum
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user