Home > Uncategorized > DG PlayingNow Updater

DG PlayingNow Updater

What is DG PlayingNow Updater?

DG PlayingNow Updater puts a description of the currently playing song in your media player into one or all of the following places:

  • Popup window (“toast” style)
  • MSN Messenger “What I’m Listening To” area
  • Your blog
  • To a file (for email signatures etc)

Currently, the following platforms have been tested on:

Blogs: WordPress (v1.5, v2.0)
Media Players: J. River Media Center (v10, v11, v11.1), iTunes v6
MSN Messenger 7.5

Screenshots

Pop-up “toast”

WordPress plug-in

MSN Messenger “What I’m Listening To”

Download

Download the latest release which included both DG PlayingNow Updater and the WordPress plug-in.

Download v0.1.1.5 ALPHA – DGPlayingNow_0.1.1.5.zip
NOTE: This includes an upgrade to the WordPress plug-in (a plugin re-install will be required – simply copy .php files, deactivate, reactivate, modify post key, done!)

Installation

Install DG PlayingNow Updater
After you’ve downloaded DG PlayingNow Updater unzip it to any folder you wish and then simply double click on it. There is no need for an installation routine. Simple isn’t it?

Also, DG PlayingNow Updater is dependent on Microsoft .NET framework 1.1. Chances are, you already have it (and maybe didn’t even know it). If it’s not alread installed, you can download it from here.

Install WordPress plug-in
The WordPress plug-in is what gives you the ability to publish your currently playing track to your blog.

It’s important to note that you don’t need to WordPress plug-in if you only wish to use DG PlayingNow Updater stand alone for the pop-ups and MSN Messenger functionality.

To install the WordPress plug-in:

  1. Copy dg-playingnow.php and dg-playingnow-update.php to your wordpress plugins directory (usually located at “/wordpress/wp-content/plugins”)
  2. Goto plugins in your WordPress admin panel and click activate beside “DG PlayingNow Updater”.
  3. Now, goto presentation in your WordPress admin panel and insert the following <?php showDGPlayingNow(); ?> wherever you want the currently playing track to appear.
  4. Finally, you need to ensure that you have secured the plugin. Edit dg-playingnow-update.php and modify the value of your post key. To do this, modify the following line of code $postkey = "1234567890"; to any value you wish. This will ensure others can’t post to your playing now.Remember the value that you change it to and key that value into the main DG Playing Now Updater app. This will ensure that that your app and blog are paired together.
  5. That’s it, done!

To do

  • Multiple media player support – Winamp, iTunes and Windows Media Player
  • AJAX playing now on blog so it keeps refreshing automatically
  • Display cover art in popup and wordpress blog
  • Skinable popup
  • Write playing now out to a file (text or image) for email sig etc. And possibly FTP upload of file.
  • And anything else you think of. Any suggestions or requests leave a comment or contact me.

Revision history

v0.1.1.5 : 2006-01-05 :
- Added: WordPress 2.0 support
- Added: Minor changes to display options (such as <br>)
- Fixed: minor bugs

v0.1.1.4 : 2005-12-28 :
- Added: Copy to clipboard feature
- Added: Added tool tip
- Added: Added writing out to file {ApplicationPath}\PlayingNow.txt

v0.1.1.3 : 2005-12-26 :
- Added: Support for iTunes (tested with v6)
- Added: CoverArt display on Popup (JRMC only) (Experimental)
- Added: More display tags (%track, %artist, %album, %playcount, %duration, %rating, %genre, %notes, %trknumber, %year)

v0.1.1.2 : 2005-12-22
- Added JRMC 11/11.1 support + minor bug fixes

v0.1.1.1 : 2005-12-21
- Initial alpha release

-dg

