Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
04cc0ad9
Commit
04cc0ad9
authored
Apr 06, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore icon click to update status for D-Bus controller
parent
a210fb14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
extras/dbus-vlc.py
extras/dbus-vlc.py
+9
-1
No files found.
extras/dbus-vlc.py
View file @
04cc0ad9
...
...
@@ -89,7 +89,14 @@ def Stop(widget):
#update status display
def
update
(
widget
):
item
=
tracklist
.
GetMetadata
(
tracklist
.
GetCurrentTrack
())
vol
.
set_value
(
player
.
VolumeGet
())
try
:
a
=
item
[
"artist"
]
except
:
a
=
""
if
a
==
""
:
a
=
item
[
"URI"
]
l_item
.
set_text
(
a
)
GetPlayStatus
(
0
)
#get playing status from remote vlc
...
...
@@ -204,7 +211,8 @@ exp.connect('activate', expander)
vol
.
connect
(
'change-value'
,
volchange
)
vol
.
connect
(
'scroll-event'
,
volchange
)
time_s
.
connect
(
'adjust-bounds'
,
timechange
)
vlcicon
.
set_events
(
gtk
.
gdk
.
BUTTON_PRESS_MASK
)
vlcicon
.
connect
(
'button_press_event'
,
icon_clicked
)
time_s
.
set_update_policy
(
gtk
.
UPDATE_DISCONTINUOUS
)
gobject
.
timeout_add
(
2000
,
timeset
)
...
...
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