Skip to content

Commit

Permalink
Merge pull request #78 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
[Matrix] API change update / cleanups
  • Loading branch information
AlwinEsch authored Apr 24, 2020
2 parents 949f23a + a7ddd5d commit 115898b
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 76 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ obj-x86_64-linux-gnu/

# to prevent add if project code opened by Visual Studio over CMake file
.vs/

# General MacOS
.DS_Store
.AppleDouble
.LSOverride
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[![License: GPL v2+](https://img.shields.io/badge/License-GPL%20v2+-blue.svg)](LICENSE.md)
[![License: GPL-2.0-or-later](https://img.shields.io/badge/License-GPL%20v2+-blue.svg)](LICENSE.md)
[![Build Status](https://travis-ci.org/kodi-pvr/pvr.demo.svg?branch=Matrix)](https://travis-ci.org/kodi-pvr/pvr.demo/branches)
[![Build Status](https://dev.azure.com/teamkodi/kodi-pvr/_apis/build/status/kodi-pvr.pvr.demo?branchName=Matrix)](https://dev.azure.com/teamkodi/kodi-pvr/_build/latest?definitionId=56&branchName=Matrix)
[![Build Status](https://jenkins.kodi.tv/view/Addons/job/kodi-pvr/job/pvr.demo/job/Matrix/badge/icon)](https://jenkins.kodi.tv/blue/organizations/jenkins/kodi-pvr%2Fpvr.demo/branches/)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/5120/badge.svg)](https://scan.coverity.com/projects/5120)

# Demo PVR
Demo PVR client addon for [Kodi] (http://kodi.tv)
Demo PVR client addon for [Kodi](https://kodi.tv)

## Build instructions

Expand All @@ -19,5 +19,5 @@ Demo PVR client addon for [Kodi] (http://kodi.tv)

##### Useful links

* [Kodi's PVR user support] (http://forum.kodi.tv/forumdisplay.php?fid=167)
* [Kodi's PVR development support] (http://forum.kodi.tv/forumdisplay.php?fid=136)
* [Kodi's PVR user support](https://forum.kodi.tv/forumdisplay.php?fid=167)
* [Kodi's PVR development support](https://forum.kodi.tv/forumdisplay.php?fid=136)
5 changes: 4 additions & 1 deletion pvr.demo/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.demo"
version="4.1.3"
version="4.1.4"
name="PVR Demo Client"
provider-name="Pulse-Eight Ltd., Team Kodi">
<requires>@ADDON_DEPENDS@</requires>
Expand Down Expand Up @@ -191,5 +191,8 @@
<disclaimer lang="zh_CN">只包含存根</disclaimer>
<disclaimer lang="zh_TW">只包含 Stubs</disclaimer>
<platform>@PLATFORM@</platform>
<license>GPL-2.0-or-later</license>
<source>https://github.com/kodi-pvr/pvr.demo</source>
<forum>https://forum.kodi.tv/forumdisplay.php?fid=173</forum>
</extension>
</addon>
21 changes: 4 additions & 17 deletions src/PVRDemoData.cpp
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
/*
* Copyright (C) 2011 Pulse-Eight
* http://www.pulse-eight.com/
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This Program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with XBMC; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
* http://www.gnu.org/copyleft/gpl.html
* Copyright (C) 2011-2020 Team Kodi (https://kodi.tv)
* Copyright (C) 2011 Pulse-Eight (http://www.pulse-eight.com/)
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSE.md for more information.
*/

#include "util/XMLUtils.h"
Expand Down
24 changes: 6 additions & 18 deletions src/PVRDemoData.h
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
#pragma once
/*
* Copyright (C) 2011 Pulse-Eight
* http://www.pulse-eight.com/
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This Program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with XBMC; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
* http://www.gnu.org/copyleft/gpl.html
* Copyright (C) 2011-2020 Team Kodi (https://kodi.tv)
* Copyright (C) 2011 Pulse-Eight (http://www.pulse-eight.com/)
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSE.md for more information.
*/

#pragma once

#include <vector>
#include "p8-platform/os.h"
#include "client.h"
Expand Down
23 changes: 5 additions & 18 deletions src/client.cpp
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
/*
* Copyright (C) 2011 Pulse-Eight
* http://www.pulse-eight.com/
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This Program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with XBMC; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
* http://www.gnu.org/copyleft/gpl.html
* Copyright (C) 2011-2020 Team Kodi (https://kodi.tv)
* Copyright (C) 2011 Pulse-Eight (http://www.pulse-eight.com/)
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSE.md for more information.
*/

#include "client.h"
Expand Down Expand Up @@ -368,7 +355,7 @@ PVR_ERROR CallMenuHook(const PVR_MENUHOOK& menuhook, const PVR_MENUHOOK_DATA&)
return PVR_ERROR_INVALID_PARAMETERS;
}
char* msg = XBMC->GetLocalizedString(iMsg);
XBMC->QueueNotification(ADDON::QUEUE_INFO, msg);
XBMC->QueueNotification(QUEUE_INFO, msg);
XBMC->FreeString(msg);

return PVR_ERROR_NO_ERROR;
Expand Down
24 changes: 6 additions & 18 deletions src/client.h
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
#pragma once
/*
* Copyright (C) 2011 Pulse-Eight
* http://www.pulse-eight.com/
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This Program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with XBMC; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
* http://www.gnu.org/copyleft/gpl.html
* Copyright (C) 2011-2020 Team Kodi (https://kodi.tv)
* Copyright (C) 2011 Pulse-Eight (http://www.pulse-eight.com/)
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSE.md for more information.
*/

#pragma once

#include "kodi/libXBMC_addon.h"
#include "kodi/libXBMC_pvr.h"

Expand Down

0 comments on commit 115898b

Please sign in to comment.