Beispiel #1
0
 def __init__(self):
     self.play_device = None
     
     try:
         import musicbrainz2
     except:    
         pass
     else:
         udisks.connect("volume-mounted", self.mount)
         # udisks.connect("volume-umounted", self.umount)
         
     for udi in udisks.get_mounted_devices():
         gobject.idle_add(self.mount, udisks, udi)
    def __init__(self):

        self.audiocd_items = {}
        udisks.connect("volume-mounted", self.mount)
        udisks.connect("volume-umounted", self.umount)
Beispiel #3
0
    def __init__(self):

        self.audiocd_items = {}
        udisks.connect("volume-mounted", self.mount)
        udisks.connect("volume-umounted", self.umount)