Re: Patch Samsung hacks
- From: Jens Georg <mail jensge org>
- To: rygel-list gnome org
- Subject: Re: Patch Samsung hacks
- Date: Mon, 09 Dec 2013 08:42:34 +0100
Great find, thank you for sharing :)
Could you generate a patch with "git format-patch", please, so we can
give you proper credits? :)
Hello,
Below are two changes required to play AVCHD & QuickTime camera movies
on a Samsung D series TV. I've also verified it on a Samsung E series
TV but here only the AVCHD movie will play.
Below movie file is from a Canon EOS camera. It can't be play unless
below samsung mime_type change for quicktime:
#] file MVI_1653.MOV
MVI_1653.MOV: ISO Media, Apple QuickTime movie
Then I have a movie file from a Panasonic TZ-7 (AVCHD Lite) and it
needs the mp2t mime_type change.
diff --git a/src/librygel-server/rygel-samsung-tv-hacks.vala
b/src/librygel-server/rygel-samsung-tv-hacks.vala
index 60127c5..3bfed8a 100644
--- a/src/librygel-server/rygel-samsung-tv-hacks.vala
+++ b/src/librygel-server/rygel-samsung-tv-hacks.vala
@@ -36,6 +36,14 @@ internal class Rygel.SamsungTVHacks : ClientHacks {
var item = object as MediaItem;
if (item.mime_type == "video/x-matroska") {
item.mime_type = "video/x-mkv";
+ }
+ // Required to play Panasonic TZ-7 AVCHD-Lite movies.
Verfied on D+E-Series TV
+ else if (item.mime_type == "video/mp2t") {
+ item.mime_type = "video/vnd.dlna.mpeg-tts";
+ }
+ // Required to play Canon EOS camera movies. Verfied on
D-Series TV (E-Series still don't work)
+ else if (item.mime_type == "video/quicktime") {
+ item.mime_type = "video/mp4";
}
}
-- john
_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]