
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is a very simple Now Playing script which outputs the data to your homedir so it may be parsed by any other program. The output format is based from an Amarok 1.x script written by Daniel Dormann and the script itself was modified from the SkypeNowPlaying script by tuwe.
Known limitation: If playing, when Amarok exits the script is unaware. No known Amarok 'exit' trigger.
8 years ago
0.6.1 - Changed script filename
0.6 - Fixed leftover debug line
0.5 - Fixed weird track length issue
0.4 - Added status check to onTrackChange to update for a small regression in Amarok 2.2.2 (onTrackChange called on startup now regardless of if Amarok is playing or not)
0.3 - Fixed some cover art information, repeatPlaylist repeatTrack and randomMode called from Amarok now, were hard coded
0.2 - Fixed homedir path, thanks Knoellchen!
0.1 - Original Release
8 years ago
0.6.1 - Changed script filename
0.6 - Fixed leftover debug line
0.5 - Fixed weird track length issue
0.4 - Added status check to onTrackChange to update for a small regression in Amarok 2.2.2 (onTrackChange called on startup now regardless of if Amarok is playing or not)
0.3 - Fixed some cover art information, repeatPlaylist repeatTrack and randomMode called from Amarok now, were hard coded
0.2 - Fixed homedir path, thanks Knoellchen!
0.1 - Original Release
rascal58
8 years ago
Script current name: 112728-SimpleNowPlaying.tar.bz2
suggested name: 112728-SimpleNowPlaying.amarokscript.tar.bz2
with this change the script is found and installed. Otherwise the script works !
Report
khaytsus
8 years ago
Report
khaytsus
11 years ago
Report
kisrokus
10 years ago
isPlaying: false
status: 2
Report
khaytsus
10 years ago
Can you please explain the steps to where you're getting an incorrect status?
Report
kisrokus
10 years ago
Is this script helping kopete as well or just creating the ~/nowPlaying.txt
Probably my amarok is bugged. What do you think?
Amarok v 2.2.1.90
KDE 4.3.1 "release 6"
openSUSE 11.2
Report
khaytsus
10 years ago
As for why your Amarok isn't working, honestly I don't know. Amarok 2.2.2 here.
Report
Oceanwaves
11 years ago
isPlaying: true (should be false)
status: 0
repeatTrack: 0
repeatPlaylist: 0
randomMode: 0
artist:
title:
track: 0
album:
length: 00:00
genre:
year:
comment:
bitrate: 0
type:
samplerate: 0
cover:
score: 0
rating: 0
playcounter: 0
Oceanwaves
Report
khaytsus
11 years ago
Report
Oceanwaves
11 years ago
Thanks, Script is working fine again!
BTW: I noticed huge differences in the track length reported by Amarok vs. your script, e.g. Amarok (correctly) reports 2:57 for a track while the script reports
length: 01:10:00
No problem for me since I don't need the track length at the moment, just wanted to mention it.
Thanks again,
Oceanwaves
Report
khaytsus
11 years ago
Report
Oceanwaves
11 years ago
Oceanwaves
Report
khaytsus
11 years ago
Report
kisrokus
11 years ago
And this has version 0.5 in it... and correct me if I am wrong but 0.6 is now the fixed version.
Report