Giter VIP home page Giter VIP logo

android-dlna's Introduction

SlickDLNA for Android 4.0+

SlickDLNA is a free, simple and easy to use client for browsing UPnP and DLNA media servers and it will enable you to stream media to your device. It focuses on delivering a simple and lightweight experience.

Download

Available at the Google Play Store

Requirements

I have included a build.gradle file for easy dependency management in Android Studio. You will receive an error though when building, since most of the libraries for Jetty includes an about.html file that needs to be deleted from the .jar files.

The .jar files will be in sub folders in the .gradle folder (on Windows: C:\Users\<Username>\.gradle).

Icons

License

android-dlna's People

Contributors

kernelcrap avatar naofum avatar poussinou avatar primaeval avatar stmc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-dlna's Issues

Run time error

Am not able to run this code. am getting error as show below, kindly please help me.

06-14 23:45:52.326: E/AndroidRuntime(6903): java.lang.NoClassDefFoundError: org.eclipse.jetty.server.Server
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.resetServer(JettyServletContainer.java:165)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.(JettyServletContainer.java:57)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.(JettyServletContainer.java:55)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.android.AndroidUpnpServiceConfiguration.createStreamServer(AndroidUpnpServiceConfiguration.java:110)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.transport.RouterImpl.startAddressBasedTransports(RouterImpl.java:427)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.transport.RouterImpl.enable(RouterImpl.java:132)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.android.AndroidRouter.enable(AndroidRouter.java:92)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.UpnpServiceImpl.(UpnpServiceImpl.java:87)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.android.AndroidUpnpServiceImpl$1.(AndroidUpnpServiceImpl.java:54)
06-14 23:45:52.326: E/AndroidRuntime(6903): at org.fourthline.cling.android.AndroidUpnpServiceImpl.onCreate(AndroidUpnpServiceImpl.java:54)
06-14 23:45:52.326: E/AndroidRuntime(6903): at android.app.ActivityThread.handleCreateService(ActivityThread.java:3148)
06-14 23:45:52.326: E/AndroidRuntime(6903): at android.app.ActivityThread.access$1900(ActivityThread.java:177)
06-14 23:45:52.326: E/AndroidRuntime(6903): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1531)
06-14 23:45:52.326: E/AndroidRuntime(6903): at android.os.Handler.dispatchMessage(Handler.java:102)
06-14 23:45:52.326: E/AndroidRuntime(6903): at android.os.Looper.loop(Looper.java:145)
06-14 23:45:52.326: E/AndroidRuntime(6903): at android.app.ActivityThread.main(ActivityThread.java:5942)
06-14 23:45:52.326: E/AndroidRuntime(6903): at java.lang.reflect.Method.invoke(Native Method)
06-14 23:45:52.326: E/AndroidRuntime(6903): at java.lang.reflect.Method.invoke(Method.java:372)
06-14 23:45:52.326: E/AndroidRuntime(6903): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
06-14 23:45:52.326: E/AndroidRuntime(6903): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)

black/night mode theme

Please add black/night mode color theme.
So searching movies at night would be less painful on eyes.

Thanks

missing settings option in Nougat

Hi, I'm in a smarttv with android 7.1.2 and am not able to click anywhere to to see the settings menu appearing. In an older device it worked swiftly. (btw superuseful app!)

Tablet ui

Please, implement tablet ui. Icons and row too large

Sorting for new media

Please add some type of Sort by date feature, so newly added media could be easily discovered.
Best would be a local tracking which files have been opened (just like in MXplayer-tags)

Slick not showing MP3 Artwork

Dear dev, really love the app! I faced an issue regarding Artwork: simply does not show anything. I added Artwork using MP3 Tag. Any help appreciated!

thumbnails not working with minidlna on debian/unstable

Thanks for this app, I'm using it a lot with a synology nas and a debian/sid desktop and it works great.

About the small issue I'm having with minidlna and thumbnails:

with the synology dlna server I just put a jpg image with the same name of a video and the thumbnail is shown correctly in the directory listing (test.mp4 -> test.jpg)

on the debian server instead I'm using the minidlna package, lightweight and easy to setup, for my understanding it should support thumbnails (not sure but maybe the inotify option need to be enabled), it looks for basename + .cover.jpg (test.mp4 -> test.mp4.cover.jpg), if the .cover.jpg file exists it is indexed into a sqlite3 db (/var/cache/minidlna/files.db) table ALBUM_ART

select * from ALBUM_ART ;
1|/var/cache/minidlna/art_cache/var/lib/minidlna/test.mp4.cover.jpg

I captured a directory listing (below) and the thumbnail is listed and published correctly, I think the issue is something similar to one already fixed (838069b) but I'm not upnp expert, don't know how to fix this one yet, any suggestion where to look?

Thanks in advance

<?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>&lt;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/"&gt;
&lt;item id="2$8$0" parentID="2$8" restricted="1" refID="64$1"&gt;&lt;dc:title&gt;test&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.videoItem&lt;/upnp:class&gt;&lt;dc:date&gt;2014-11-04T04:37:50&lt;/dc:date&gt;&lt;res size="19096399" duration="0:00:46.022" bitrate="414940" sampleFrequency="44100" nrAudioChannels="2" resolution="1920x1080" protocolInfo="http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_HP_HD_AAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000"&gt;http://192.168.2.210:8200/MediaItems/23.mp4&lt;/res&gt;&lt;res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN"&gt;http://192.168.2.210:8200/AlbumArt/1-23.jpg&lt;/res&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</Result>
<NumberReturned>1</NumberReturned>
<TotalMatches>1</TotalMatches>
<UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope>

edit

apparently minidlna pass the thumbnail as a resource (the second, the first is the video) not as a property, I got it working by adding one more fallback within createItemModel(), but I really don't know much about upnp and I don't think that's an optimal solution:

if (usableIcon == null) {
    for (Res res: item.getResources()) {
        String resValue = res.getValue();
        if (resValue.endsWith(".jpg")) {
            itemModel.setIconUrl(resValue);
            break;
        }
    }
}

Play random in current folder

Please add feature to play random media in current folder (including recursive subfolders)
imagine 2TB movie/music collection.

Android 7

After the upgrade to Android 7.0 your app doesn't find the minidlna-server on my RaspberryPie anymore. Are there any known issues with the latest version of Android? My TV has no trouble with this server...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.