[rygel/rygel-0-20] server: More Samsung hacks



commit 300e8701153894b1f33f83fb68094735cc5c6a16
Author: John Obaterspok <john obaterspok gmail com>
Date:   Mon Dec 9 19:41:38 2013 +0100

    server: More Samsung hacks
    
    Add Samsung [DE]-Series TV workaround for mp2t and quicktime movies

 src/librygel-server/rygel-samsung-tv-hacks.vala |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-server/rygel-samsung-tv-hacks.vala b/src/librygel-server/rygel-samsung-tv-hacks.vala
index 60127c5..83ea363 100644
--- a/src/librygel-server/rygel-samsung-tv-hacks.vala
+++ b/src/librygel-server/rygel-samsung-tv-hacks.vala
@@ -37,6 +37,16 @@ internal class Rygel.SamsungTVHacks : ClientHacks {
         if (item.mime_type == "video/x-matroska") {
             item.mime_type = "video/x-mkv";
         }
+        else if (item.mime_type == "video/mp2t") {
+            // Required to play Panasonic TZ-7 AVCHD-Lite movies. Verified on D+E-Series TV
+            // Example: http://s3.amazonaws.com/movies.dpreview.com/panasonic_dmcfz150/00015.MTS
+            item.mime_type = "video/vnd.dlna.mpeg-tts";
+        }
+        else if (item.mime_type == "video/quicktime") {
+            // Required to play Canon EOS camera movies. Verfied on D-Series TV (E-Series still don't work)
+            // Example: http://s3.amazonaws.com/movies.dpreview.com/canon_eos60d/MVI_1326.MOV
+            item.mime_type = "video/mp4";
+        }
     }
 
     public override bool force_seek () {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]