Commit f29a9214dad51233a579efc596a64699ecfe5f02

Added Libre.fm support
entry.py
(5 / 0)
  
390390 #TODO: need to output warning and move on, not raise exception
391391 print cursor._rows
392392 raise Exception("Cannot determine unqiue entry_id %d" % cursor.rowcount)
393
394class LibreFMPlay(LastFMPlay):
395 """Libre.fm is using Dublin Core or something?."""
396 def get_timestamp(self):
397 return int(time.mktime(time.strptime(self.entry.dcterms_date, '%Y-%m-%dT%X+01:00'))) - time.timezone
393398
394399class MySpaceBlogEntry(BlogEntry):
395400 def get_content(self):
feed.py
(3 / 0)
  
233233class LastFM(SharedItems):
234234 entryClass = entry.LastFMPlay
235235
236class LibreFM(SharedItems):
237 entryClass = entry.LibreFMPlay
238
236239class MySpaceBlog(Blog):
237240 entryClass = entry.MySpaceBlogEntry
238241