-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
696 additions
and
1,092 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Zip and Attach to Release | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Get repository name | ||
id: repo-name | ||
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_OUTPUT | ||
|
||
- name: Get version number | ||
id: version | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
const { owner, repo } = context.repo; | ||
const release = await github.rest.repos.getRelease({ | ||
owner, | ||
repo, | ||
release_id: context.payload.release.id | ||
}); | ||
return release.data.tag_name; | ||
- name: Create folder and zip content | ||
run: | | ||
mkdir ${{ steps.repo-name.outputs.REPO_NAME }} | ||
rsync -av --exclude=${{ steps.repo-name.outputs.REPO_NAME }} . ${{ steps.repo-name.outputs.REPO_NAME }} | ||
zip -r ${{ steps.repo-name.outputs.REPO_NAME }}-${{ steps.version.outputs.result }}.zip ${{ steps.repo-name.outputs.REPO_NAME }} | ||
- name: Upload release asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./${{ steps.repo-name.outputs.REPO_NAME }}-${{ steps.version.outputs.result }}.zip | ||
asset_name: ${{ steps.repo-name.outputs.REPO_NAME }}-${{ steps.version.outputs.result }}.zip | ||
asset_content_type: application/zip |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# plugin.video.3cat.cat | ||
Kodi addon 3Cat. | ||
Entertainment, news, sports, documentaries, etc from catalan television www.3cat.cat/3cat/ | ||
|
||
Complement per Kodi - XBMC. | ||
Tota la programació de 3Cat. | ||
|
||
|
||
|
14 changes: 4 additions & 10 deletions
14
plugin.video.tv3.cat/addon.py → plugin.video.3cat/addon.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,27 @@ | ||
from __future__ import unicode_literals | ||
from future import standard_library | ||
standard_library.install_aliases() | ||
import xbmc | ||
from builtins import str | ||
import sys | ||
import urllib.parse | ||
import xbmcplugin | ||
import xbmc | ||
from resources.lib.ui.UI import UI | ||
|
||
xbmc.log("plugin.video.3cat - addon.py") | ||
|
||
xbmc.log("plugin.video.tv3.cat - addon.py") | ||
base_url = sys.argv[0] | ||
addon_handle = int(sys.argv[1]) | ||
|
||
xbmc.log(str(sys.argv[2][1:])) | ||
args = urllib.parse.parse_qs(sys.argv[2][1:]) | ||
|
||
xbmc.log("plugin.video.tv3.cat - addon.py - args: ") | ||
xbmc.log("plugin.video.3cat - addon.py - args: ") | ||
xbmc.log(str(args)) | ||
|
||
xbmcplugin.setContent(addon_handle, 'movies') | ||
|
||
mode = args.get('mode', None) | ||
url = args.get('url', ['']) | ||
|
||
|
||
|
||
ui = UI(base_url, addon_handle, args) | ||
|
||
|
||
ui.run(mode, url) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
v1.0.0 | ||
- First version |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...nguage/resource.language.ca_es/strings.po → ...nguage/resource.language.ca_es/strings.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...nguage/resource.language.de_de/strings.po → ...nguage/resource.language.de_de/strings.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...nguage/resource.language.en_gb/strings.po → ...nguage/resource.language.en_gb/strings.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...nguage/resource.language.es_es/strings.po → ...nguage/resource.language.es_es/strings.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...nguage/resource.language.nb_no/strings.po → ...nguage/resource.language.nb_no/strings.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from resources.lib.video.FolderVideo import FolderVideo | ||
from resources.lib.utils.Urls import url_coleccions, url_mesvist | ||
|
||
|
||
|
||
def getList(strings): | ||
|
||
#avuidestaquem = FolderVideo(strings.get('avuidestaquem'), "", "destaquem", "", "") | ||
#noperdis = FolderVideo(strings.get('noperdis'), url_coleccions, "noperdis", "", "") | ||
#mesvist = FolderVideo(strings.get('mesvist'), url_mesvist, "mesvist", "", "") | ||
coleccions = FolderVideo(strings.get('coleccions'), "", "coleccions", "", "") | ||
#programes = FolderVideo(strings.get('programes'), "", "programes", "", "") | ||
#directe = FolderVideo(strings.get('directe'), "", "directe", "", "") | ||
#cercar = FolderVideo(strings.get('cercar'), "", "cercar", "", "") | ||
|
||
return [coleccions] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.