Skip to content

Commit

Permalink
Merge pull request #725 from MoojMidge/v7.0.6
Browse files Browse the repository at this point in the history
v7.0.6
  • Loading branch information
MoojMidge authored Apr 26, 2024
2 parents bdb9880 + 9c972b7 commit 7e89342
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 12 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release-development-repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Generate and Publish Development Repositories
on:
workflow_dispatch:
inputs:
prerelease:
pre-release:
description: 'Is this a pre-release? [true|false]'
required: false
default: 'true'
Expand All @@ -22,14 +22,15 @@ jobs:

steps:
- name: Get and set release status
# workflow_dispatch: use prerelease variable for release status
# workflow_dispatch: use pre-release variable for release status
# push-tag: check tag for alpha|beta|dev to determine release status
id: release
run: |
version=${GITHUB_REF/refs\/tags\//}
if [[ ! -z ${{ github.event.inputs.prerelease }} ]] ;
pre-release=${github.event.inputs.pre-release}
if [[ ! -z "${pre-release}" ]] ;
then
echo "pre-release=${{ github.event.inputs.prerelease }}" >> $GITHUB_OUTPUT
echo "pre-release=${pre-release}" >> $GITHUB_OUTPUT
elif [[ $version == *[-+]@(alpha|beta|dev)*([.0-9a-z]) ]] ;
then
echo "pre-release=true" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.youtube" name="YouTube" version="7.0.6+beta.3" provider-name="anxdpanic, bromix, MoojMidge">
<addon id="plugin.video.youtube" name="YouTube" version="7.0.6" provider-name="anxdpanic, bromix, MoojMidge">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.requests" version="2.27.1"/>
Expand Down
29 changes: 29 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
## v7.0.6
### Fixed
- Improve updating containers and (re)loading windows #681
- Fix refreshing video listing also forcing next pages to refresh when loaded
- Fix overflow error resulting from parsing hashtags as episode numbers
- Fix 6s delay on video playback start
- Further fixes for multiple busy dialog crash workaround
- Possibly fix issues reported in comments of #704
- Update error checks to avoid unnecessary retries of player requests
- Fix adding and viewing items to internal bookmarks and watchlater list #720

### Changed
- Setup Wizard default settings now disable pre-downloading subtitles if MPEG-DASH is enabled
- Ask for quality, Play with subtitles, Play audio only context menu items only displayed if associated setting is not already enabled
- Only make extra request for subtitles for Android client when all subtitle languages are enabled
- Overhaul alternative player support due to Kodi changes and also improve external player support
- Make "Support alternative player" and "Use YouTube website urls with default player" mutually exclusive options #692
- Enable OPUS audio by default #537
- Enable MPEG-DASH for live streams by default #680
- Setup Wizard will prompt to run when plugin first opens after updating, in order to update default settings
- http server will shutdown on idle timeout #699

### New
- Add recommended settings in Setup Wizard for Raspberry Pi 1/2 class devices #688
- Added Bookmarks
- Save videos, channels, playlists to Bookmarks
- Bookmarked channels will be checked for updates in My Subscriptions
- Data is stored locally, without needing to be logged in

## v7.0.6+beta.3
### Fixed
- Fix adding and viewing items to internal bookmarks and watchlater list #720
Expand Down
3 changes: 0 additions & 3 deletions resources/lib/youtube_plugin/kodion/items/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ def from_json(json_data, *args):

item = _ITEM_TYPES[item_type](name='', uri='')

if 'data' in json_data and isinstance(json_data['data'], string_type):
return TypeError

for key, value in json_data.get('data', {}).items():
if hasattr(item, key):
setattr(item, key, value)
Expand Down
4 changes: 0 additions & 4 deletions resources/lib/youtube_plugin/kodion/sql_store/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,6 @@ def _get_by_ids(self, item_ids=None, oldest_first=True, limit=-1,
item[0]: self._decode(item[2], process, item)
for item in result if not cut_off or item[1] >= cut_off
}
for item_id, value in list(result.items()):
if value == TypeError:
self._remove(item_id)
del result[item_id]
elif values_only:
result = [
self._decode(item[2], process, item)
Expand Down

0 comments on commit 7e89342

Please sign in to comment.