![]() ![]() I'm hoping I'm just parsing the URI incorrectly, but I'm out of ideas.Īny suggestions? Also, is there a better way to do this entirely when pulling from a UPnP server? FWIW, I'm using the Cling UPnP library. The second and third attempts are using the "res" value from the UPnP metadata, which points to the actual file on the server. Asset is accessed directly from the device (such as XBox, PS3) or through a UPnP Control Point running on a PC (such Asset Control, Kinsky Desktop) or hand-held controller (such as Kinksy, Lumin, or PlugPlayer on the iPad). The first one is the albumArtURI pulled from the UPnP metadata (no *.mp3 extension, but the file will download if pasted into a web browser). Asset UPnP Linux, QNAP & Synology Manual. However, any of the following fail with the same error: tDataSource(appCtx, Uri.parse("")) The following works since it's a direct file path on the device itself: tDataSource("/sdcard/Music/Daft_Punk/Homework/01 - Daftendirekt.mp3") MediaMetadataRetriever metaRetriever = new MediaMetadataRetriever() Each way I try it, I keep getting an IllegalArgumentException by the call to MediaMetadataRetriever#setDataSource, which indicates that my file handle or URI is invalid. I've read that MediaMetadataRetriever is useful for this kind of thing, but I haven't been able to get it to work. #ASSET UPNP NO EMBEDDED ART MARANTZ ANDROID#Since the actual MP3 files aren't sent to the Android device, I'd like to be able to get the album art of the currently playing file without having to download the entire MP3 file to my phone. There are a few ways to create an asset: Create an asset from your videos during the video upload flow or by applying an upload policy. I'm currently writing a UPnP remote control app which is used to connect a remote MediaServer to a remote MediaRenderer. An asset must be created so our right management tools can find and act on matches of your content. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |