Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Elisa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Multimedia
Elisa
Commits
ef6edac6
Commit
ef6edac6
authored
Dec 05, 2020
by
Matthieu Gallien
🎵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some categorized debug output in player control code
parent
9f9a2d1f
Pipeline
#43257
passed with stage
in 25 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
src/CMakeLists.txt
src/CMakeLists.txt
+7
-0
src/manageaudioplayer.cpp
src/manageaudioplayer.cpp
+4
-0
No files found.
src/CMakeLists.txt
View file @
ef6edac6
...
...
@@ -81,6 +81,13 @@ ecm_qt_declare_logging_category(elisaLib_SOURCES
DEFAULT_SEVERITY Info
)
ecm_qt_declare_logging_category
(
elisaLib_SOURCES
HEADER
"playerLogging.h"
IDENTIFIER
"orgKdeElisaPlayer"
CATEGORY_NAME
"org.kde.elisa.player"
DEFAULT_SEVERITY Info
)
if
(
LIBVLC_FOUND
)
ecm_qt_declare_logging_category
(
elisaLib_SOURCES
HEADER
"vlcLogging.h"
...
...
src/manageaudioplayer.cpp
View file @
ef6edac6
...
...
@@ -10,6 +10,8 @@
#include "elisa_settings.h"
#include "playerLogging.h"
#include <QTimer>
#include <QDateTime>
...
...
@@ -416,6 +418,7 @@ void ManageAudioPlayer::setCurrentPlayingForRadios(const QString &title, const Q
void
ManageAudioPlayer
::
setPlayControlPosition
(
int
playerPosition
)
{
qCDebug
(
orgKdeElisaPlayer
())
<<
"ManageAudioPlayer::setPlayControlPosition"
<<
playerPosition
;
Q_EMIT
seek
(
playerPosition
);
}
...
...
@@ -436,6 +439,7 @@ void ManageAudioPlayer::setPersistentState(const QVariantMap &persistentStateVal
void
ManageAudioPlayer
::
playerSeek
(
int
position
)
{
qCDebug
(
orgKdeElisaPlayer
())
<<
"ManageAudioPlayer::playerSeek"
<<
position
;
Q_EMIT
seek
(
position
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment