Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
0ea664e
Remove unnecessary files
doskabouter Oct 12, 2019
d53c401
refactor columns as array of structure
doskabouter Oct 12, 2019
bfe53c2
fix build issues
doskabouter Oct 12, 2019
017a0dc
- Refactoring
doskabouter Oct 13, 2019
336b987
reverted getarray, bit more type issues fixed
doskabouter Oct 13, 2019
72be36a
Fix for overwriting watched and resume status of moving pictures data…
doskabouter Oct 13, 2019
76541aa
Centralized usage of MPSync.xml
doskabouter Oct 16, 2019
bea9f5f
- Moved all projects into one solution
doskabouter Oct 19, 2019
d26049f
- Fixed moved files in xmp2
doskabouter Oct 19, 2019
1ac51fd
Use correct nuget package for sqlite
doskabouter Oct 20, 2019
69dd53d
Minor fix in release build
doskabouter Oct 20, 2019
4bc450b
moved dlls to process-directory
doskabouter Oct 20, 2019
7d7bca7
Don't need to keep thread alive for the filewatcher to work. (This ca…
doskabouter Oct 20, 2019
f816e9f
* Fix for overwriting watched and resume status of moving pictures da…
doskabouter Oct 20, 2019
7b4daf8
Fixed some gui issues
doskabouter Oct 26, 2019
283dc4d
- minor cleanup
doskabouter Oct 26, 2019
fb4c0fd
Moved SQLite.Interop.dll to a subdirectory, so it will not be scanned…
doskabouter Nov 7, 2019
7e84220
Make plugin anycpu
doskabouter Mar 3, 2024
dcd7752
Make debugging easier
doskabouter Mar 3, 2024
bc01224
removed invisible gui-items and the events attached to those
doskabouter Mar 3, 2024
04d2b45
whitespace
doskabouter Mar 3, 2024
a3093ed
more code cleanup
doskabouter Mar 3, 2024
da0f0db
update xmp2 with new default properties
doskabouter Mar 4, 2024
08bfc68
fixed building for x86 and x64
doskabouter Mar 4, 2024
92d6801
update update.xml with new default properties
doskabouter Mar 4, 2024
6eda82f
no more autobuilding MPEI
doskabouter Mar 4, 2024
2805e51
code cleanup
doskabouter Mar 4, 2024
80f5158
moved update.xml to MPEI folder
doskabouter Mar 4, 2024
74ca3d5
Added x64 files to installer
doskabouter Mar 4, 2024
3ed3ad2
Refactor version usage
doskabouter Mar 16, 2024
c09ec38
remove unneeded usings
doskabouter Mar 16, 2024
1eb5c1c
update sqlite to 1.0.118.0
doskabouter Mar 16, 2024
e469f65
prepare release 1.0.0.23
doskabouter Mar 23, 2024
b8a9383
remove old versions from update.xml
doskabouter Mar 23, 2024
dff0e9e
Fixed locking of database when adding triggers by refactoring all acc…
doskabouter Apr 17, 2024
b4011b8
prepare release 1.0.0.24
doskabouter Apr 17, 2024
117df4c
Create README.md
andrewjswan Apr 30, 2024
ea405d3
Create codeql.yml
doskabouter Apr 30, 2024
51c1d42
Add Build Action
andrewjswan Apr 30, 2024
0cca320
Technical release
andrewjswan Apr 30, 2024
64406ae
MPSync 1.0.0.24 / Release
andrewjswan Apr 30, 2024
5f72543
Fix for badges
andrewjswan Apr 30, 2024
5c1aa6f
Merge branch 'master' of https://github.com/Mediaportal-Plugin-Team/M…
andrewjswan Apr 30, 2024
69f3803
Add LICENSE
andrewjswan Apr 30, 2024
313b842
Update codeql.yml
andrewjswan Apr 30, 2024
e44c698
Add Test action
andrewjswan Apr 30, 2024
e9570fd
Update codeql.yml
andrewjswan Apr 30, 2024
eeef329
Fix for CodeQL with Nuget
andrewjswan Apr 30, 2024
8e1cb6d
Add dependabot.yml
andrewjswan Apr 30, 2024
c4f0b65
Version Bump
andrewjswan May 16, 2024
33eaab4
MPSync 1.0.5.1 / Release
andrewjswan May 16, 2024
789a39b
Version freeze
andrewjswan May 16, 2024
93d29f2
Switch to Automatic Build
andrewjswan May 16, 2024
8be1336
Merge branch 'master' of https://github.com/Mediaportal-Plugin-Team/M…
andrewjswan May 16, 2024
abb5a81
Switch to Automatic Build
andrewjswan May 16, 2024
5c498de
MPSync 1.0.5.103 / Release
andrewjswan May 16, 2024
d691f80
Fix SQLite.Interop location
andrewjswan May 21, 2024
cde46cd
Merge pull request #1 from Mediaportal-Plugin-Team/Fix_SQLite.Interop…
andrewjswan May 21, 2024
dd48f0e
MPSync 1.0.5.106 / Release
andrewjswan May 21, 2024
fa7dcac
better exception logging
doskabouter May 24, 2024
40e81a5
prep for new release
doskabouter May 24, 2024
52991af
MPSync 1.0.5.109 / Release
doskabouter May 24, 2024
e254431
better exception logging
doskabouter May 25, 2024
2407102
Merge branch 'master' of https://github.com/Mediaportal-Plugin-Team/M…
doskabouter May 25, 2024
86f57d6
fixed casing
doskabouter May 25, 2024
e3d3737
reverted Fix SQLite.Interop location
doskabouter May 25, 2024
b7c048f
MPSync 1.0.5.114 / Release
doskabouter May 25, 2024
78bf871
better exception logging
doskabouter May 25, 2024
af1607b
refactoring
doskabouter May 25, 2024
8dad31e
fixed warning
doskabouter May 25, 2024
956e857
Yaml Lint
andrewjswan Sep 27, 2024
778b943
Create CODEOWNERS
andrewjswan Sep 30, 2024
4f9d480
use System.Data.SQLite.dll from plugins\process\ folder
doskabouter Dec 20, 2024
b3926c5
Properly handle exceptions
doskabouter Dec 20, 2024
e933192
Fix for overwriting watched and resume status of moving pictures data…
doskabouter Dec 20, 2024
12eaa62
prep for new release
doskabouter Dec 20, 2024
f002195
MPSync 1.0.5.124 / Release
doskabouter Dec 20, 2024
3eabdfe
merge configfiles into one
doskabouter Dec 28, 2024
0a8f19e
Merge branch 'master' of https://github.com/Mediaportal-Plugin-Team/M…
doskabouter Dec 28, 2024
93dfc9c
merge configfiles into one
doskabouter Dec 28, 2024
eb7c1f1
formatting
doskabouter Dec 28, 2024
dec26c3
Dependabot config update
andrewjswan Mar 17, 2025
9193062
Update dependabot config
andrewjswan Mar 17, 2025
f27b026
Bump Windows to Windows Server 2022
andrewjswan Jun 7, 2025
fbecf0b
Merge pull request #2 from Mediaportal-Plugin-Team/ws2022
andrewjswan Jun 7, 2025
46d88bb
DEP: Bump actions/checkout from 4 to 5
dependabot[bot] Aug 11, 2025
0d6d649
DEP: Bump actions/download-artifact from 4 to 5
dependabot[bot] Aug 11, 2025
f417096
Merge pull request #4 from Mediaportal-Plugin-Team/dependabot/github_…
andrewjswan Aug 11, 2025
8b9f7ef
Merge pull request #3 from Mediaportal-Plugin-Team/dependabot/github_…
andrewjswan Aug 11, 2025
21d86f6
DEP: Bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 27, 2025
0269cab
Merge pull request #5 from Mediaportal-Plugin-Team/dependabot/github_…
andrewjswan Oct 27, 2025
ffaaabd
DEP: Bump actions/download-artifact from 5 to 6
dependabot[bot] Oct 27, 2025
aa9e03e
Merge pull request #6 from Mediaportal-Plugin-Team/dependabot/github_…
andrewjswan Oct 27, 2025
a0d900d
DEP: Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
dd771f6
Merge pull request #7 from Mediaportal-Plugin-Team/dependabot/github_…
andrewjswan Nov 24, 2025
841cbd9
DEP: Bump actions/cache from 4 to 5
dependabot[bot] Dec 15, 2025
06cbe4a
DEP: Bump actions/upload-artifact from 5 to 6
dependabot[bot] Dec 15, 2025
64aa553
DEP: Bump actions/download-artifact from 6 to 7
dependabot[bot] Dec 15, 2025
579f57f
Merge pull request #10 from Mediaportal-Plugin-Team/dependabot/github…
andrewjswan Dec 15, 2025
47cf79e
Merge pull request #9 from Mediaportal-Plugin-Team/dependabot/github_…
andrewjswan Dec 15, 2025
76cf1ae
Merge pull request #8 from Mediaportal-Plugin-Team/dependabot/github_…
andrewjswan Dec 15, 2025
8810069
Merge pull request #12 from Mediaportal-Plugin-Team/dependabot/github…
dependabot[bot] Mar 5, 2026
9ca31a6
DEP: Bump actions/download-artifact from 7 to 8 (#11)
dependabot[bot] Mar 5, 2026
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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @Mediaportal-Plugin-Team/plugin-developers
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directories:
- "*"
schedule:
interval: weekly
day: monday
time: "12:00"
labels:
- dependencies
commit-message:
prefix: "DEP"
open-pull-requests-limit: 10
334 changes: 334 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,334 @@
name: Build / MPSync Plugin

on:
push:
# On Push to Master branch
branches:
- master
# Ignore all Tags / Release
tags-ignore:
- '**'

workflow_call:
inputs:
retention-build:
description: "Retention Period for Setup files. Default is 90"
default: 90
required: false
type: number
outputs:
version:
description: "MPE1 Version"
value: ${{ jobs.mpe.outputs.version }}

jobs:
build:
name: MPSync Plugin / Build
runs-on: windows-2022
steps:
- name: Setup Visual Studio 2022
uses: microsoft/setup-msbuild@v2
with:
vs-version: 16.11

- name: Git Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Nuget
run: |
nuget restore
working-directory: ${{ github.workspace }}\MPSync
shell: cmd

- name: Git Checkout / MPE / XPath
uses: actions/checkout@v6
with:
repository: Mediaportal-Plugin-Team/Mediaportal-Tools
path: Tools

- name: Build (x86)
run: |
build.cmd x86 < nul
working-directory: ${{ github.workspace }}\build
shell: cmd

- name: Build (x64)
run: |
build.cmd x64 < nul
working-directory: ${{ github.workspace }}\build
shell: cmd

- name: Upload Artifact / Plugin
uses: actions/upload-artifact@v7
if: ${{ success() }}
with:
name: MPSync
path: |
${{ github.workspace }}\MPSync\MPSync\bin\Release\MPSync.dll
retention-days: ${{ inputs.retention-build || 90 }}
if-no-files-found: error

- name: Save cache
uses: actions/cache/save@v5
with:
path: ${{ github.workspace }}
key: plugin

changes:
name: XMP2 / Changed
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.changes.outputs.xmp }}
steps:
- uses: actions/checkout@v6
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
xmp:
- '**.xmp2'

