Show podcastparser version
This commit is contained in:
parent
7dde110e27
commit
b0929318f0
3 changed files with 7 additions and 2 deletions
|
@ -31,6 +31,7 @@ Python {
|
|||
|
||||
property string coreversion
|
||||
property string uiversion
|
||||
property string parserversion
|
||||
|
||||
signal downloadProgress(int episode_id, real progress)
|
||||
signal playbackProgress(int episode_id, real progress)
|
||||
|
@ -43,12 +44,14 @@ Python {
|
|||
signal configChanged(string key, var value)
|
||||
|
||||
Component.onCompleted: {
|
||||
setHandler('hello', function (coreversion, uiversion) {
|
||||
setHandler('hello', function (coreversion, uiversion, parserversion) {
|
||||
py.coreversion = coreversion;
|
||||
py.uiversion = uiversion;
|
||||
py.parserversion = parserversion;
|
||||
|
||||
console.log('gPodder Core ' + py.coreversion);
|
||||
console.log('gPodder QML UI ' + py.uiversion);
|
||||
console.log('Podcastparser ' + py.parserversion);
|
||||
console.log('PyOtherSide ' + py.pluginVersion());
|
||||
console.log('Python ' + py.pythonVersion());
|
||||
});
|
||||
|
|
3
main.py
3
main.py
|
@ -26,6 +26,7 @@ import os
|
|||
|
||||
import pyotherside
|
||||
import gpodder
|
||||
import podcastparser
|
||||
|
||||
from gpodder.api import core
|
||||
from gpodder.api import util
|
||||
|
@ -418,7 +419,7 @@ class gPotherSide:
|
|||
gpotherside = gPotherSide()
|
||||
pyotherside.atexit(gpotherside.atexit)
|
||||
|
||||
pyotherside.send('hello', gpodder.__version__, __version__)
|
||||
pyotherside.send('hello', gpodder.__version__, __version__, podcastparser.__version__)
|
||||
|
||||
# Exposed API Endpoints for calls from QML
|
||||
initialize = gpotherside.initialize
|
||||
|
|
|
@ -77,6 +77,7 @@ SlidePage {
|
|||
'',
|
||||
'gPodder Core ' + py.coreversion,
|
||||
'gPodder QML UI ' + py.uiversion,
|
||||
'Podcastparser ' + py.parserversion,
|
||||
'PyOtherSide ' + py.pluginVersion(),
|
||||
'Python ' + py.pythonVersion()
|
||||
].join('\n')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue