005-clients-add-support-for-Kodi-and-captions.patch 908 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  2. Subject: [PATCH] clients: add support for Kodi and captions
  3. MIME-Version: 1.0
  4. Content-Type: text/plain; charset=UTF-8
  5. Content-Transfer-Encoding: 8bit
  6. This change has been extracted out of the upstream commit 4f926639b24f8
  7. ("upnpsoap: Add additonal bookmark support").
  8. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  9. ---
  10. --- a/clients.c
  11. +++ b/clients.c
  12. @@ -254,6 +254,13 @@ struct client_type_s client_types[] =
  13. EUserAgent
  14. },
  15. + { EKodi,
  16. + FLAG_DLNA | FLAG_MIME_AVI_AVI | FLAG_CAPTION_RES,
  17. + "Kodi",
  18. + "Kodi",
  19. + EUserAgent
  20. + },
  21. +
  22. { 0,
  23. FLAG_DLNA | FLAG_MIME_AVI_AVI,
  24. "Windows",
  25. diff --git a/clients.h b/clients.h
  26. index fa39656..a7f038d 100644
  27. --- a/clients.h
  28. +++ b/clients.h
  29. @@ -79,6 +79,7 @@ enum client_types {
  30. EAsusOPlay,
  31. EBubbleUPnP,
  32. ENetFrontLivingConnect,
  33. + EKodi,
  34. EStandardDLNA150,
  35. EStandardUPnP
  36. };