codeql:
name: CodeQL
if: ${{ needs.changes.outputs.changes == 'true' }}
uses: Mediaportal-Plugin-Team/Mediaportal-Tools/.github/workflows/codeql.yml@master
with:
nuget-restore: true
nuget-path: MPSync
needs:
- build
- changes
permissions:
security-events: write
secrets: inherit

mpe:
name: MPSync Plugin / MPE
runs-on: windows-2022
needs:
- build
- changes
outputs:
version: ${{ steps.version.outputs.version }}
changes: ${{ needs.changes.outputs.changes }}
steps:
- name: Restore cache
uses: actions/cache/restore@v5
with:
path: ${{ github.workspace }}
key: plugin

- name: Git Checkout / MPE / XPath
uses: actions/checkout@v6
with:
repository: Mediaportal-Plugin-Team/Mediaportal-Tools
path: Tools

- name: MP folder for MPEMaker
run: |
mkdir "C:\Team MediaPortal"
shell: cmd

- name: Link to MPEMaker
run: |
mklink /J "C:\Team MediaPortal\MediaPortal" "${{ github.workspace }}\Tools\MPEMaker"
shell: cmd

- name: Get MPE1 Version
id: version
run: |
FOR /F "tokens=*" %%i IN ('..\Tools\Tools\sigcheck.exe -accepteula -nobanner -n "..\MPSync\MPSync\bin\Release\MPSync.dll"') DO (ECHO version=%%i >> %GITHUB_OUTPUT%)
working-directory: ${{ github.workspace }}\build
shell: cmd

