Changeset 3612
- Timestamp:
- 10/10/08 23:27:30 (3 months ago)
- Location:
- trunk/beacon
- Files:
-
- 4 modified
-
setup.py (modified) (1 diff)
-
src/fusefs.py (modified) (3 diffs)
-
src/server/cdrom.py (modified) (1 diff)
-
src/server/devices.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/beacon/setup.py
r3611 r3612 75 75 print 'pysqlite2 is not installed' 76 76 sys.exit(1) 77 77 78 78 ext_modules = [ thumb_ext ] 79 79 -
trunk/beacon/src/fusefs.py
r3611 r3612 152 152 # also add sexattr (remeber to check the type of the value to 153 153 # convert it) and removexattr. 154 154 155 155 # file = path[1:] # assume prefixed with single / 156 156 # if file not in self._filename_map: 157 157 # return -errno.ENOENT 158 # 158 # 159 159 # val = self._filename_map[file].get(name) 160 160 # if isinstance(val, unicode): 161 161 # val = kaa.unicode_to_str(val) 162 162 # val = str(val) 163 163 164 164 if size == 0: 165 165 # We are asked for size of the value. … … 167 167 return val 168 168 169 169 170 170 def listxattr(self, path, size): 171 171 log.info('listxattr(%s, %s)', path, size) … … 248 248 log.addHandler(handler) 249 249 log.setLevel(logging.INFO) 250 250 251 251 self.check() 252 252 fuse.Fuse.main(self) -
trunk/beacon/src/server/cdrom.py
r3609 r3612 275 275 if type == 'iso9660': 276 276 _rom_drives.append(RomDrive(device, mountpoint, type, options)) 277 added = True277 added = True 278 278 if not added: 279 log.info('CDROM monitor: no iso9660 filesystem in fstab found')279 log.info('CDROM monitor: no iso9660 filesystem in fstab found') -
trunk/beacon/src/server/devices.py
r3611 r3612 205 205 'track_cdda', name=str(track.trackno), 206 206 title=track.get('title'), artist=track.get('artist'), 207 parent=('audio', aid),207 parent=('audio', aid), 208 208 media=mid) 209 209 else:
