Package: media-player-info
Version: 24-3
Tags: patch

Where looking at the source of media-player-info, I came across some
DeviceMatch entries in media-players/*.mpi which appear to be typos.
Most entries have a usb: prefix, but a select few are missing these.  Is
this a typo in the files?  If so, here is a patch to adjust them.

diff --git a/media-players/palm_pre.mpi b/media-players/palm_pre.mpi
index 11e6176..1f30162 100644
--- a/media-players/palm_pre.mpi
+++ b/media-players/palm_pre.mpi
@@ -2,7 +2,7 @@
 Product=Prē
 Vendor=Palm
 AccessProtocol=storage
-DeviceMatch=usb:0830:8004;usb:0830:8002;0830:8042;0830:8044;
+DeviceMatch=usb:0830:8004;usb:0830:8002;usb:0830:8042;usb:0830:8044;
 Icon=phone-palm-pre
 
 [Media]
diff --git a/media-players/samsung_galaxy.mpi b/media-players/samsung_galaxy.mpi
index de198a8..9cb600a 100644
--- a/media-players/samsung_galaxy.mpi
+++ b/media-players/samsung_galaxy.mpi
@@ -2,7 +2,7 @@
 Product=Galaxy
 Vendor=Samsung
 AccessProtocol=storage
-DeviceMatch=usb:04e8:6602;usb:04e8:6603;usb:04e8:6640;usb:04e8:681c;usb:04e8:681d;usb:04e8:685b;usb:04e8:6877;04e8:685e;
+DeviceMatch=usb:04e8:6602;usb:04e8:6603;usb:04e8:6640;usb:04e8:681c;usb:04e8:681d;usb:04e8:685b;usb:04e8:6877;usb:04e8:685e;
 Icon=phone-samsung-galaxy-s
 
 [Media]
diff --git a/media-players/sandisk_sansa-fuze-plus.mpi 
b/media-players/sandisk_sansa-fuze-plus.mpi
index 9d3d086..18fbaba 100644
--- a/media-players/sandisk_sansa-fuze-plus.mpi
+++ b/media-players/sandisk_sansa-fuze-plus.mpi
@@ -2,7 +2,7 @@
 Product=Sansa Fuze+
 Vendor=SanDisk
 AccessProtocol=storage
-DeviceMatch=usb:0781:74e0;0781:74e1;
+DeviceMatch=usb:0781:74e0;usb:0781:74e1;
 
 [Media]
 InputFormats=audio/x-wav

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to