- name: Update Known Extensions
run: |
MPEUpdater.exe
working-directory: ${{ github.workspace }}\Tools\MPEMaker
shell: cmd

- name: Build MPE1
run: |
installer.cmd
working-directory: ${{ github.workspace }}\build
shell: cmd

- name: Upload Artifact / MPE1
uses: actions/upload-artifact@v7
if: ${{ success() }}
with:
name: MPSync MPE1
path: |
${{ github.workspace }}\MPEI\MPSync-*.mpe1
retention-days: ${{ inputs.retention-build || 90 }}
if-no-files-found: error

- name: Upload Artifact / MPE XML
uses: actions/upload-artifact@v7
if: ${{ success() && needs.changes.outputs.changes == 'true' }}
with:
name: MPSync XML
path: |
${{ github.workspace }}\MPEI\MPSync_update.xml
retention-days: ${{ inputs.retention-build || 90 }}
if-no-files-found: error

- name: Get Release Version Description
if: ${{ success() && needs.changes.outputs.changes == 'true' }}
run: |
call ..\Tools\XPath\xpath.cmd "MPSync_update.xml" "//Items/PackageClass/GeneralInfo/VersionDescription" last > description.txt
working-directory: ${{ github.workspace }}\MPEI
shell: cmd

- name: Add Badges to Release Version Description
if: ${{ success() && needs.changes.outputs.changes == 'true' }}
run: |
ECHO. >> description.txt
ECHO [![Downloads](https://img.shields.io/github/downloads/Mediaportal-Plugin-Team/MPSync/v${{steps.version.outputs.version}}/total)](https://github.com/Mediaportal-Plugin-Team/MPSync/releases/tag/v${{steps.version.outputs.version}}) [![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) >> description.txt
working-directory: ${{ github.workspace }}\MPEI
shell: cmd

- name: Clean Release Version Description
if: ${{ success() && needs.changes.outputs.changes == 'true' }}
run: |
..\Tools\Tools\sed.exe -i "s/ \//\//g" description.txt
working-directory: ${{ github.workspace }}\MPEI
shell: cmd

- name: Upload Artifact / Version Description
uses: actions/upload-artifact@v7
if: ${{ success() && needs.changes.outputs.changes == 'true' }}
with:
name: MPSync Version Description
path: |
${{ github.workspace }}\MPEI\description.txt
retention-days: ${{ inputs.retention-build || 90 }}
if-no-files-found: error

xml:
name: MPSync Plugin / XML
runs-on: ubuntu-latest
if: ${{ needs.mpe.outputs.changes == 'true' }}
needs:
- mpe
permissions:
contents: write
outputs:
changes: ${{ needs.mpe.outputs.changes }}
steps:
- name: Git Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Download Artifacts
uses: actions/download-artifact@v8
with:
name: MPSync XML
path: ${{ github.workspace }}/MPEI/

- name: Update / MPE1 XML
uses: EndBug/add-and-commit@v9
with:
message: 'MPSync ${{needs.mpe.outputs.version}} / Release'
add: '${{ github.workspace }}/MPEI/MPSync_update.xml'

- name: Delete XML Artifact
uses: geekyeggo/delete-artifact@v5
with:
name: MPSync XML
failOnError: false

release:
name: MPSync Plugin / Release
if: ${{ needs.mpe.outputs.changes == 'true' }}
needs:
- mpe
- xml
permissions:
contents: write
outputs:
changes: ${{ needs.mpe.outputs.changes }}

runs-on: ubuntu-latest

steps:
- name: Download Artifacts
uses: actions/download-artifact@v8
with:
name: MPSync MPE1
path: release-files

- name: Download Artifacts
uses: actions/download-artifact@v8
with:
name: MPSync Version Description
path: release-description

- name: Check Artifacts
run: |
ls -l
working-directory: release-files

- name: Release
uses: softprops/action-gh-release@v2
with:
name: MPSync v${{needs.mpe.outputs.version}}
tag_name: v${{needs.mpe.outputs.version}}
body_path: release-description/description.txt
generate_release_notes: true
files: |
release-files/*.mpe1

- name: Delete MPE1 Artifact
uses: geekyeggo/delete-artifact@v5
with:
name: MPSync MPE1
failOnError: false

- name: Delete Version Description Artifact
uses: geekyeggo/delete-artifact@v5
with:
name: MPSync Version Description
failOnError: false

ci-status:
name: Build Status
runs-on: ubuntu-latest
needs:
- build
- mpe
if: always()
steps:
- name: Success
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Failure
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

release-status:
name: Release Status
if: ${{ needs.release.outputs.changes == 'true' }}
runs-on: ubuntu-latest
needs:
- release
steps:
- name: Success
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Failure
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

cache-clear:
name: Clear cache
runs-on: ubuntu-latest
needs:
- mpe
if: always()
steps:
- name: Clear cache
uses: easimon/wipe-cache@main
Loading