Ticket #12666: mytharchive-master.diff

File mytharchive-master.diff, 1.6 KB (added by yiannividalis@…, 8 years ago)

patch for mytharchive, I found it in a ticket

  • mythplugins/mytharchive/mythburn/scripts/mythburn.py

    diff --git a/mythplugins/mytharchive/mythburn/scripts/mythburn.py b/mythplugins/mytharchive/mythburn/scripts/mythburn.py
    index ccd9861..70f2563 100755
    a b def getDefaultParametersFromMythTVDB(): 
    846846                        'DBSchemaVer',
    847847                        'ISO639Language0',
    848848                        'ISO639Language1')
    849                     OR (hostname=%s AND value IN(
     849                    OR (hostname='storage' AND value IN(
    850850                        'VideoStartupDir',
    851851                        'GalleryDir',
    852852                        'MusicLocation',
    def getDefaultParametersFromMythTVDB(): 
    880880    # create a cursor
    881881    cursor = DB.cursor()
    882882    # execute SQL statement
    883     cursor.execute(sqlstatement, configHostname)
     883    cursor.execute(sqlstatement)
    884884    # get the resultset as a tuple
    885885    result = cursor.fetchall()
    886886
  • mythtv/bindings/python/MythTV/dataheap.py

    diff --git a/mythtv/bindings/python/MythTV/dataheap.py b/mythtv/bindings/python/MythTV/dataheap.py
    index 8fc447c..bfd775c 100644
    a b class Recorded( CMPRecord, DBDataWrite ): 
    276276    Recorded(data=None, db=None) -> Recorded object
    277277            'data' is a tuple containing (chanid, storagegroup)
    278278    """
     279    _key   = ['chanid','starttime']
    279280    _defaults = {'title':u'Unknown', 'subtitle':'',          'description':'',
    280281                 'category':'',      'hostname':'',          'bookmark':0,
    281282                 'editing':0,        'cutlist':0,            'autoexpire':0,