Quantcast
Jump to content

  • 0

Smartshare


Bob Reese

Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Topics

    • By Wondering
      After viewing photos/videos on a flashdrive plugged into the USB of an LG TV and using SmartShare to view... and then removing the USB and then no longer having access to the TV... I noticed on the flashdrive a new folder called "LG TV" and within what appears to be files that may have been the thumbnails displayed on the TV. My question is... do those thumbnails also remain on the TV as "recently viewed" history even without the USB plugged in? The LG Smart TV online user guide refers to "Recent" ("To view a list of recently viewed or added content, select Recent). Would thumbnails be there without the source flashdrive?
    • By Wondering
      After viewing photos/videos on a flashdrive plugged into the USB of an LG TV and using SmartShare to view... and then removing the USB and then no longer having access to the TV... I noticed on the flashdrive a new folder called "LG TV" and within what appears to be files that may have been the thumbnails displayed on the TV. My question is... do those thumbnails also remain on the TV as recent history even without the USB plugged in? The LG Smart TV online user guide refers to "Recent" ("To view a list of recently viewed or added content, select Recent). Would thumbnails be there without the source flashdrive?
    • By Nomies
      I am using SmartShare to connect my laptop to my LG smart TV. In the software on the laptop it signals that there are external subtitles available as soon as I name the .srt files appropriately, but the TV does not play them. The button for sub is grey and not clickable. Sometimes internal subtitles, integrated in the .mkv video file, do not work either. Sometimes they do. External subtitles (.srt) never work. External subtitles (.sub + .idx) usually work.
      What is the cause for .srt not loading on the TV, but shows up in the computer software as available?
    • By Dejan
      I have the 55ec930t in Australia with the latest firmware. When I access my synology NAS via smartshare I go to my videos folder and I can only see the first 1000 files in the folder and it won't load the rest or let me somehow go to the next lot of 1000 etc. is this a bug and could the capability to load all files in any folder no matter what the number of files is be added please in the next firmware update.
      I haven't checked this with a photos folder yet.
      DJ.
    • By palswim
      I discovered that my LG SmartShare app could not play FLAC or M4A audio files natively from my DLNA server, so I decided to enable transcoding on the server to present MP3/WAV resources in addition to the native stream. However, the SmartShare app still doesn't display those files when browsing for audio, and I am trying to determine why.
      And now, the extreme technical detail:
      I have a shell utility, upnp-browse.sh to make HTTP calls to my DLNA server, emulating the types of calls that LG SmartShare would make:
      #!/bin/sh curl -s -d @- -H 'Content-Type: text/xml; charset="utf-8"' -H 'SOAPAction: #Browse' http://host/path/to/DLNA \ | xmllint --xpath '////Result/text()' - \ | recode html..utf8 \ | xml_pp The curl call makes a HTTP POST request with the data from stdin, which would have similar content to the following:
      <?xml version="1.0"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:Browse xmlns:u="urn:schemas-upnp-org:service:serviceType:v"> <ObjectID>ID_PARENT</ObjectID> <BrowseFlag>BrowseDirectChildren</BrowseFlag> </u:Browse> </s:Body> </s:Envelope> The call to curl then yields an XML Response similar to the following:
      <?xml version="1.0" encoding="utf-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"> <item id="ID_FILE" parentID="ID_PARENT" restricted="1"><dc:title>Title</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Creator</dc:creator><upnp:artist>Artist</upnp:artist><res size="######" duration="H:MM:SS.###" bitrate="1022868" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/x-flac:*">http://IP:port/MediaItems/####.ext</res><res duration="H:MM:SS.###" bitrate="176400" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000">http://IP:port/MediaItems/TranscodeAudio/LPCM/####.ext</res><res duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000">http://IP:port/MediaItems/TranscodeAudio/MP3/####.ext</res></item><container id="ID_FOLDER" parentID="ID_PARENT" restricted="1" searchable="1" childCount="#"><dc:title>folder name</dc:title><upnp:class>object.container.storageFolder</upnp:class><upnp:storageUsed>-1</upnp:storageUsed></container></DIDL-Lite></Result> <NumberReturned>2</NumberReturned> <TotalMatches>2</TotalMatches> <UpdateID>3</UpdateID></u:BrowseResponse></s:Body></s:Envelope> Then the calls to xmllint, recode, and xml_pp take this data and extract the data from the Result node and format it for readability, yielding an output similar to:
      <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"> <item id="ID_FILE" parentID="ID_PARENT" restricted="1"> <dc:title>Title</dc:title> <upnp:class>object.item.audioItem.musicTrack</upnp:class> <dc:creator>Creator</dc:creator> <upnp:artist>Artist</upnp:artist> <res bitrate="1022868" duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/x-flac:*" sampleFrequency="44100" size="######">http://IP:port/MediaItems/####.ext</res> <res bitrate="176400" duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000" sampleFrequency="44100">http://IP:port/MediaItems/TranscodeAudio/LPCM/####.ext</res> <res duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000">http://IP:port/MediaItems/TranscodeAudio/MP3/####.ext</res> </item> <container childCount="#" id="ID_FOLDER" parentID="ID_PARENT" restricted="1" searchable="1"> <dc:title>folder name</dc:title> <upnp:class>object.container.storageFolder</upnp:class> <upnp:storageUsed>-1</upnp:storageUsed> </container> </DIDL-Lite> Note with the sample file (item node), it contains three res nodes. The DLNA client (LG SmartShare) should select the data from the res node for the format it supports, and allow for selection of the item, but when I browse in the container which contains the item, LG SmartShare doesn't show it.
      For native MP3 files, SmartShare will show and play those items. I can provide output for native MP3 items, as well as OGG or MP4/M4A files if those would help, though they all look fairly similar. However, for native MP3 files, the first res node has a slightly different set of DLNA flags:
      <res bitrate="128000" duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" sampleFrequency="44100" size="######">http://IP:port/MediaItems/####.mp3</res> Is my server serving something incorrectly, does SmartShare just not support multiple res nodes, or have I overlooked something?
×
×
  • Create New...