Ticket #8643: samsung-dlna-patch.diff

File samsung-dlna-patch.diff, 1.2 KB (added by banogabor@…, 10 years ago)

patch for samsung dlna TVs

  • mythtv/libs/libmythupnp/httprequest.cpp

     
    8585    { "nuv" , "video/nupplevideo"          },
    8686    { "mov" , "video/quicktime"            },
    8787    { "mp4" , "video/mp4"                  },
    88     { "mkv" , "video/x-matroska"           },
     88    { "mkv" , "video/x-mkv"                },
    8989    { "mka" , "audio/x-matroska"           },
    9090    { "wmv" , "video/x-ms-wmv"             },
    9191    // This should be application/ogg, but most clients don't understand that.
  • mythtv/programs/mythbackend/upnpcdsvideo.cpp

     
    481481    Resource *pRes = pItem->AddResource( sProtocol, sURI );
    482482
    483483    pRes->AddAttribute( "size"      , QString("%1").arg(fInfo.size()) );
    484     pRes->AddAttribute( "duration"  , "0:00:00.000"      );
     484    pRes->AddAttribute( "duration"  , "0:01:00.000"      );
    485485
    486486}