Categories: Uncategorized Tags:
  1. December 23rd, 2005 at 14:24 | #1

    This is a great app. Can’t wait for ITunes support, and wouldn’t it be great if it catered for Mac users as well.

    Vincenze.

  2. December 23rd, 2005 at 16:02 | #2

    iTunes support you say?

    iTunes support coming very soon, working on it at the moment.

    Mac support, now that’s stretching the friendship

    -dg

  3. December 23rd, 2005 at 18:50 | #3

    Very nice, wish it auto started with my player though.
    Standalone has its benefits too.

    Solid wishy-washy opinion, eh?

    But it does work just as it should once started.
    Thanks for a nice tool.

  4. December 23rd, 2005 at 23:13 | #4

    I does start with Windows if that’s any benefit to you. Personally, I have my player running almost all of the time so not a problem for me.

    Actually, you can create a batch file which launches both JRMC and DG PlayingNow Updater at the same time.

    Also, I wanted to keep it out of being hooked into one particular player so as not to limit my options in the future.

    -dg

  5. M_Mickey
    December 26th, 2005 at 08:16 | #5

    Nice!

    Would be even nicer to add coverart and other info, rating, playcount, etc.

    keep up the good work!

  6. December 26th, 2005 at 15:07 | #6

    Vincenze and M_Mickey,

    Just released (v0.1.1.3) – iTunes support added, more tags added, cover art added.

    -dg

  7. December 28th, 2005 at 00:24 | #7

    Oh yeah! I’d love support for foobar2000, that would truly be lervly.

  8. January 5th, 2006 at 03:12 | #8

    Does the plugin work with WordPress 2.0?

  9. M_Mickey
    January 5th, 2006 at 11:30 | #9

    Coverart works fine! Thanx

    How do we force linechange in output, i would like someting like this:

    Artist
    Album (year)
    Song
    Rating and playcount

    Possible?

  10. January 5th, 2006 at 16:54 | #10

    Claire,

    Just tested in WordPress 2.0 and it doesn’t seem to work. I’ll have a look at it when I get a chance. Keep an eye on this page for updates.

    M_Mickey,

    Where do you want the output formatted like this? In the pop-up or in WordPress?

    In wordpress – you can just put a <br/> wherever you want a break to appear and that should do the trick.

    For the popup – you’re limited to the current size of the popup which is only three lines. If you want to put a line breaks in there it’s not too difficult to implement and I’ll introduce it in the next release (next few days).

    Niklas,

    Foobar2000 is not on the priority list but you never know, I might get around to it one day.

    -dg

  11. January 5th, 2006 at 19:38 | #11

    v0.1.1.5 Released:
    - Added: WordPress 2.0 support
    - Added: Minor changes to display options (such as <br>)
    - Fixed: minor bugs

  12. adame
    January 7th, 2006 at 01:12 | #12

    Sounds cool!

    What about winamp support? Since it’s the most used music playin’ software since the DFX plugin’ exists :)

    Keep me updated if there’s any way to get it work with winamp..

    Cheers,

    Adame

  13. M_Mickey
    January 7th, 2006 at 08:25 | #13

    Latest build eats my ram like candy! 35-40mb during playback(no wordpress)

    Request: Align text to the right.

    Thanx again for working on this!

  14. January 7th, 2006 at 11:15 | #14

    M_Mickey,

    Mine teeters at around 22mb which, for me, is less than MSN Messenger, iPodder and a few other things. I do agree that I should try to bring this down a bit so I’ll look into it. Might be a dependency on needing to be hooked into JRMC that’s causing it, but I’ll look into it in the next few days. Also, I noticed it’s used up the same memory since v0.1.1.1. Can you test wether 0.1.1.5 chews up more than 0.1.1.4 on your system?

    “eats my ram like candy”, I like that and am going to start using it :-)

    Right align, coming up.

    adame,

    I’m working on Winamp and Windows Media Player, stay tuned.

    -dg

  15. M_Mickey
    January 8th, 2006 at 02:37 | #15

    And that is one of the best reasons not to use MSN messenger :)
    Most im clients is better.
    And JRMC does podcasting now.

    Tried to downgrade to .14, and it helped a bit, but not alot.
    Problem seems to be that the app keeps just adds info to memory without flushing. So it grows a little for each popup. Current record is 42mb!

    You really should try to limit memory use, only firefox uses more ram on my laptop. I would say 10 mb should be the limit for this app, unless you add some funky functions. ?

    I saw you checked out my last.fm ;)

  16. Sam Pennington
    January 10th, 2006 at 04:33 | #16

    Great Program, was just wondering if there could be a function to store your current settings (sorry if there is and ive missed it). It gets a bit annoying having to re-insert settings each time.

  17. January 10th, 2006 at 09:59 | #17

    Sam,

    It should be saving your settings when you exit. It saves them to the registry.

    Try this.

    1) Leave your media player closed
    2) Open DG PlayingNow Updater
    3) Set your settings
    4) Right click on the system tray icon and click exit
    5) Wait for it to totally close
    6) Re-open – if your settings weren’t open your registry editor and goto “HKEY_CURRENT_USER\Software\DGPlayingNow” is there anyting there?

    M_Mickey

    I’m up to 56MB (after 4 days straight) – NEW WORLD RECORD!!!! YEAH!!!. I’m looking into it and will keep you posted. Can you do me a favour? Can you run it without the popup switched on, does it still continue to leak memory?

    Also, your settings save after you exit don’t they?

    Thanks.

    -dg

  18. January 11th, 2006 at 11:45 | #18

    Nice tool!

    I haven’t seen how to add cover art–maybe I’m missing something.

    Also, I’ve notice that when there’s an amphersand (sp?) “&” in the artist name the program poops out. Perhaps in a future release you’ll get a chance to look into this (or…maybe I’m just nutz!) Anyway, love the plugin–the only iTunes display tool I could get to work!

  19. January 11th, 2006 at 11:46 | #19

    Oh, and I too had the same problem w/ vanishing settings on close.

  20. January 11th, 2006 at 12:16 | #20

    Hey Brandon,

    Cover Art only works with JRMC at the moment.

    Yeah, I’ve noticed a few characters which play up, will work on it for the next release.

    Hee hee, noticed the plug-in on your blog. Very cool. Still don’t know why people take out the “powered by DG PlayingNow”. Still, you’re using the plug-in and that’s the important thing.

    Interesting blog by the way.

    -dg

  21. January 11th, 2006 at 12:49 | #21

    The only reason I took it out was that it didn’t “go” with my sidebar…

    I periodically give a ‘plug’ to all my plug-in authors…I’ll give you a heads up when I do!

  22. January 13th, 2006 at 05:09 | #22

    Great plug-in!
    It may be on your “to-do list” but I’d really like to see a feature where the WordPress portion can keep your last few played tracks once you’ve stopped listening to music. It just looks kind of dull when you’re not listening to anything, you know?
    Perhaps if the WordPress plug-in doesn’t receive any new song info for several minutes it converts from “Now Playing” to “Recently Played Tracks”.

    Really really great stuff though. Thank you for sharing this.

  23. January 21st, 2006 at 10:55 | #23

    When i disable popups, memory use is stable.

    Since this plugin already have some kind of cache? Why not enable it to submit to last.fm? And then just grab data from last.fm to use in your blog? they have lots of feeds:
    http://www.audioscrobbler.net/data/webservices/

    Plugin Protocol:
    http://www.audioscrobbler.net/wiki/Protocol1.1

  24. January 21st, 2006 at 12:20 | #24

    M_Mickey,

    Thanks for the info, I noticed you’ve been active around the JRMC forums around last.fm. In summary, what are the problems with the JRMC plug-in?

    All,

    Working on a version with some fixes and some minor feature requests, bear with me.

    -dg

  25. January 22nd, 2006 at 07:13 | #25

    The main problem with the audioscrobbler plugin for jrmc is that the developer is missing. And the plugin needs some updates:
    1:
    The plugin just needs to do a new handshake when it receives a “Bad Authorization” error (and cache the track that failed to submit).
    This happens when you’re not playing audio for a while (20/30 minutes?), the session just times out, or when you start another player that does a handshake on startup (like ITunes with iscrobbler installed) invalidating the original session.

    2:
    Sometimes the plugin forgets the username/pw, it then crashes jrmc everytime it tries to submit data. There is a DIY fix/hack by zxsix that works well:
    “I believe I have solved this disappearing login issue. I can’t fix the plugin, but I have a workaround.
    Here’s what I found…..

    When you go into the plugin settings and fill in your login/password info, or change the options and click the apply button, it saves to the audioscrobbler.ini file located here:

    C:\Documents and Settings\Administrator\Application Data\J River\Media Center 11\Library\audioscrobbler.ini

    Now, I noticed that when starting up MC and pulling up the plugin settings again, the login/password is of course blank now. Turns out it was attempting to read, and not finding, the audioscrobbler.ini file because it was looking for it here:

    E:\Documents and Settings\Administrator\Application Data\J River\Media Center 11\audioscrobbler.ini. (note the lack of the Library folder in the path).

    So, here’s the fix. Substitute your own paths.
    Go into MC and edit the audioscrobbler plugin settings.
    Fill in your login info. Click the login and apply buttons.
    Leave MC as is….
    Using windows explorer, find your audioscrobbler.ini file in a path similar to above, in the Library folder.
    Copy that audioscrobbler.ini down one level to the Media Center 11 folder and save it there.

    Now close MC and restart.
    Check to see if the login info is still there.
    High-five me if it works.”

    3:
    No caching is done, if you close jrmc all submissions pending would be lost forever. And if you leave the player on the session will time out and your pending submissions is lost anyway. :(

    So the current plugin for jrmc is both stupid and outdated!

    It would be really cool to have a “universal” submission plugin like yours. One that would submit from whatever player beeing used. It would be perfect since your plugin is running all the time anyway.

    Alot of jrmc users would be very happy !

    You wil probably be listed on the plugin-list over at last.fm -> alot of new users:)

  26. January 24th, 2006 at 23:07 | #26

    Love the script, very clever indeed but being on 98se no itunes for me i shall have a crack with that media center tho but possibly winamp support would be brilliant!

  27. January 29th, 2006 at 19:01 | #27

    When will you be providing a Mac version? This sounds great but what’s the point if no Mac version is available?

  28. January 30th, 2006 at 11:41 | #28

    M_Mickey, thanks for all of the info. Theres heaps to go on there. I’ll have a go at coding something when I get a chance.

    Astorg, there won’t be a mac version any time soon.

    There are quite a few mac based apps which update wordpress from itunes, if that’s what you’re looking for.

    -dg

  29. March 27th, 2006 at 08:47 | #29

    Great plugin! :)

    It was working fine for me the other day, but today it says “no music” on my blog, even though I have iTunes open and songs playing. I’ve tried opening iTunes first, then the Updater first, but it still says “no music”. The settings reset themself after I’d shut down once, but I’ve since changed them and I’ve got the right key, blog address, etc. When I right click on the Updater and choose “Update” it says “%track – %artist” on my blog.

    What should I do?

  30. Ned
    May 11th, 2006 at 23:33 | #30

    Sounds great!

    But it justs isnt working for me :-(

    I dont know why? It Displays only this on Now playing “Listening to %track by %artist from %album”

    Help!

  31. May 12th, 2006 at 11:28 | #31

    Hey Ned,

    The last release was a but unstable.

    I’ve taken a break from developing it for a while.

    I’d suggest you wait until i start working on it again. Not sure when i’ll resume dev on it at the moment.

    -dg

  32. Ned
    May 20th, 2006 at 04:32 | #32

    delicategenius where can i get your DGPlayingNow_0.1.1.3.zip?

    I have heard that its stable! and what about DGPlayingNow_0.1.1.4.zip?

    Thank You!

  33. Ned
    May 20th, 2006 at 06:30 | #33

    I got even 0.1.1.3 version but it is not updating .. and if i click update …
    “Listening to %track by %artist from %album” … same again

    I’ve .NET 1.1 & 2 installed!

    Plz help!

  34. June 3rd, 2006 at 05:21 | #34

    was wandering if the script could include support for streaming stations. Would be nice to see the title and artist.

  35. Kevin
    July 5th, 2006 at 01:22 | #35

    I love the concept of this plugin! I can get it to work if I update manually on every track change, but who wants to do that? It seems like the original output for itunes is updating it after DG posts the MSN “I’m listening to” For example the track changes, MSN posts it as I want for about 1 second, then goes back to the way it was before I installed DG…Anyone else have this issue?

  36. July 14th, 2006 at 09:03 | #36

    I use it at http://www.kommunist.dk and loving it :)

  37. July 14th, 2006 at 10:44 | #37

    …And I can’t wait for the support of AJAX ;)

  38. Prawnz
    September 4th, 2006 at 01:12 | #38

    Will this support zoomplayer? I was hoping that it could post mp4 and avi as well

  39. Prawnz
    September 10th, 2006 at 19:15 | #39

    Found a small problem with it. It keeps the media center process running when the media center application has already exited. Any way to change it?

  40. Bodyboarder
    September 16th, 2006 at 03:35 | #40

    Very useful, thanks mate. Good luck 4 ur future apps. :)

  41. October 2nd, 2006 at 18:34 | #41

    is there anyway, it would publish to a xml file? w/ thumbnail? or to a txt only xml or mysql?

    this is a really cool app.
    i would love it, if every field would upload to mysql in a table. heheheee

    thanks..

  42. October 2nd, 2006 at 18:41 | #42

    khang,

    If you look in the same folder as DGPlayingNow.exe you will find that it generates a file called PlayingNow.txt. This is a simple text file with whatever your playing now string is.

    Best you’re gonna get for the moment i’m afraid.

    -dg

  43. October 4th, 2006 at 17:32 | #43

    thanks. do you think that anytime in the future that it would be like something similiar to last.fm? which it uploads all the song’s info to a DB, and increment. time played, cd, title, artist, date, how many times it plays, and stuff like that. so we can do like a cool chart thing? or have your app as open source, or if you need help on programming? (hahahaaaaa) it’ll be cool features to add. heheheeee. so there’s be setting to upload to DB mysql.

    peace out,
    khang

  44. October 27th, 2006 at 00:30 | #44

    Still waiting for that Ajax support.
    Any news?

  45. tqa
    January 8th, 2007 at 04:14 | #45

    Great idea for a plugin. It doesn’t seem to detect JRMC12 as running, though. I’m guessing it’s a simple pathing issue. Any chance you’ll be able to address this?

    Thanks!

  46. January 20th, 2007 at 18:49 | #46

    Thanks for the plugin! Bookmarked it now and will add it to my blog soon :)

  47. Leon
    June 18th, 2007 at 10:22 | #47

    Any chance making this compatible with MSN 8 and J River 12?

  48. June 20th, 2007 at 06:44 | #48

    Unlikely Leon, DG PlayingNow has been out of development for over a year now and I can’t see myself resuming it in the foreseeable future.

  49. Emiliano
    June 26th, 2007 at 13:27 | #49

    Hi Michael! I have to say that this is a really useful tool that i used some time ago, but now i have J River Media Center 12 and your program says: “Player not open”.
    I beg you to fix that so i can continue using this little marvel. Thanks.

  50. Allison Brown
    August 28th, 2007 at 02:00 | #50

    Well done!

  51. October 21st, 2008 at 06:59 | #51

    DG PlayingNow Updater – Displays the song you are currently listening to on iTunes, MSN Messenger, or J. River Media Center

  1. December 22nd, 2005 at 23:59 | #1
  2. May 25th, 2006 at 22:18 | #2
  3. September 21st, 2006 at 00:22 | #3
  4. October 13th, 2006 at 18:22 | #4
  5. November 14th, 2006 at 22:41 | #5
  6. February 10th, 2007 at 14:30 | #6
  7. February 22nd, 2007 at 18:29 | #7
  8. May 20th, 2007 at 00:41 | #8
  9. May 20th, 2007 at 01:46 | #9
  10. May 20th, 2007 at 17:49 | #10
  11. June 12th, 2007 at 04:01 | #11
  12. July 27th, 2007 at 18:47 | #12
  13. July 28th, 2007 at 09:32 | #13
  14. July 30th, 2007 at 08:32 | #14
  15. August 2nd, 2007 at 19:33 | #15
  16. August 5th, 2007 at 10:45 | #16
  17. August 16th, 2007 at 20:23 | #17
  18. September 5th, 2007 at 18:33 | #18
  19. September 20th, 2007 at 16:55 | #19
  20. September 26th, 2007 at 23:49 | #20
  21. September 28th, 2007 at 19:42 | #21
  22. September 28th, 2007 at 19:42 | #22
  23. September 28th, 2007 at 19:42 | #23
  24. October 10th, 2007 at 15:19 | #24
  25. November 5th, 2007 at 05:34 | #25
  26. November 5th, 2007 at 05:38 | #26
  27. November 12th, 2007 at 07:29 | #27
  28. November 12th, 2007 at 07:29 | #28
  29. November 23rd, 2007 at 02:58 | #29
  30. December 9th, 2007 at 23:38 | #30
  31. December 14th, 2007 at 01:53 | #31
  32. January 22nd, 2008 at 20:01 | #32
  33. January 29th, 2008 at 05:26 | #33
  34. February 10th, 2008 at 23:45 | #34
  35. February 18th, 2008 at 23:49 | #35
  36. March 6th, 2008 at 15:27 | #36
  37. March 27th, 2008 at 06:04 | #37
  38. April 22nd, 2008 at 23:22 | #38
  39. August 18th, 2008 at 16:43 | #39
  40. August 22nd, 2008 at 13:55 | #40
  41. September 11th, 2008 at 02:16 | #41
  42. October 6th, 2008 at 12:44 | #42
  43. October 17th, 2008 at 10:16 | #43
  44. October 23rd, 2008 at 10:50 | #44
  45. October 26th, 2008 at 10:56 | #45
  46. October 28th, 2008 at 22:40 | #46
  47. October 28th, 2008 at 22:40 | #47
  48. October 28th, 2008 at 22:40 | #48
  49. November 2nd, 2008 at 20:17 | #49
  50. December 12th, 2008 at 00:44 | #50
  51. December 24th, 2008 at 10:55 | #51
  52. January 12th, 2009 at 11:46 | #52
  53. January 20th, 2009 at 10:11 | #53
  54. January 28th, 2009 at 23:53 | #54
  55. February 7th, 2009 at 10:52 | #55
  56. April 2nd, 2009 at 01:19 | #56
  57. April 15th, 2009 at 19:24 | #57
  58. June 13th, 2009 at 03:41 | #58
  59. June 26th, 2009 at 23:47 | #59
  60. September 21st, 2009 at 23:37 | #60
  61. December 16th, 2009 at 05:46 | #61
  62. January 20th, 2010 at 14:56 | #62
  63. February 14th, 2010 at 05:37 | #63
  64. March 27th, 2010 at 23:12 | #64
  65. July 27th, 2010 at 12:33 | #65