Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7.1.1+beta.2 #941

Merged
merged 26 commits into from
Oct 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
87e8a7f
Properly display bookmarks that were created with only partial inform…
MoojMidge Oct 11, 2024
6dd9a0e
Fix creation of YouTube object Items to set minimum required item id …
MoojMidge Oct 11, 2024
09a38f5
Standardise return type of LoginClient.refresh_token #932
MoojMidge Oct 11, 2024
d539d9e
Remove unused/redundant LoginClient.authenticate method
MoojMidge Oct 11, 2024
0739682
Improve updating of bookmarks and displaying unavailable bookmarked v…
MoojMidge Oct 11, 2024
01336b2
Fix curl headers not being used when set on path of setResolvedUrl li…
MoojMidge Oct 12, 2024
88dfa60
Explicitly set http server protocol version to HTTP/1.1
MoojMidge Oct 12, 2024
64d76a8
Fix HEAD requests to MPD manifests after 74c7d04
MoojMidge Oct 12, 2024
6fe83fe
Rename StreamInfo._make_curl_headers to StreamInfo._make_header_string
MoojMidge Oct 14, 2024
d2586b7
Don't access match group using __getitem__ to restore Python 2 compat…
MoojMidge Oct 14, 2024
db867f5
Further updates to standardise logging for script, plugin and service…
MoojMidge Oct 23, 2024
42e314b
Further updates/tidy ups to improve logging
MoojMidge Oct 23, 2024
7d70432
Rename StreamInfo._make_header_string to StreamInfo._prepare_headers
MoojMidge Oct 24, 2024
8f76bef
Properly distinguish between VP9 and VP9.2 with HDR info
MoojMidge Oct 24, 2024
54cdb9c
Fix kodion.utils.methods.redact_ip not defined in __all__
MoojMidge Oct 24, 2024
e73d704
Add new kodion.utils.methods.entity_escape method
MoojMidge Oct 24, 2024
c76f51b
Misc tidy ups
MoojMidge Oct 24, 2024
292fb94
Fix http server not running when script shows client IP
MoojMidge Oct 25, 2024
0388d14
Add View all and Shuffle context menu items for playlists
MoojMidge Oct 25, 2024
2351a4a
Dont ask for playlist order when playing from specific video
MoojMidge Oct 25, 2024
82c499a
Add kodion.logger.Logger mixin class and kodion.logging.enabled plugi…
MoojMidge Oct 26, 2024
a42753f
Store stream and MediaItem headers as dict
MoojMidge Oct 27, 2024
7dae24c
Ensure connection is closed on HTTPServer redirect
MoojMidge Oct 27, 2024
2f3ce1e
Move kodion.utils.methods.entity_escape to kodion.comptibility.entity…
MoojMidge Oct 27, 2024
4ca960b
Add context menu items for Uploads playlist
MoojMidge Oct 27, 2024
b6f6837
Version bump v7.1.1+beta.2
MoojMidge Oct 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Dont ask for playlist order when playing from specific video
MoojMidge committed Oct 26, 2024
commit 2351a4a50b1c78e5504d4dcd32db0aa002cda309
8 changes: 5 additions & 3 deletions resources/lib/youtube_plugin/youtube/helper/yt_play.py
Original file line number Diff line number Diff line change
@@ -180,6 +180,7 @@ def _play_playlist(provider, context):
playlist_ids = params.get('playlist_ids')
if not playlist_ids:
playlist_ids = [params.get('playlist_id')]
video_id = params.get('video_id')

resource_manager = provider.get_resource_manager(context)
ui = context.get_ui()
@@ -223,8 +224,10 @@ def _play_playlist(provider, context):
return False

# select order
order = params.get('order', '')
if not order:
order = params.get('order')
if not order and not video_id:
order = 'ask'
if order == 'ask':
order_list = ('default', 'reverse', 'shuffle')
items = [(context.localize('playlist.play.%s' % order), order)
for order in order_list]
@@ -250,7 +253,6 @@ def _play_playlist(provider, context):
playlist_player.unshuffle()

# check if we have a video as starting point for the playlist
video_id = params.get('video_id')
playlist_position = None if video_id else 0
# add videos to playlist
for idx, video in enumerate(videos):