maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   "Now Playing" app (https://talk.maemo.org/showthread.php?t=45931)

gazza_d 2011-12-18 20:46

Re: "Now Playing" app
 
Quote:

Originally Posted by Addison (Post 1139192)
I really don't get this. :)

sudo etc/init.d/now-playing-notifier restart
Restarting Now Playing Notifier:

It just hangs on this without ever giving me a new command line.

After running that and having this
NPN_OPTS="-u -t 2"
in my config file. No notifications anymore.

Here is my complete config file now.

# Default settings for now-playing-notifier. This file is sourced by /bin/sh from
# /etc/init.d/now-playing-notifier.

# -u will make now-playing-notifier use a HildonBanner instead
# -t <number> allows you to adjust the time that the notification is displayed on-screen for (default: 10)

# Options to pass to now-playing-notifier
NPN_OPTIONS="-u -t 2"

I receive notifications but they appear like so.

http://img59.imageshack.us/img59/715...1121815024.png

Current permissions and owners of the config file.

http://img193.imageshack.us/img193/9...1121815065.png

Thanks for helping me with this gazza. :)

It should be NPN_OPTS - not NPN_OPTIONS

that's what it is on mine, and it works great. - The righthand screenshot oin my previous post shows my settings.

Also ignore the service restart should be (as root)
Code:

/etc/init.d/now-paying-notifier restart
not what I originally put. spending to much time on ubuntu/debian!

Addison 2011-12-18 21:53

Re: "Now Playing" app
 
Got it! :D

Hey, is there a way to change the coloring, look, or feel of the banner or can it only be used with it's default settings?

Addison 2011-12-18 22:29

Re: "Now Playing" app
 
I finally see what was wrong earlier.

I need to have Xterm open

root
/etc/init.d/now-playing-notifier restart

in order for this to work.

Once I close Xterm, it stops doing anything.

Is this the same for you, needing to have Xterm open?

gazza_d 2011-12-19 07:34

Re: "Now Playing" app
 
Cool - Glad you got it working - it uses the standard Hildon taskmanager or banner functionality, so the only way to theme it would be by theming the whole desktop.

Mine does not need xterm open to run. Sounds like you may be running it directly from the terminal. A restart should make everything right.

I really find this little utility really helpful, and have it on all my devices.

Addison 2011-12-19 07:44

Re: "Now Playing" app
 
^ Do you mean reboot or restart?

gazza_d 2011-12-19 08:28

Re: "Now Playing" app
 
Restart, either from terminal or just power down the device and power back on.

Addison 2011-12-20 19:29

Re: "Now Playing" app
 
Quote:

sudo /etc/init.d/now-playing-notifier restart
This only works for me if I leave open the Xterm window I've typed it in.


sudo /etc/init.d/now-playing-notifier stop
sudo /etc/init.d/now-playing-notifier start


This did it for me. Not sure why. But yeah, I can close out Xterm and the notification script still works great.

Thanks again for all of the help. :)

Addison 2012-01-06 21:04

Re: "Now Playing" app
 
Hey.

Is there a way to make all notifications go to the hildon banner instead of the task manager?

I use Modest and I think that would be a neat feature to have this. :)


All times are GMT. The time now is 04:57.

vBulletin® Version 3.8.8