![]() |
[How To] Show currently playing track and album art on your lock screen
2 Attachment(s)
This is my first "real" posting and English isn't my mother tongue, but having taken so much from this community in the last year I want to contribute something, too. I searched for something like this, but I couldn't find anything similar. If someone did this before or better, or if I forgot to credit someone I'll happily edit my post.
Using the N900 as my portable audio player, I often had to unlock it, to see what's playing right now. Taking inspiration from Alfred's thread and converting generationally's script to bash, I fumbled together a script that takes the metadata and makes a new lockslider.png. It relies heavily on GreatGonzo's mafw-trackinfo and Graham Cobb's dbus-scripts. The part that checks if the media player is running is by qwerty12, the symlink to the current theme directory comes from MohammadAG. 1) Install imagemagick -> 2) Install dbus-scripts and have it run on the session bus 3) Install mafw-trackinfo 4) Remove "slide to unlock" -> 5) Place attached lockscreen.sh in /usr/bin (you'll probably have to be root) 6) Create file lockscreen in /etc/dbus.d with the following content Code:
/usr/bin/lockscreen.sh * * com.nokia.mafw.renderer metadata_changed title
|
Re: [How To] Show currently playing track and album art on your lock screen
nice job!,,,,,,,,,
|
Re: [How To] Show currently playing track and album art on your lock screen
Quote:
|
Re: [How To] Show currently playing track and album art on your lock screen
Very nice work,
but it doesn't work for me :/ I followed all steps but it won't change my lockscreen.. I changed the font and the background directory correctly. The folder /etc/dbus.d didn't exist, so i created it via terminal "mkdir dbus.d" and created there the lockscreen file. Slide to unlock was already removed before, imagemick is also installed. I really don't know how to fix it.. already rebooted my phone and copied everything again into the folders.. Russe /Edit: it seems like my dbus-scripts-session does not work.. |
All times are GMT. The time now is 22:39. |
vBulletin® Version 3.8.8