INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [NIRCMD] WritePlaying Plugin - anyone got it to work with MC 64 bit?  (Read 490 times)

Striker

  • World Citizen
  • ***
  • Posts: 176

I recently upgraded from v30 32-Bit to v32 64-Bit... and the old WritePlaying plugin no longer works and will not install.  (the url for the installer uses is no longer valid)

The WritePlaying plugin is still available for download on the JRiver Media Center PlugIn page.

Has anyone got the WritePlaying plugin to work with v32 64-Bit?

I know there were some hacks to keep it working with the MC 32-bit versions... but I can't find them.  I've tried copying from my old MC install for WritePlaying now to the new 64-bit install and MC shows it as a plugin, but errors when trying to run it.

All I used it for was to put the currently playing track name in the TaskBar MediaCenter... or Pause.

If WritePlaying will no longer work with MC 64-bit... are there any alternatives?
Logged

Striker

  • World Citizen
  • ***
  • Posts: 176
[NIRCMD] WritePlaying Plugin - anyone got it to work with MC 64 bit?
« Reply #1 on: March 09, 2024, 03:55:43 pm »

I've found using the freeware "nircmd" I can change the title in the Windows taskbar for the Media Center program.

Since I'm already getting the current track name using MCWS... easy to just call nircmd to update the taskbar program text.

nircmd win settext process "Media Center 32.exe" "my new title"

https://www.nirsoft.net/utils/nircmd2.html#using
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: [NIRCMD] WritePlaying Plugin - anyone got it to work with MC 64 bit?
« Reply #2 on: March 10, 2024, 06:33:43 am »

nircmd is awesome. I've had useful shortcuts setup through it for so long, I practically forget that I put in the Windows system folder lord alone knows how many years ago :)

How's that PlayingNow replacement project coming along? Are you planning to include FTP functionality?

Striker

  • World Citizen
  • ***
  • Posts: 176
Re: [NIRCMD] WritePlaying Plugin - anyone got it to work with MC 64 bit?
« Reply #3 on: March 10, 2024, 11:19:30 am »

nircmd is awesome. I've had useful shortcuts setup through it for so long, I practically forget that I put in the Windows system folder lord alone knows how many years ago :)

Like you, I've had nircmd for years... my favorite is:

nircmd exec hide <program>  # which I use from toolbar buttons to prevent the terminal window from showing up.

I searched the web for a long time to find something that would change the Taskbar program text and was unable to find anything that worked and could be run from a command line... then I thought, let me look at nircmd and wooho... it was already built in.

Quote
How's that PlayingNow replacement project coming along? Are you planning to include FTP functionality?

Well it's not a PlayingNow replacement.  I only tried to duplicate the parts of PlayingNow I used.  All I used PlayingNow for was to write out a file with the fields I need on track/state change and then to call a program I wrote to update all of the screens around my house with info about the current/next track and what state MediaCenter is in (stop, pause, playing...).

I'm still struggling with handling all of the events I get.. some I simply want to ignore to prevent screen updates for intermediate events.  Like when a track changes naturally, I get a a "Pause" event with the playcount and lastplayed updated and then I get the Play event for the new track (handled).  And some how it seems my program gets 'stuck' and ignores all new events, gotta be my program and not MC, but I'm still tracking that one down.  Doesn't seem possible... but like all program bugs, once I see them it's like "of course..."

Quote
# WriteConfig 2024-03-10  10:05:48  25

[PLAYING_NOW]
AUDIO_SYS_PWR=1
MC_ACTIVE=1
MC_STATE=2
CURR_KEY=7557068
NEXT_KEY=7557063
CURR_DURATION=7:11
CURR_ARTIST="Toler Brothers"
CURR_ALBUM="1994 Toler Brothers"
CURR_SONG="Goin' Down Slow"
CURR_RATING=4
MC_STATUS=Playing
CURR_PLAYCOUNT=35
CURR_GENRE=Blues
CURR_LASTPLAYED=1699758107
CURR_FILETYPE=flac
CURR_QUALITY=
CURR_GENRE_ALL=Blues
CURR_SOURCE=flac
CURR_DATEIMPORTED=1224097013
CURR_YEAR=1994
CURR_TRACK=3
NEXT_ARTIST="Toler Brothers"
NEXT_ALBUM="1994 Toler Brothers"
NEXT_SONG="You're Gonna Need Me"
NEXT_RATING=4
[END]

FINISHED
Quote

Logged
Pages: [1]   Go Up