Following the preview and a couple of hundreds lines of code later the media player proof of concept(!) as a video…

Following the preview and a couple of hundreds lines of code later the media player proof of concept(!) as a video…

Features:

– Playback of local files including display of album art (and fallback image if no image is existing)

Album art is also shown on lockscreen (as known from other media player apps like Google play music)

– Receiving system volume changes

– Obeying audio focus changes (player stops if another app requests audio focus)

– Seekbar (height and color are customizable)

– Skip forward/backward (customizable)

– Sleep timer using the android timepicker component (safely fall asleep during playback ;))

– Making use of Android notifications to show player controls and album art on the lockscreen and in notification panel

– As local playback might be lame at some point, I also added support for streaming playback of online radio stations incl. grabbing metadata and parsing to display current artist and title

Under the hood I make use of asnyc tasks to provide a non-blocking experience (as buffering might take some seconds).

The would still be some (a lot actually) open points (testing on other devices and Android versions (currently Sony Z3 on Android 6, support for when used in car setup with Bluetooth, shuffle) but for now the mvp does what is important I think.

Feedback welcome. Any questions let me know.

]]>
(Next Post) »

14 Commentsto Following the preview and a couple of hundreds lines of code later the media player proof of concept(!) as a video…

  1. Anonymous says:

    < ![CDATA[

    Wow. Super. You’ve written new music and radio app just with scripts ! Any way to have it as standalone ? Or a template ?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Wow, unbelievable!!



    Excellent work!😍😍

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Bruno-Isa LAMOUR-ARNOULD


    Maybe part of my zunish template. But not without thorough testing. I wouldn’t want to publish something unstable.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Karsten Franke I van beta test if needed

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Wow finally updates for my all time favorite LL theme, when could we expect it or how can we become ur testers..

    ]]>

  6. Anonymous says:

    < ![CDATA[

    very impressive always liked the zune music player.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Karsten Franke​ Ich nutze dwin letzes update auf meinem s7 mit nougat 7.1.1..


    Leider zeigt mir nichts mehr in dem news Ordner app ordner und phone history ordner . keine ahnung ob es an ll liegt oder an deinem design…



    Gibts schon Neuigkeiten für das nächste update?

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Update published (v3.2) to play store including the infamous media player unsing vanilla Lightning Launcher.



    (Tested with the latest LL 14.1.3 and Android 5 and 6)



    To the zunish template owners: Let me know if you have any issues (drop me an email).

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Bought it.


    Excellent


    And playing a bit with.



    I’ve changed some appdrawer settings




    https://lh3.googleusercontent.com/ElG1zWxxyUpUu0DJ4gtIU5a7tDd1By03JP0Gh5ZH8OdHkcvUOGedpAD6rjQQdRFMTk2aS0Og7cU

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Weather : How to set our town ? Is there some settings


    I have issue when trying to refresh


    https://lh3.googleusercontent.com/fHa0QuKTnX_EgAfQDmDVTbkbFx_6HLOmhQeWPpk-xGlsMKokbVUW_Nu_RVUzkhgMrv2A1YmEkSc

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Bruno-Isa LAMOUR-ARNOULD​​


    For the art: you would need to add the to the music file. The player only displays what is stored in the file.



    For the other error: I cannot reproduce. Could you please send me a mail with more details (Android version, Your device, resolution, How you installed the template, everything you did after downloading the template. etc) thanks.

    ]]>

  12. Anonymous says:

    < ![CDATA[

    Karsten Franke​ just wanted to know what to change for the album art default.


    About weather : no hurry lol. I’m on Android 6.0 Ulefone Power rooted and xposed.


    Do you have some settings about our City or must I change in a script ?


    I’ve only installed your template from playStore and then clicked on Replace and not merge


    But now started some light changes

    ]]>

  13. Anonymous says:

    < ![CDATA[

    Long press back key and select ‘zunish settings’. There you can change a lot of things, including the weather city.



    And try ‘revert setup’ once after template install as well to match your device resolution.



    Default art cannot be changed for local music. It is a fallback anyway

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *