cherezov / dlnap

Simple python over the network media player to playback on DLNA/UPnP devices
MIT License
192 stars 60 forks source link

"[TV] Samsung 6 Series (65)" not work #5

Closed 0x5e closed 6 years ago

0x5e commented 7 years ago
~/Projects/python/dlnap/dlnap(master) » ./dlnap.py --device tv --play http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8 --proxy
[TV] Samsung 6 Series (65) @ 192.168.0.175
ERROR:root:Invalid Args
ERROR:root:Invalid Args
ERROR:root:Invalid Args

Tested on these urls with same result: https://qgy18.com/jsvideo/MPEG1/fox.mpg http://flv.bn.netease.com/tvmrepo/2012/7/C/7/E868IGRC7-mobile.mp4 http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8

I am writing a macOS app, works on Kodi, failed on samsung tv with same error: "Invalid Args". Do you know what's the reason?

http://192.168.0.175/dmr ```xml 1 0 urn:schemas-upnp-org:device:MediaRenderer:1 MS_DigitalMediaDeviceClass_DMR_V001 Display.TV.LCD Multimedia.DMR DMR-1.50 [TV] Samsung 6 Series (65) Samsung Electronics http://www.samsung.com/sec Samsung TV DMR UA65KU6300 AllShare1.0 http://www.samsung.com/sec 20160113DMR uuid:241f5305-7e7d-4ee3-a74a-5095ac5e942a image/jpeg 48 48 24 /icon_SML.jpg image/jpeg 120 120 24 /icon_LRG.jpg image/png 48 48 24 /icon_SML.png image/png 120 120 24 /icon_LRG.png urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl /upnp/control/RenderingControl1 /upnp/event/RenderingControl1 /RenderingControl_1.xml urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager /upnp/control/ConnectionManager1 /upnp/event/ConnectionManager1 /ConnectionManager_1.xml urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport /upnp/control/AVTransport1 /upnp/event/AVTransport1 /AVTransport_1.xml urn:schemas-rvualliance-org:service:StreamSplicing:1 urn:upnp-org:serviceId:StreamSplicing /upnp/control/StreamSplicing1 /upnp/event/StreamSplicing1 /StreamSplicing_1.xml Tizen,Y2016,WebURIPlayable,NavigateInPause,ScreenMirroringP2PMAC=fa:77:b8:9d:b4:e8,UHD_SCREEN VEN_0105&DEV_VD0001 ```
http://192.168.0.175/AVTransport_1.xml ```xml 1 0 Play InstanceID in A_ARG_TYPE_InstanceID Speed in TransportPlaySpeed Stop InstanceID in A_ARG_TYPE_InstanceID Next InstanceID in A_ARG_TYPE_InstanceID Previous InstanceID in A_ARG_TYPE_InstanceID SetPlayMode InstanceID in A_ARG_TYPE_InstanceID NewPlayMode in CurrentPlayMode GetMediaInfo InstanceID in A_ARG_TYPE_InstanceID NrTracks out NumberOfTracks 0 MediaDuration out CurrentMediaDuration CurrentURI out AVTransportURI CurrentURIMetaData out AVTransportURIMetaData NextURI out NextAVTransportURI NextURIMetaData out NextAVTransportURIMetaData PlayMedium out PlaybackStorageMedium RecordMedium out RecordStorageMedium WriteStatus out RecordMediumWriteStatus GetDeviceCapabilities InstanceID in A_ARG_TYPE_InstanceID PlayMedia out PossiblePlaybackStorageMedia RecMedia out PossibleRecordStorageMedia RecQualityModes out PossibleRecordQualityModes SetAVTransportURI InstanceID in A_ARG_TYPE_InstanceID CurrentURI in AVTransportURI CurrentURIMetaData in AVTransportURIMetaData SetNextAVTransportURI InstanceID in A_ARG_TYPE_InstanceID NextURI in NextAVTransportURI NextURIMetaData in NextAVTransportURIMetaData X_PrefetchURI InstanceID in A_ARG_TYPE_InstanceID PrefetchURI in A_ARG_TYPE_PrefetchURI PrefetchURIMetaData in A_ARG_TYPE_PrefetchURIMetaData GetTransportSettings InstanceID in A_ARG_TYPE_InstanceID PlayMode out CurrentPlayMode RecQualityMode out CurrentRecordQualityMode GetTransportInfo InstanceID in A_ARG_TYPE_InstanceID CurrentTransportState out TransportState CurrentTransportStatus out TransportStatus CurrentSpeed out TransportPlaySpeed Pause InstanceID in A_ARG_TYPE_InstanceID Seek InstanceID in A_ARG_TYPE_InstanceID Unit in A_ARG_TYPE_SeekMode Target in A_ARG_TYPE_SeekTarget GetPositionInfo InstanceID in A_ARG_TYPE_InstanceID Track out CurrentTrack TrackDuration out CurrentTrackDuration TrackMetaData out CurrentTrackMetaData TrackURI out CurrentTrackURI RelTime out RelativeTimePosition AbsTime out AbsoluteTimePosition RelCount out RelativeCounterPosition AbsCount out AbsoluteCounterPosition GetCurrentTransportActions InstanceID in A_ARG_TYPE_InstanceID Actions out CurrentTransportActions X_DLNA_GetBytePositionInfo InstanceID in A_ARG_TYPE_InstanceID TrackSize out X_DLNA_CurrentTrackSize RelByte out X_DLNA_RelativeBytePosition AbsByte out X_DLNA_AbsoluteBytePosition X_GetStoppedReason InstanceID in A_ARG_TYPE_InstanceID StoppedReason out A_ARG_TYPE_StoppedReason StoppedReasonData out A_ARG_TYPE_StoppedReasonData X_PlayerAppHint InstanceID in A_ARG_TYPE_InstanceID UpnpClass in X_ARG_TYPE_UpnpClass PlayerHint in X_ARG_TYPE_PlayerHint TransportState string STOPPED PAUSED_PLAYBACK PLAYING TRANSITIONING NO_MEDIA_PRESENT NO_MEDIA_PRESENT TransportStatus string OK ERROR_OCCURRED OK TransportPlaySpeed string 1 NumberOfTracks ui4 0 4294967295 0 CurrentMediaDuration string 00:00:00 AVTransportURI string AVTransportURIMetaData string PlaybackStorageMedium string NONE NETWORK NONE CurrentTrack ui4 0 4294967295 1 0 CurrentTrackDuration string 00:00:00 CurrentTrackMetaData string CurrentTrackURI string RelativeTimePosition string 00:00:00 AbsoluteTimePosition string 00:00:00 NextAVTransportURI string NextAVTransportURIMetaData string CurrentTransportActions string RecordStorageMedium string NOT_IMPLEMENTED NOT_IMPLEMENTED RecordMediumWriteStatus string NOT_IMPLEMENTED NOT_IMPLEMENTED RelativeCounterPosition i4 2147483647 AbsoluteCounterPosition i4 2147483647 PossiblePlaybackStorageMedia string NETWORK PossibleRecordStorageMedia string NOT_IMPLEMENTED PossibleRecordQualityModes string NOT_IMPLEMENTED CurrentPlayMode string NORMAL NORMAL CurrentRecordQualityMode string NOT_IMPLEMENTED NOT_IMPLEMENTED LastChange string A_ARG_TYPE_InstanceID ui4 A_ARG_TYPE_PrefetchURI string A_ARG_TYPE_PrefetchURIMetaData string A_ARG_TYPE_SeekMode string TRACK_NR REL_TIME ABS_TIME ABS_COUNT REL_COUNT X_DLNA_REL_BYTE FRAME REL_TIME A_ARG_TYPE_SeekTarget string X_DLNA_RelativeBytePosition string X_DLNA_AbsoluteBytePosition string X_DLNA_CurrentTrackSize string A_ARG_TYPE_StoppedReason string A_ARG_TYPE_StoppedReasonData string X_ARG_TYPE_UpnpClass string object.item.imageItem object.item.audioItem object.item.videoItem X_ARG_TYPE_PlayerHint string load unload ```
alduxvm commented 6 years ago

Hi! did you made it work with that tv?

adeeltahir98 commented 5 years ago

Hey, I am facing the same issue. Had anyone of you solved it ?