chore: Initial Rhythmbox plugin
Signed-off-by: Valentin Popov <valentin@popov.link>
This commit is contained in:
parent
16dc0a4411
commit
6c64103960
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/.idea
|
9
webstatus.plugin
Normal file
9
webstatus.plugin
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Plugin]
|
||||||
|
Loader=python3
|
||||||
|
Module=webstatus
|
||||||
|
IAge=2
|
||||||
|
Name=Web Status
|
||||||
|
Description=Plugin for player Rhythmbox to display the current song in the OBS.
|
||||||
|
Authors=Valentin Popov <valentin@popov.link>
|
||||||
|
Copyright=Copyright © 2022 Valentin Popov
|
||||||
|
Website=https://git.sr.ht/~valentineus/rhythmbox_webstatus
|
15
webstatus.py
Normal file
15
webstatus.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
from gi.repository import GObject, Peas, RB
|
||||||
|
|
||||||
|
|
||||||
|
class WebStatusPlugin(GObject.Object, Peas.Activatable):
|
||||||
|
__gtype_name = 'WebStatusPlugin'
|
||||||
|
object = GObject.property(type=GObject.Object)
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
super(WebStatusPlugin, self).__init__()
|
||||||
|
|
||||||
|
def do_activate(self):
|
||||||
|
print("activating sample python plugin")
|
||||||
|
|
||||||
|
def do_deactivate(self):
|
||||||
|
print("deactivating sample python plugin")
|
Loading…
x
Reference in New Issue
Block a user