This file is indexed.

/usr/share/amsn/plugins/music/infospotify is in amsn-data 0.98.9-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/bin/bash
#
# Written by Alexander Karlstad <alexander@karlstad.be>
# Initial code from http://github.com/pilt/spotify

PLAYING=`xwininfo -root -tree | grep "Spotify - " | grep -v 'has no name' | sed 's,.*"Spotify - \(.\+\?\)":.*,\1,'`
if [ "${PLAYING}" ]; then
    echo "${PLAYING}" | sed 's,\(.\+\) \xe2\x80\x93 \(.\+\),\2\n\1,'
    echo ""
    echo ""
else
    echo ""
    echo ""
    echo ""
    echo -1
fi
exit 0