LCDHost Forums

LCDHost => LCDHost Plugins => Topic started by: Triscopic on 2010-10-31 12:13:56

Title: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2010-10-31 12:13:56
LH_NowPlaying
Latest Version: 3.00

LH_NowPlaying is a plugin that lets you...
...display the name, artist, album or playing time of the currently playing track in one of many players...
...display how far through the track you are using a progress bar...
...display the cover art for the current track...
...control shuffle / repeat states...
...and more!

e.g.:
(http://www.codeleap.co.uk/lcdhost/lh_nowplaying/screenshot-00.png)


Compatibility chart from the plugin:
(http://lcdhost.googlecode.com/files/NowPlaying_Compat.png)

1 If LCDHost is running as an administrator and iTunes is not (or visa versa) LH_NowPlaying will crash. Either run both as administrator or neither.

2 Foobar via Foo_Rainmeter.dll fully supports shuffle and repeat. The winamp spam dll supports sending shuffle and repeat toggle commands, but cannot read the values back.

3 Some users of 64 bit windows report that the MSN interface does not function with any application (i.e. the issue is unrelated to LCDHost); others have reported no problem.

4 The MSN interface only supports the seperate Artist, Album & Track details, hence players using this system cannot display the progress bar or album art and cannot access or set shuffle/repeat data.

5 The Title bar interface only supports the seperate Artist & Track details, not the album name. As with MSN, players using this system cannot display the progress bar or album art.
Title: Re: [Release] LH_NowPlaying
Post by: Triscopic on 2010-10-31 12:14:07
New in v3

v3 is a major rewrite of NowPlaying, moving the code base away from the pidgin-musictracker source to the excellent rainmeter-nowplaying source.

Major improvements include:
Title: Re: [Release] LH_NowPlaying
Post by: Insane on 2010-11-21 09:19:36
cool very nice.

whats the chances of showing the album art from itunes/etc for the song playing?
now that would be cool....and completely possible surely?
Title: Re: [Release] LH_NowPlaying
Post by: Triscopic on 2010-11-21 12:17:19
Well it's not quite as easy as that, but I will look into it.
Title: Re: [Release] LH_NowPlaying (v1.01)
Post by: Triscopic on 2010-11-27 13:44:07
Release Notes:

Updated to 1.01:
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Triscopic on 2010-12-19 16:48:00
Release Notes:

Updated to 1.02:

(No download for this version as it is bundled with the LCDHost installer)
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: nfsking2 on 2011-01-24 08:09:47
An excellent plugin. But I'm wondering if somebody can add the support for Zune Player and Windows Media Player?
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: novax1 on 2011-02-18 17:31:41
Hi a question you will give more options to show custom winamp.?
 title
 artist
 album
 track number
 year
 playtime
 volume
 album cover
 Thanks i greetings  ::)
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Triscopic on 2011-02-18 18:37:54
An excellent plugin. But I'm wondering if somebody can add the support for Zune Player and Windows Media Player?

This comment pulled me back into investigating WMP. Rest assured I really want to do this, but M$ do not make it easy (I spent weeks on it). Still no success, but I think I did make some progress. Maybe I'll get time to go back to this but don't hold your breath. :(

Hi a question you will give more options to show custom winamp.?

Not gonna happen, sorry. Rather than try to master a whole new API, I just pull the text right out of the application's title bar.

If/when I get time to revisit this plugin, I want to get WMP working, then I want to steal Lethys foobar player stuff (;)) and then I might look at pulling album art from iTunes (another thing I poured a couple of weeks into but couldn't work out). Currently that's all that's written on my notepad under "LH_NowPlaying To Do / Wish List"
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Burle 17 on 2011-02-21 19:21:37
Hello

a little Question. How great is the chance that LH_Nowplaying supports VLC (VideoLanClient) in the Future?

And you said M$ makes it hard  for you to be supported in the Plugin. Perhaps i have an silly idea. The normal Software from the G19 have already this support (in the Windows sideshow plugin). Perhaps it is able to get the Information from that plugin not from the WMP???
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Triscopic on 2011-02-21 23:00:55
VLC? That's not a music player is it??

Sadly there are no apis for extracting data from the logitech plugins. Good lateral thinking though.
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Ender91 on 2011-02-22 00:17:18
VLC is a everything-player....;)
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Burle 17 on 2011-02-23 10:43:40
VLC? That's not a music player is it??

Sadly there are no apis for extracting data from the logitech plugins. Good lateral thinking though.

VLC is a I-can-play-ANYTHING-you-want-player   ;D

And thanks  :D
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Ender91 on 2011-02-23 11:51:32
However, other plugin are able to get info from vlc....maybe you can use them to figure how to do the same in LCDHost...? (they are provided with the source files...)
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Triscopic on 2011-02-23 23:45:52
I am ashamed to admit you wrote VLC and I read VNC. I thought you were talking about streaming sound from another pc via VNC.


Added to my NowPlaying to do list. I will do it, but I can't say when. Breath holding not recommended.
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Ender91 on 2011-02-23 23:59:56
The worst is that you wrote VLC in your post..... ;D
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Litcube on 2011-03-09 04:30:41
Hello, nice job on this.

I might be doing something wrong, but a lot of song names are longer than the screen, so I went in to enable scrolling, but everything disappears.  Is scrolling text supported with this one?
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: novax1 on 2011-03-09 08:39:15
Hello
 I have the same problem when you select the option to scroll all the information disappears winamp
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Triscopic on 2011-03-09 14:13:33
huh. I'll look into it, but there shouldn't be any difference between this and a normal text object... the only real change is that the "enter text" field is removed and is instead populated by a set of api calls to music players. The actual text display stuff ***should*** be completely unchanged.

should.

But clearly, *something* is going wrong. Can you double check that a static text object works as expected if you copy the same text in to it as is displayed in the now playing item please?

ty
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Ender91 on 2011-03-09 17:17:14
Unfortunately, I've the same issue.... no text appear when it's in scrolling mode...
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Litcube on 2011-03-09 17:49:33
Triscopic, as per your request, other text seems to scroll fine.  :)
Title: Re: [Release] LH_NowPlaying (v1.02)
Post by: Triscopic on 2011-03-10 00:28:34
Yes, I've replicated it. I know what the cause is and I'm trying to fix it, but there's problems with getting iTunes to work. I had this problems compiling 1.03 to ship with A15 and the problem has reappeared.
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Triscopic on 2011-03-11 15:56:57
Release Notes:

Updated to 1.04:
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Litcube on 2011-03-11 21:26:17
Hm... 

Is there a way to add a carriage return after the author?  Quite often the author and title don't fit on the same line on a font large enough to read.  I've tried the new scrolling feature, but it doesn't wrap, part of the name is hidden most of the time.
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Triscopic on 2011-03-11 22:07:11
Is there a way to add a carriage return after the author?

I don't think the text class can do line breaks. I will add a note to investigate it though. But I've got a lot of other things on my to-do list, so it won't be soon.
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: SirReal on 2011-03-11 23:32:46
Actually, the text class supports a limited HTML subset, including CSS, images, and yes, linebreaks.
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: OpenAreas on 2011-03-19 00:07:22
Had the same issue. Your update fixed it, thanks. Maybe they should stick it in the main download? The update that is.
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: PipWinsAgain on 2011-03-25 18:38:58
Will definitely use this plug in when VLC is added :P
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Litcube on 2011-04-06 06:30:29
Triscopic,

This might be a snotty question, and it isn't intended as such, but is the source code for this particular plugin lying around this site?  I'd like to add a carriage return on that song name, and possible more information such as length, current time into the song, etc.

I'm an experienced coder, and I'd like to have a bash at it.  I'll send you anything I come up with.

If not, no worries.  Nice work.
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: SirReal on 2011-04-06 12:15:37
Triscopic,

This might be a snotty question, and it isn't intended as such, but is the source code for this particular plugin lying around this site?  I'd like to add a carriage return on that song name, and possible more information such as length, current time into the song, etc.

I'm an experienced coder, and I'd like to have a bash at it.  I'll send you anything I come up with.

If not, no worries.  Nice work.

Links on the home page: http://code.google.com/p/lcdhost/source/browse/
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Triscopic on 2011-04-06 18:55:55
Links on the home page: http://code.google.com/p/lcdhost/source/browse/

^-this

It won't work consistently with winamp or spotify which don't provide you with separate track/artist details, just one string separated with a "-" which of course you can't reliably split on as it's possible a song might include a dash in it's title - as could an artist I suppose.

This is why I've not worked on this: it would make the now playing object less reliable. If you want it for iTunes though, it's trivial.
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Litcube on 2011-04-06 20:48:47
The G19App managed to get the information from winamp, but perhaps he wasn't using the "now playing" api.
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Triscopic on 2011-04-06 20:55:53
There is no "now playing" api. Rather the plugin has to be coded separately for every music application. I haven't implemented the winamp api, rather I just pull the artist/track from the application title, likewise for Spotify (which has no api - not for the free client anyway)
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Wayno on 2011-04-14 07:39:32
i dont know if its my lcdhost or its me, but the song will not scroll anymore and it crashses now. i have the latest winamp

use alpha15 lh_nowplaying 1.03 winamp version 5.61

14/04/2011 1:19:21 PM  WRN  "LH_NowPlaying" unresponsive, restarting
14/04/2011 3:32:23 PM  DBG  "LH_NowPlaying" loaded with 1 classes

chalkboard v0.2 theme

can someone else confirm this?
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Ender91 on 2011-04-14 07:45:33
Dl the latest plugin...(1.04).
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: littlemixi on 2011-04-16 08:44:12
Ender is right.. ;)

Getting here (http://forum.linkdata.se/lcdhost-plugins/release-lh_nowplaying-v1-02/)
Title: Re: [Release] LH_NowPlaying (v1.04)
Post by: Triscopic on 2011-05-07 09:35:08
Release Notes:

Updated to 2.0:
Although I haven't included support for linux the musictracker source code does, so it should be possible to add this if it becomes necessary.


Available with A16
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: novax1 on 2011-05-08 05:49:33
Great work
 Congratulations to all
 are the best ;) ;D
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: h8maintenance on 2011-05-09 13:40:44
Re: J River Media Center - google tells me J River supports MSN Now Playing, but that it might not be on by default. Check the various options and see if you can find it.

FYI, so far I've only had MSN now playing stuff working on my XP, 32bit machine - I'm not sure anything can send or receive now playing details on win7 64bit, just in case that's what you're using.

Hi Triscopic,

Thanks for replying about LH_NowPlaying and JRiver on my layout thread. I'm porting the discussion here for consistency.

Yes indeed there is a MSN PlayingNow plugin for JRiver at :
http://accessories.jrmediacenter.com/mediacenter/accessories.php
I don't use MSN so I never thought to look there. And yes, I have a Win7 64-bit machine and as you suspected, the JRiver 'MSN PlayingNow' plugin does not work with Win7 64-bit  >:( .I guess it's because the .dll has not been signed as I have .NET Framework 1.1 (a prerequisite for this plugin).

There is another plugin for JRiver called 'MSN Messenger' plugin. I installed it successfully but I could not see a way to make it show in LH_NowPlaying. Actually, I don't know if it can work with the LCDHost applet.

There is a third JRiver plugin that I currently use called  'Logitech LCD Manager Display' which works with Win7 64-bit.
http://yabb.jriver.com/interact/index.php?topic=51079.msg348637#msg348637
(http://i22.servimg.com/u/f22/11/52/32/55/th/jriver10.jpg) (http://www.servimg.com/image_preview.php?i=384&u=11523255)
Would it be easy/easier to port this plugin to LH_NowPlaying? I've attached it herein if you have the time or inkling to have a look. I know, I know... I won't be holding my breath  ;) :D.
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: Triscopic on 2011-05-09 18:04:48
Can't use a compiled dll or exe to help my work. Source code is sometimes useful.

I *think* win7 64 doesn't allow *anything* to communicate using the MSN interface. Check to see if you can get now playing data in Windows Live Messenger. If you can it should work with LH_Nowplaying. If not... well if MSN can't receive info using the MSN interface, it's not looking good for anything else is it? ;)

As it stands though, I'm not likely to build support for a paid-for music player unless they have api's that are insanely easy: once the free trial period expires I wouldn't be able to support it any more. And nowhere near as many people are going to find it useful when there are so many great free players like Winamp, foobar200, and yes, even iTunes.

I'm continuting to research why the MSN interface doesn't work and if you find anything interesting (i.e. if you get an MSN interface-based plugin to work with anything) let me know.
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: h8maintenance on 2011-05-10 19:40:24
I was hoping that may be with the dll of one of these plugins, you could have a quick whip at it (I don't have any programming language background and fiddling around can only get me this far...).

I have just tested these plugins with JRiver (on Win7 x64) but not with MSN Messenger. Please correct me if I'm wrong: I thought that if JRiver cannot recognize the plugin, how would another application be able to pull the output out of the player?

I do understand and respect your position about dedicating your time to players that are freely available and have a wider audience. After all, even for my layman's eyes, JRiver's API does not look like something that could be qualified as "insanely easy". On a side note, after a thorough search, I have not found (yet) its equivalent, but lo & behold: beauty is in the eyes of the beholder ;). I would still admit though that one of the two areas that irks me a lot is the views manipulation of the otherwise very rich (too rich?) interface.

I'm continuting to research why the MSN interface doesn't work and if you find anything interesting (i.e. if you get an MSN interface-based plugin to work with anything) let me know
Certainly. I will continue exploring and will let you know if I find anything interesting.
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: h8maintenance on 2011-05-10 21:41:52
I found this post "Sample C# Interface Plugin - Broadcasting Playing Now for MSN" at JRiver's forum:
http://yabb.jriver.com/interact/index.php?topic=39984.0

Would this helps?


(they have a plugin development section in case you'd be interested:
http://yabb.jriver.com/interact/index.php?board=6.0 )
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: Triscopic on 2011-05-10 22:09:03
I found this post "Sample C# Interface Plugin - Broadcasting Playing Now for MSN" at JRiver's forum:
http://yabb.jriver.com/interact/index.php?topic=39984.0

Would this helps?


(they have a plugin development section in case you'd be interested:
http://yabb.jriver.com/interact/index.php?board=6.0 )


Thanks for researching; however, it's not really what I need...

Many media players already support sending info *out* via the "MSN interface" or "MSN protocol". Other programs can then be built to *receive* data using this method. LH_NowPlaying does just that - it listens for any player that tries to send info out in this way. That code is for the sending part, which is what the music player needs to do. If there is a plugin over there it will be for J River - try installing it to J River's plugins list and see if it can talk to LCDHost.

The problem I have right now is that I have never seen *anything* send data using the MSN interface on 64 bit windows. I don't know if 64 bit windows breaks it in some way or if I just haven't looked hard enough.

That means that if you are using 64 bit windows, LH_NowPlaying cannot use the MSN method and can only interface with iTunes and Winamp that have their own, powerful (and complex) protocols that do work on 64 bit windows - unless you can find a plugin for J River that can send data out using the MSN interface that works for you.

Does this help?
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: montymintypie on 2011-05-11 08:12:25
I'm loving the 2.0 update. ;D

However, I'm experiencing 2 bugs:
Opening iTunes crashes the plugin (reloading once iTunes is open is fine though)
Using iTunes again, it seems {artist} returns the album name instead. My custom text is:
Code: [Select]
{artist}{artist?: "}{title}{artist?:"} {status?[}{status}{status?]}
I'd post log data, but the most I can see is:
Code: [Select]
2011-05-11 16:46:10 | .W. | "LH_NowPlaying" unresponsivewhenever it crashes. ???

More than happy to run debug versions if you want help troubleshooting. :)
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: Triscopic on 2011-05-12 12:19:00
It's quite possible I got my "a"s mixed up and have artist returning album and visa versa. I'll look in that later.

The crashing issue is usually because iTunes is slow to answer. I must admit I get this too when I have my iPhone plugged in (I think it checks for iOS updates before deigning to respond to LH_NowPlaying). LCDHost is utterly ruthless in protecting itself from bad plugins so if it the nowplaying plugin is tied up waiting for iTunes to answer it for a couple of seconds LCDHost murders it.

I am planning to move the iTunes code into another thread so that the plugin doesn't stop answering  LCDHost while it waits.

And might I say, one iTunes* user to another, you'll really like NowPlaying 2.1. I hope you've assigned cover art to all your music ;-)

* Cover Artwork works perfectly for iTunes and partially works with Winamp.  iTunes may be a PIA at times but their API for programmers is great.
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: montymintypie on 2011-05-12 12:39:16
And might I say, one iTunes user to another, you'll really like NowPlaying 2.1. I hope you've assigned cover art to all your music ;-)

 :o I am completely OCD when it comes to my artwork. Can't wait! ;D

Please tell me when LCDHost releases that you'll get some of the profits... ;)

Also good to know there's a fix on the way. :)
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: Triscopic on 2011-05-12 12:44:44
I've added two bugs to the bug tracker:
#53: NowPlaying: {artist} returns the album name (http://code.google.com/p/lcdhost/issues/detail?id=53)
#54: NowPlaying: plugin crashes when iTunes is opened (http://code.google.com/p/lcdhost/issues/detail?id=54)

No, I don't do this for money, I do this because I enjoy it. And because SirReal is a very patient teacher. I am going to try not to break any more of his plugins for the rest of this week though...
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: montymintypie on 2011-05-12 12:47:50
No, I don't do this for money, I do this because I enjoy it.
Still wouldn't mind buying you both a beer/coffee for your efforts though. :)

his plugins
Ah, so he created it, you've improved it? Or maybe I'm interpreting this wrong. ???
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: Triscopic on 2011-05-12 12:52:38
NowPlaying, Weather, Monitoring, Dial, Cursor, Graph & the DataViewer are all plugins I can break and not feel guilty about as I created and maintain them.

Sometimes though I get an idea on something that needs to be done in one of the other plugins (like adding full RSS to LH_Webkit).

I was referring to WebKit which I broke, twice, in the last two weeks.
(I love the new silent update feature of LCDHost! I can get away with being stupid and no one needs to know!)
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: Triscopic on 2011-05-12 21:38:45
Using iTunes again, it seems {artist} returns the album name instead.

Ok, I've checked and I definitely do not see this problem.

Have you double checked the file info? And does this problem still exist when you select "Album" and "Artist" instead of "Custom"? The code is definitely correct:
Code: [Select]
album = get_Album()
artist = get_Artist()

So, I'm thinking it's something to do with your track - does this problem apply to *all* your music?
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: montymintypie on 2011-05-13 06:54:13
Have you double checked the file info? And does this problem still exist when you select "Album" and "Artist" instead of "Custom"? The code is definitely correct:

So, I'm thinking it's something to do with your track - does this problem apply to *all* your music?

Every single track. And I'm absolutely certain that my artists and albums aren't labelled incorrectly. ;)

Attached is an image of what I get. Interestingly, selecting 'Album' returns a blank.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-14 00:02:48
2.1 is now out (auto download will update within the hours).

montymintypie: I've built a diagnostic version of the 2.1 build. Replace your local copy with this one and tell me what it reports...
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: montymintypie on 2011-05-14 03:31:29
2.1 is now out (auto download will update within the hours).

montymintypie: I've built a diagnostic version of the 2.1 build. Replace your local copy with this one and tell me what it reports...

Ok, would you believe it that 2.1 fixed the issue? ??? No clue why though... Either way, it all works as it should now!
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: Triscopic on 2011-05-14 09:20:31
Ok, would you believe it that 2.1 fixed the issue? ??? No clue why though... Either way, it all works as it should now!

I'm experiencing 2 bugs:
Opening iTunes crashes the plugin (reloading once iTunes is open is fine though)
Using iTunes again, it seems {artist} returns the album name instead.

To clarify, both issues are now fixed?

Great - but weird. I wrote new code to fix the crash at startup but not for the album/artist bug. Are you using the auto-updated version of the plugin or the debug build?
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: littlemixi on 2011-05-14 09:59:15
Hi Triscopic! Is it possible to read out a cover picture in a mp3? Like in Winamp...
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: montymintypie on 2011-05-14 10:21:32
To clarify, both issues are now fixed?

Great - but weird. I wrote new code to fix the crash at startup but not for the album/artist bug. Are you using the auto-updated version of the plugin or the debug build?

Well, the plugin still crashes sometimes - although now it's sometimes in between song changes. Some of my album art is fairly large (I'm talking 600x600px+) and I think LCDHost is killing it before it has time to extract the whole image from the song.

In the debug build I just got a log filled with Album is: artist is: (with the correct information after all of that). On a crash it doesn't give more than the plugin being unresponsive.
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: Triscopic on 2011-05-14 10:27:43
Hi Triscopic! Is it possible to read out a cover picture in a mp3? Like in Winamp...

No.

For Winamp, LH_NowPlaying only supports cover art via the "folder.jpg". This is a (usually hidden) file in each album's folder. There are a number of tools that will create this if you don't already have it.

I'd like to be able to pull track data out of the MP3 tag, but it would be talking several weeks of work. I might do it eventually, but I have more important things to look into. Sorry.

Well, the plugin still crashes sometimes - although now it's sometimes in between song changes. Some of my album art is fairly large (I'm talking 600x600px+) and I think LCDHost is killing it before it has time to extract the whole image from the song.

In the debug build I just got a log filled with Album is: artist is: (with the correct information after all of that). On a crash it doesn't give more than the plugin being unresponsive.

Ok, I'll have to look into that then. You could be right about there being a delay and this causing the plugin to die - does it say in the log that the pluging is "unresponsive"? Can you try using the "downgrade" button in LCDHost (select the NowPlaying plugin and you'll see a button saying "downgrade to revision 114" in the PLugin details box). This will move you back to the standard release, turning off the debug messages. Then tell me if the artist/album details are still working correctly.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: novax1 on 2011-05-14 10:40:20
hello
 I'm testing the new plugin but nothing shows
 the album art winamp
 Greetings
Title: Re: [Release] LH_NowPlaying (v2.0)
Post by: montymintypie on 2011-05-14 10:41:04
Ok, I'll have to look into that then. You could be right about there being a delay and this causing the plugin to die - does it say in the log that the pluging is "unresponsive"? Can you try using the "downgrade" button in LCDHost (select the NowPlaying plugin and you'll see a button saying "downgrade to revision 114" in the PLugin details box). This will move you back to the standard release, turning off the debug messages. Then tell me if the artist/album details are still working correctly.

I made a backup when I installed the debug version so just restored it when I wanted to go back - the album/artists display correctly in both versions. The crashes are sporadic - it might be a wrong time, wrong place kind of a failure, as I just tried it with multiple large album art songs and no crashes happened. The exact error is:
Code: [Select]
2011-05-14 18:40:37 | .W. | "LH_NowPlaying" unresponsive
Also, I got a lot of these (haven't had any since LCDHost restart):
Code: [Select]
2011-05-14 18:44:07 | D.. | Exception in plugin child thread 3972
No idea if it's related to this or not.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-14 10:46:21
Yes, I suspect it is.

I've never seen that error myself, but in order to stop iTunes causing the "unresponsive" state, I've moved all the iTunes code into a "child thread".

Go back to the debug version then for now, and let me know when you get another crash what the log file shows in the few seconds before it.

*sigh*

I thought I'd fixed it  :(
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-14 16:50:55
I just uploaded a new, awesome screenshot! ;D

What do you think:

(http://www.codeleap.co.uk/lcdhost/lh_nowplaying/screenshot-00.png)

LH_NowPlaying Mission Statement: Be able to create a better media display that the "Logitech G19 Media Display" ;)

Nearly there... nearly there...
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-14 21:16:09
hello
 I'm testing the new plugin but nothing shows
 the album art winamp
 Greetings

Hi Triscopic! Is it possible to read out a cover picture in a mp3? Like in Winamp...
For Winamp, LH_NowPlaying only supports cover art via the "folder.jpg". This is a (usually hidden) file in each album's folder. There are a number of tools that will create this if you don't already have it.

Cover art doesn't come out of the music file. That would takes weeks of extra work. Instead, for Winamp, if the folder the music file is in also has a "folder.jpg" in it, this is displayed.

I have *tried* to get mp3-tag reading set up, but I just cannot get the MP3 tag libraries to work.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: montymintypie on 2011-05-15 00:41:53
I just uploaded a new, awesome screenshot! ;D

What do you think:

LH_NowPlaying Mission Statement: Be able to create a better media display that the "Logitech G19 Media Display" ;)

Nearly there... nearly there...

Nearly there? You've long bested the Logitech Media Display mate. (http://www.3dphoto.net/forum/Smileys/default/z-2thumbs.gif)

Now, I finally got the blighter to crash again - after a night free of crashes I deliberately opened iTunes as my computer was in the struggle time of turning on, forcing a slow response.

And, sadly, LCDHost managed to update the plugin (out of the debug version) just before it crashed. ::)

(omitted stuff that wasn't relevant)
Code: [Select]
15/05/2011 10:31:19 AM  DBG  "LH_NowPlaying" rev 115 loaded with 3 classes
15/05/2011 10:31:20 AM  DBG  iTunes: Preparing to connect
15/05/2011 10:31:20 AM  DBG  iTunes: COM Initialized
15/05/2011 10:31:20 AM  DBG  Version data from "http://www.linkdata.se/lcdhost/version.php?arch=win32" containing 1732 bytes
15/05/2011 10:31:20 AM  DBG  Downloading "http://lcdhost.googlecode.com/files/LH_NowPlaying_win32_R116.zip"
15/05/2011 10:31:21 AM  DBG  Updating "LH_NowPlaying" using "attachment; filename="LH_NowPlaying_win32_R116.zip""
15/05/2011 10:31:27 AM  WRN  Timed out waiting for "LH_NowPlaying" to stop, terminating it
15/05/2011 10:31:27 AM  DBG  Wrote 251904 bytes into "C:/Users/Will/Documents/LCDHost/plugins/LH_NowPlaying.dll"
15/05/2011 10:31:27 AM  DBG  "LH_NowPlaying" rev 116 loaded with 3 classes
15/05/2011 10:31:33 AM  WRN  "LH_NowPlaying" unresponsive

And that's all I got before it crashed.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Wayno on 2011-05-15 03:59:02
LH_Nowplaying is now spamming

15/05/2011 11:55:09 AM  DBG  Clean up skipped
15/05/2011 11:55:09 AM  DBG  Clean up requested: ""
15/05/2011 11:55:09 AM  DBG  Clean up skipped
15/05/2011 11:55:10 AM  DBG  Clean up requested: ""
15/05/2011 11:55:10 AM  DBG  Clean up skipped
15/05/2011 11:55:11 AM  DBG  Clean up requested: ""
15/05/2011 11:55:11 AM  DBG  Clean up skipped
15/05/2011 11:55:11 AM  DBG  Clean up requested: ""
15/05/2011 11:55:11 AM  DBG  Clean up skipped
15/05/2011 11:55:12 AM  DBG  Clean up requested: ""
15/05/2011 11:55:12 AM  DBG  Clean up skipped
15/05/2011 11:55:12 AM  DBG  Clean up requested: ""
15/05/2011 11:55:12 AM  DBG  Clean up skipped
15/05/2011 11:55:13 AM  DBG  Clean up requested: ""
15/05/2011 11:55:13 AM  DBG  Clean up skipped
15/05/2011 11:55:13 AM  DBG  Clean up requested: ""

in log.

also i play all my music from a network and so far no folder.jpg have been displayed. has this been tested over network?
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: littlemixi on 2011-05-15 15:37:53
hm..wired..only iTunes works with the picture.
If I change to Winamp there's no pic.

Wired...and after changing the player or do anything with music classes causes chrashing to LH_NowPlaying  ::)
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: novax1 on 2011-05-16 10:34:56
Hello
 Display an image with iTunes where I can show the cover of the artists individually.
 With winamp yet??
 With this program you can add your entire  cover custom
 The program is free (TagScanner) Multilanguage

http://www.xdlab.ru/en/download.htm

 ;D ;D
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-16 18:17:43
Now, I finally got the blighter to crash again - after a night free of crashes I deliberately opened iTunes as my computer was in the struggle time of turning on, forcing a slow response.

And, sadly, LCDHost managed to update the plugin (out of the debug version) just before it crashed. ::)

"And I would have gotten away with it decent debugging info too if it wasn't for you pesky kids auto-updates"

Okay. I'm going to take a break from NowPlaying's code base for a bit to work on weather translations and then I need to start looking at the planned A17 changes which are extensive. But I'm not forgetting about this. If the crashes get to the point where it's in danger of driving you to violent acts against your PC let me know and I'll prioritise it, otherwise I'll probably not get to work on it until after the next release.


LH_Nowplaying is now spamming in log.

Everything I just said aside, I will look into this. Looks like I've left debugging on in

also i play all my music from a network and so far no folder.jpg have been displayed. has this been tested over network?

Winamp images *should* work over the network, but, and I cannot stress this enough, only if (a) your music is arranged so that each album is in it's own folder and (b) there is a jpeg file called "folder.jpg" in that folder with the album art in it.

Do you definitely have a folder.jpg file in the same folder as the music file you're playing?
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Wayno on 2011-05-16 23:27:02
yes all my music has a folder.jpg in it. still doesnt display it.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Nightchild79 on 2011-05-17 09:35:51
Hi Triscopic,

if is possible to make a "imagemap.txt" file for Play, Paused and Stopped status?

Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Litcube on 2011-05-17 20:37:17
Triscopic,

Awesome modifications to this latest release of Now Playing.  Well done.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-18 13:13:39
yes all my music has a folder.jpg in it. still doesnt display it.
Huh. I'll do some tests over the network and see if I can replicate this issue.

if is possible to make a "imagemap.txt" file for Play, Paused and Stopped status?
It *is* possible and is already on the plan. However I've got some big things up my sleeves which (a) need time and (b) will make the idea of image maps redundant.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: cgrinds on 2011-05-18 16:05:12
make the idea of image maps redundant

<3
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-18 16:45:32
make the idea of image maps redundant

<3

I know how you feel. I've always hated them.

They were always the best *available* solution from a short list of terrible choices.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-18 17:31:05
yes all my music has a folder.jpg in it. still doesnt display it.

I've just released a version which contains a few minor bug fixes. I suspect one of those bags was giving the illusion of preventing the artwork from working over the network so please make sure you have R121 and check again.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Wayno on 2011-05-19 05:23:34
r121 works. it displays the folder jpeg now.


but another issue popped up i am not sure if its to do with this but when i stopped the plugin it stopped spamming the log window.

19/05/2011 1:19:12 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:12 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:12 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:12 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:13 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:13 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:14 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:14 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:14 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:14 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:15 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:15 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:15 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:15 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:16 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:16 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:16 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:16 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:17 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:17 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:18 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:18 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
19/05/2011 1:19:18 PM  DBG  "LH_NowPlaying" finished
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-05-19 09:03:24
Looks more like something to do with the LH_Lg320x240 plugin. If it does this repeatedly please raise a bug in the tracker so SR & I can investigate.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Ender91 on 2011-05-19 21:02:39
Hey, I'm back from vacation...
Awesome update...! Finally album art...(It was worth asking...;)) ;D Building a music-only layout to replace Logitech's app...
However the LH_Lg320x240 plugin is crashing, using 50% of my cpu, so I think there is a bug for SR....
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Wayno on 2011-05-23 06:25:53
ok, the plugin now crashes lcdhost, even after stopping the pluging and restarting it. it fails to load now aswell

23/05/2011 2:12:49 PM  DBG  "LH_NowPlaying" rev 121 loaded with 3 classes
23/05/2011 2:12:49 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:12:49 PM  DBG  "LH_NowPlaying" finished
23/05/2011 2:12:49 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:12:58 PM  DBG  "LH_NowPlaying" rev 121 loaded with 3 classes
23/05/2011 2:12:59 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:12:59 PM  DBG  "LH_NowPlaying" finished
23/05/2011 2:12:59 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:13:06 PM  DBG  "LH_NowPlaying" rev 121 loaded with 3 classes
23/05/2011 2:13:07 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:13:07 PM  DBG  "LH_NowPlaying" finished
23/05/2011 2:13:07 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Nightchild79 on 2011-05-23 20:11:48
LCDHost crashed, when i change TEXT to Scroll (loop) or reverse Scroll (loop)
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-06-03 09:07:26
ok, the plugin now crashes lcdhost, even after stopping the pluging and restarting it. it fails to load now aswell

23/05/2011 2:12:49 PM  DBG  "LH_NowPlaying" rev 121 loaded with 3 classes
23/05/2011 2:12:49 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:12:49 PM  DBG  "LH_NowPlaying" finished
23/05/2011 2:12:49 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:12:58 PM  DBG  "LH_NowPlaying" rev 121 loaded with 3 classes
23/05/2011 2:12:59 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:12:59 PM  DBG  "LH_NowPlaying" finished
23/05/2011 2:12:59 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:13:06 PM  DBG  "LH_NowPlaying" rev 121 loaded with 3 classes
23/05/2011 2:13:07 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"
23/05/2011 2:13:07 PM  DBG  "LH_NowPlaying" finished
23/05/2011 2:13:07 PM  WRN  "LH_Lg320x240" failed to load: "LCDMon.exe is running"

Please raise a bug in the tracker about LH_Lg320x240. You could try deleting the now playing plugin and see if LH_Lg320x240 continues to have problems without now playing being present.

LCDHost crashed, when i change TEXT to Scroll (loop) or reverse Scroll (loop)

Please raise a bug in the tracker. I will investigate this when I have time (too busy atm, sorry)
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Wayno on 2011-07-06 23:15:45
7/07/2011 7:13:34 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 23 - setting to 25
7/07/2011 7:13:34 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 20 - setting to 25
7/07/2011 7:13:34 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 20 - setting to 25
7/07/2011 7:13:35 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 21 - setting to 25
7/07/2011 7:13:35 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 21 - setting to 25
7/07/2011 7:13:35 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 23 - setting to 25
7/07/2011 7:13:36 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 22 - setting to 25
7/07/2011 7:13:36 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 24 - setting to 25
7/07/2011 7:13:36 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 22 - setting to 25
7/07/2011 7:13:37 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 21 - setting to 25
7/07/2011 7:13:37 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 24 - setting to 25
7/07/2011 7:13:38 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 23 - setting to 25
7/07/2011 7:13:38 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 23 - setting to 25
7/07/2011 7:13:39 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 20 - setting to 25
7/07/2011 7:13:39 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 22 - setting to 25
7/07/2011 7:13:40 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 22 - setting to 25
7/07/2011 7:13:40 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 23 - setting to 25
7/07/2011 7:13:40 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 20 - setting to 25
7/07/2011 7:13:41 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 21 - setting to 25
7/07/2011 7:13:41 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 20 - setting to 25
7/07/2011 7:13:41 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 23 - setting to 25
7/07/2011 7:13:42 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 22 - setting to 25
7/07/2011 7:13:42 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 24 - setting to 25
7/07/2011 7:13:42 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 24 - setting to 25
7/07/2011 7:13:42 AM  DBG  "LH_NowPlaying" unloaded
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: BlueDevil on 2011-07-07 00:27:03
Any chance I will see Songbird supported in the future? :D
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Triscopic on 2011-07-07 13:35:16
Any chance I will see Songbird supported in the future? :D

Songbird should be supported via the use of the LiveTweeter plugin I think.

7/07/2011 7:13:42 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 22 - setting to 25
7/07/2011 7:13:42 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 24 - setting to 25
7/07/2011 7:13:42 AM  WRN  "Now Playing (iTunes-Spotify-Winamp) [3]" requested polling interval 24 - setting to 25
7/07/2011 7:13:42 AM  DBG  "LH_NowPlaying" unloaded

I love it when people post such descriptive issues. ;-p

Seriously though, a bug report on the tracker would be great.
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: novax1 on 2011-07-09 17:03:15
Hello
 would be possible to show image in itunes or winamp status
 I and set an example of font txt
 regards
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: Nightchild79 on 2011-07-09 22:55:10
if is possible to make a "imagemap.txt" file for Play, Paused and Stopped status?

It *is* possible and is already on the plan. However I've got some big things up my sleeves which (a) need time and (b) will make the idea of image maps redundant.

Iam the first for this question  ;D

bg
Title: Re: [Release] LH_NowPlaying (v2.1)
Post by: montymintypie on 2011-07-10 03:53:57
Here's an odd one - on alpha 16, when the plugin crashed, I could reload and all was good. Now (alpha 18), if the plugin crashes, I have to restart LCDHost completely for the now playing information to be correct again...

Any thoughts? Also, I'd be happy to retest that verbose version with the internet off (preventing autoupdate) to see why it still keeps crashing, but I'm not sure if that is the latest version.
Title: Re: [Release] LH_NowPlaying (v2.2)
Post by: Triscopic on 2011-07-10 16:13:09
if is possible to make [a status image] for Play, Paused and Stopped status?

would be possible to show image in itunes or winamp status

You'll both be happy to hear that 2.20 is now release which includes this feature. Add a now playing status image & enable conditional formatting.

Attached is a "patch" to the bundled Eos layout which will allow you to see it in action.
Title: Re: [Release] LH_NowPlaying (v2.2)
Post by: novax1 on 2011-07-10 17:28:27
thanks
 works ok  ;D  ;D
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-10 18:37:09
updated to 2.21... changed the way the status image works so it can now work with more than just playing state.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Nightchild79 on 2011-07-10 19:23:46
Youre the Best, Big Thanks for import Image Support.

br
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-07-11 01:01:52
Loving the new features. Now I just need to work out this conditional formatting thing to use the 'now playing' as a data source...(http://www.3dphoto.net/forum/Smileys/default/z-thinking.gif)
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-11 07:54:58
Make sure you look at the eps patch I posted a couple of posts back. It'll update eos now playing to include a play/paused/stopped icon and an iTunes/Winamp icon to show you how it's done
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-07-11 08:03:36
Make sure you look at the eps patch I posted a couple of posts back. It'll update eos now playing to include a play/paused/stopped icon and an iTunes/Winamp icon to show you how it's done

I got that, no way I would've worked it out without the example, thankyou. :) I was more having trouble working out how to get the progress bar to disappear when nothing is playing. Are there more examples out there I could possibly work off?
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-11 09:07:36
The easiest way would be to use the now playing status image:

Move the now playing bar so that it's a child of the status image. Basically you've converted the status image into a page that is visible when a track is available, and is hidden when it's not. You could play around with which item is used to see if you can find something more suitable - perhaps file name would be better then I think the playing bar might be hidden whilst listening to internet radio for example.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-07-11 09:39:41
Ah, the simplest solutions are often the best! That not only solved that problem, but provided a brilliant way to dim the album art (it's behind the rest of my layout) but not dim the background behind that as well when nothing was playing.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-07-11 10:25:53
It is the automatic movement of the text when it exceeds the provisions of the rectangle
 I show you a picture
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-11 21:28:57
It is the automatic movement of the text when it exceeds the provisions of the rectangle
 I show you a picture

I think you're asking for scrolling to happen automatically when required. Not currently supported I'm afraid.

Please submit a request in the tracker if you want a new feature added. Cheers.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Ender91 on 2011-07-12 18:20:47
About scrolling.....using it when required would be really neat...;)
And if instead of looping, it could go backward when reaching the and of the text.......cool too...:)
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-12 22:34:04
About scrolling.....using it when required would be really neat...;)
And if instead of looping, it could go backward when reaching the and of the text.......cool too...:)

Please submit a request in the tracker if you want a new feature added. Cheers.

 :P
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: ZekeTheSquirrel on 2011-07-13 21:55:03
Is there any way to pull the album art from Open Pandora, or am I just out of luck?

Thanks for all the hard work you put into this and your other plugins.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-15 11:16:01
Well, open pandora should be able to work with LCDHost already - look for some setting that will enable "Now Playing" information to be sent to "MSN Messenger".

That said I've not seen the MSN "Now Playing" protocol work for anything (i.e. not just LCDHost) on 64bit windows.  :(
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: ZekeTheSquirrel on 2011-07-20 19:11:14
Ah yes, 64 bit Win, that's probably it. It seems to pick up text just fine at least.

Thanks.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-20 21:27:19
That said I've not seen the MSN "Now Playing" protocol work for anything (i.e. not just LCDHost) on 64bit windows.  :(

I've seen the MSN interface working on my new laptop (which is win7 64 bit) fine.

....

Right, sorry, I'm a prat. I misread your request.

Compatibility chart from the plugin:
(http://lcdhost.googlecode.com/files/NowPlaying_Compat.png)

1 Album artwork is only available from Winamp if the music's folder contains "folder.jpg".

2 Tests suggest the MSN interface does not function under 64-bit Windows.

3 The MSN interface only supports the seperate Artist, Album & Track details, hence players using this system cannot display the progress bar or album art.

Anything that uses the MSN interface is limited to the text items only. So it's working as well as it can.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: reality- on 2011-07-22 00:37:22
I cant get now playying to work with spotify.Works with winamp though. I use class "LH_nowplayin/nowplayingtext".

what can be wrong?
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-22 07:50:45
I cant get now playying to work with spotify.Works with winamp though. I use class "LH_nowplayin/nowplayingtext".

what can be wrong?

They work using different APIs. I would suggest trying something else that uses the MSN api, like VLC, to see if there's a problem with that on your computer. I two pcs and only one of them allows communication over the MSN protocol.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: reality- on 2011-07-22 17:14:50
tried windows media player and it worked.
vlc didnt
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-23 22:31:24
VLC needs you to enable the MSN protocol by hand. But if WMP works then the MSN protocol is working perfectly.

Perhaps Spotify has dropped it? Annoying if it has. Are you using the free or paid for version of Spotify? And are you using an IM client that displays Now Playing info (i.e. have you seen spotify post now playing data to it?)
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-07-24 07:38:33
Winamp is no way that can display the cover art of mp3
 With itunes without being connected to the internet can show added to the cover art mp3
 can be added to winamp shows the cover art.
 I mean
 no internet connection
 the same music that shows the cover art itunes, winamp does not show :( :(
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Ender91 on 2011-07-24 08:48:09
Indeed... Winamp's plugin is looking for a file named "folder.jpg" in the music directory, whereas Itunes is providing the album art.....
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-07-24 08:52:27
itunes delivers the same image without internet connection
 shows the cover art that exists in the mp3
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Ender91 on 2011-07-24 10:47:58
itunes delivers the same image without internet connection
 shows the cover art that exists in the mp3
Not Winamp.... And the Internet connection has nothing to do with it.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-07-24 11:03:23
Sorry it seems I can not understand
 Winamp if you read the jpg folder but does not show LCDhost
 I want to say
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-07-24 21:21:09
1 Album artwork is only available from Winamp if the music's folder contains "folder.jpg".

iTunes & Winamp are really different when it comes to how they "talk" to other programs.

iTunes is *really* helpful. I can ask for the album artwork embedded in the music file and iTunes gets it out and gives it to me. Internet connection or not, it makes no difference.

Winamp doesn't do any of that*. Instead I can only ask winamp for the filename of the current track (e.g. "C:\My Music\Red Hot Chilli Peppers\Blood Sugar Sex Magik\09 - Give It All Away.mp3") then look in the same folder to see if it contains a "folder.jpg" file (e.g.  "C:\My Music\Red Hot Chilli Peppers\Blood Sugar Sex Magik\folder.jpg") since a lot of music players save album artwork in that way. If it is there, then I can show it.

Not as good as iTunes, but it's the best you're ever going to get.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-07-25 09:31:48
1 Album artwork is only available from Winamp if the music's folder contains "folder.jpg".

iTunes & Winamp are really different when it comes to how they "talk" to other programs.

iTunes is *really* helpful. I can ask for the album artwork embedded in the music file and iTunes gets it out and gives it to me. Internet connection or not, it makes no difference.

Winamp doesn't do any of that*. Instead I can only ask winamp for the filename of the current track (e.g. "C:\My Music\Red Hot Chilli Peppers\Blood Sugar Sex Magik\09 - Give It All Away.mp3") then look in the same folder to see if it contains a "folder.jpg" file (e.g.  "C:\My Music\Red Hot Chilli Peppers\Blood Sugar Sex Magik\folder.jpg") since a lot of music players save album artwork in that way. If it is there, then I can show it.

Not as good as iTunes, but it's the best you're ever going to get.

I'm not saying iTunes is bad but its control with the keyboard is mui limited and complicated music selection ::)
 Itunes music download is good  ;)

 winamp for me personally is a better player  ;D
 thanks
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-07-25 13:56:05
one last question on this topic. If the folder. jpg is not. can create the folder?  :-[
 as added
 regards
 thanks  :)
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Ender91 on 2011-07-25 18:17:33
It's not a folder, it's just an image file called "folder.jpg", but yes, yo can, and must, create it manually if it doesn't exist.... ;)
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-10-12 07:06:50
With the release of iTunes 10.5, the media keys are fixed but NowPlaying no longer works - not sure if it's a configuration issue on my end or Apple breaking stuff again.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-10-12 11:02:14
Can someone else test this and confirm? I can't at the moment...
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Ender91 on 2011-10-12 16:05:06
Yep it's working again for the media keys, but seems like the plugin can't connect to iTunes....
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-10-13 03:56:05
Ok. please add it to the tracker and I'll investigate it when I get back from holiday. I expect iTunes has changed one of the items NowPlaying uses to identify the iTunes process.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: D1G1TALD3ATH on 2011-10-20 22:06:50
great work. thanks.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-11-13 10:16:02
the new version of itunes does not work with LH_NowPlaying (v2.21) for G19
 greeting  :-\
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-11-15 11:18:22
Triscopic, probs a good thing you were away and unable to fix the new iTunes. Apple has just released 10.5.1 which works again!

Edit: iTunes now has properly fixed media keys - you actually need to disable Logitech Media Display or it will process every media key press twice.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-11-18 19:06:10
That's good. I saw tonnes of other applications were reporting problems with 10.5 so I was guessing iTunes had a bug.

Can other users confirm 10.5.1 fixes the issue for them?
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-11-18 20:55:03
hello
 the problem persists with 10.5.1 vercion
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-11-19 01:16:47
hello
 the problem persists with 10.5.1 vercion

Make sure NowPlaying hasn't crashed - it sometimes does, and you have to reload the plugin, then reload the layout.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-11-19 06:40:44
hello
 the problem persists with 10.5.1 vercion

Make sure NowPlaying hasn't crashed - it sometimes does, and you have to reload the plugin, then reload the layout.


hello
 the plugin and uploaded it a few times, i installed the program again but does not work with 10.5.1 vercion
 look at the picture, foulbrood itunes does it disable the plugin  :(
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-11-19 07:04:25
hello
 the plugin and uploaded it a few times, i installed the program again but does not work with 10.5.1 vercion
 look at the picture, foulbrood itunes does it disable the plugin  :(

Click on NowPlaying, then press 'Reload', then go to menu and press 'Reload' a couple of times.

Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-11-19 12:13:47
hello
 the plugin and uploaded it a few times, i installed the program again but does not work with 10.5.1 vercion
 look at the picture, foulbrood itunes does it disable the plugin  :(

Click on NowPlaying, then press 'Reload', then go to menu and press 'Reload' a couple of times.

hello
 appears not to understand that and i tried everything and it does not work with the new iTunes vercion
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-11-19 12:24:27
hello
 appears not to understand that and i tried everything and it does not work with the new iTunes vercion

Can I see your log?

What happens when you press 'Reload' for NowPlaying?
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-11-19 12:42:12
novax & monty...

Can you post your specs? I want to know what version of windows your tow have, whether it's 32 or 64 bit and if you are on 64bit windows, whether you have 32 or 64 bit iTunes installed (check to see if it's installed to "c:\Program Files\iTunes" (64 bit) or "c:\Program Files (x86)\iTunes" (32 bit) )

It's weird because I also don't see it working now I've updated to 10.5.1. I've tried several other bits of code and they all still fail.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-11-19 12:47:34
hello
 I have it installed on wimdows 7 32-bit, as shown in the picture
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: montymintypie on 2011-11-19 12:51:15
Can you post your specs?

Windows 7 64 bit
iTunes 10.5.1 32 bit
Intel Mobile Core 2 Duo T7400  @ 2.16GHz
3GB RAM
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-11-19 15:43:09
Wow. Just Wow.

I've worked out what the problem is. iTunes 10.5.0 screwed up my iTunes installation so badly that the 10.5.1 update wasn't able to fix it.

I had to fully uninstall iTunes, reboot and reinstall. iTunes now works perfectly for me.

Novax, I suggest you try that and see if it solves your problem too.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-11-19 18:53:27
Wow. Just Wow.

I've worked out what the problem is. iTunes 10.5.0 screwed up my iTunes installation so badly that the 10.5.1 update wasn't able to fix it.

I had to fully uninstall iTunes, reboot and reinstall. iTunes now works perfectly for me.

Novax, I suggest you try that and see if it solves your problem too.

hello
 have if I can explain it well,
 - And and uninstalled the program
 erased from the register
 appdata deletion
 all clean
 restarted the computer
 and itunes still does not show anything
 thanks anyway
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-11-20 14:37:32
I've done some more research on the problem...

Novax & Monty, could you please answer these questions for me:

1. Do you use UAC in Windows 7?
2. Do you run LCDHost as an administrator?
3. Do you run iTunes as an administrator?

I've noticed that iTunes makes NowPlaying crash when one is running as admin and the other isn't on my computer.
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-11-20 18:29:07
hello
 the UA in the wimdows 7 whichis not
 Lcdhost Run as administrator (yes)
 Itunes Run as Administrator (no)
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-11-20 18:36:09
Try running iTunes as an administrator
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: novax1 on 2011-11-20 18:38:35
It works ok running as Administrator
 thanks  ;D
Title: Re: [Release] LH_NowPlaying (v2.21)
Post by: Triscopic on 2011-11-20 18:39:55
thanks for testing. It's now a known issue - running LCDHost and iTunes with different elevation levels breaks NowPlaying.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2011-11-22 22:19:29
A major update to LH_NowPlaying: now at v3.00

I've taken a week off Skyrim to put this together for you. I have so many other plugin updates on the go... but... Skyrim... is calling me...

Enjoy this update VLC player users (now fully supported) and for Winamp users the whole cover.jpg stuff is no longer used - cover art now comes right out of the mp3 tag.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2011-11-22 23:12:39
hello
 Good update, but the cover itunes or winamp albun not change when changing song
 regards
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Quiquex on 2011-11-23 11:12:24
Since the update to the new version I'm getting a [Stopped] string even if no player is running, wich wasn't happening before.
Using it with Eos Layout template string:

{artist}{artist?: "}{title}{artist?:"} {status?[}{status}{status?]}

Only related logs i see are:
Code: [Select]
23/11/2011 12:06:26  DBG  LibObject::event() : dead event "EventNotify" for "Now Playing"
23/11/2011 12:06:26  DBG  LibObject::event() : dead event "EventNotify" for "Now Playing"
23/11/2011 12:06:26  DBG  LibObject::event() : dead event "EventNotify" for "Now Playing"

Thanks
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2011-11-23 19:42:52
Since the update to the new version I'm getting a [Stopped] string even if no player is running, wich wasn't happening before.

Yeah a typo in the new dll was causing that. Should be fixed now.

the cover itunes or winamp albun not change when changing song

Hmmm. I don't see that in iTunes, but I do see it in Winamp...

<investigating>
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2011-11-23 20:02:29
</investigating>

Found it and fixed it. Your LCDHost should pick up the fix (v3.01) automatically shortly. Although I didn't see the issue in iTunes, I suspect that the bug will be fixed throughout.

Gotta love the auto-update feature of LCDHost. ;D
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2011-11-23 20:08:41
winamp ok
itunes ok
now if it works
 thanks  ;D ;D
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Ender91 on 2011-11-23 21:57:33
Hmmm the song info (title, artist...) doesn't update itself when switching song....
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: FlEXs on 2011-11-23 23:55:17
No Status Images anymore?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2011-11-24 17:32:13
Hmmm the song info (title, artist...) doesn't update itself when switching song....

Huh? In what player? I've not seen that behaviour.

No Status Images anymore?

Hmmm. Good point. Where did they go to? I'll look into it.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Ender91 on 2011-11-24 19:19:10
Hmmm the song info (title, artist...) doesn't update itself when switching song....

Huh? In what player? I've not seen that behaviour.

Ho yeah, i've this issue using Itunes...
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2011-11-25 14:47:17
Done more testing. Still haven't seen this in any of the four main players LHNP supports (Winamp, iTunes, VLC or Foobar).

I need more info...

(a) How often do you see this - always? sometimes?
(b) Does it consistently affect certain tracks? e.g. does it fail to load track data from a specific track every time and just not update?
(c) If you're using winamp and see this issue, what tag data is filled out? ID3v1, ID3v2, etc.
(d) What happens if you reload the layout? Does it update the data then?
(e) What happens if you change tracks manually to another within the album?
(f) What happens if you manually change tracks to another from a different album?
(g) Anything else you can think of that might help me understand why my music collection behaves differently from yours...
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Ender91 on 2011-11-27 16:32:32
Hmmm seems to have disappeared........ the only two issues I've right now are:

   - Now playing not getting the album art from vlc
   - The plugin crashes quite often
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2011-12-07 13:12:20
Can you check out the playlist.xml feed from VLC (e.g. http://127.0.0.1:8080/requests/playlist.xml) and post it here?

My version includes a tag called "art_url" which contains the path to the album artwork (which VLC extracts automatically from the MP3 tag data, or so it seems to me)

Any clues about the crashing? any pattern you can discern?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2011-12-08 08:49:10
hello
 regards
 a great job as always
 There is the option of image status.
 could add
 current track number and total tracks album
 The titles are very long when it moves it does not automatically
 thanks  ;)
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2011-12-08 13:45:31
There is the option of image status.

Yes. The next release will have this. I got it all working over the weekend, and I'm very happy with it - status images work really well for "player name" (e.g. Winamp, Foobar or iTunes etc), playing/paused/stopped, repeat and shuffle and these all have default icons (that you can override) just like the TS3 status images.  It will also work nicely for the "rating" option, but this one has no default icons at the moment.

current track number and total tracks album

Nice idea, but the stack I'm using doesn't support this (i.e. I'd have to write it myself) so it'd be quite some work to get that playing nicely with Winamp, Foobar, iTunes and VLC. I'll have a look at their APIs but I'm not sure it's worth all the effort.

The titles are very long when it moves it does not automatically

Yeah. That's a limitation of the LH_Text object: text is either always scrolling or never scrolling. If/when LH_Text allows for automatic scrolling all the text objects (like RSS titles and Now Playing text) will get the ability too.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Cyc on 2011-12-18 19:00:03
I've been having a couple problems lately... One of them being some kind of bug, the other one is much more a request:
First of all, NowPlaying has been showing up since the startup, while before if there was no player showing it disappeared. It now shows up with a formatted, empty message (i.e. my format is {artist}: "{title}" [{status}], and it shows up as ': "" []' even if no player is running)
Then, I usually use 2 main players, one of them is iTunes which I use to sync with my iPhone, the other one is MediaMonkey, used to actually listen to music (I find its way of handling playlists much better, other than it being customizable with a lot of plugins), which uses Winamp libraries afaik. I often have them both open, and whenever iTunes is open NowPlaying stops parsing MediaMonkey and sticks to iTunes. May you add a way to manually choose which player NowPlaying is parsing?
Thanks!
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-01-06 23:18:10
Yeah, there's a non-customisable "priority" list and at the moment iTunes "outranks" Winamp etc. I was hoping no one would notice that...
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2012-01-11 17:29:57
New features in winamp. ok
 status changed image
 ;D  ;)
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Cyc on 2012-01-14 15:15:18
Yeah, there's a non-customisable "priority" list and at the moment iTunes "outranks" Winamp etc. I was hoping no one would notice that...
Yeah, I did realize that some time ago... Is there any way to actually make that list customizable? Or at least some way to put a chosen player on top of the list, no matter what else is running (I don't really care if LCDHost parses iTunes or VLC once I close Winamp -MediaMonkey in my case-, as long as it shows Winamp on top of everything whenever it's running).
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-01-15 00:21:08
I'll be adding custom priorities in the next version.

On a side note, I did think that if you opened LCDHost first (e.g. on startup) then a lower priority player then opened a higher one it would stick with the first one that was opened. I *thought* the prioity thing was only significant when it has to pick one, e.g. if you open LCDHost (or load the NP plugin) after opening multiple players. Or if you close the current player and still have several others open.

Are you saying NP "jumps" from Winamp over to iTunes when you open iTunes? Because no changes I'm making at the moment will enable jumping from one player to another once NP has "locked on" to one...
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Cyc on 2012-01-15 12:18:11
Well actually that seems to work indeed, and it may be a temporary fix until you get it sorted out, the only problem with this way of handling the priority is that, due to a MM plugin I'm using to sync my iPhone, I have to start iTunes before MM...
I mean, I could live with this way of handling the players priority, but a custom priority list would be the best solution in my case.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-01-15 14:47:48
The important thing to note though is that im not planning on changing the "locking on" behaviour, but it sounds like you might actually want that too. So whatever player you open first LCDHost will watch it alone until you close it regardless of priority. Are you sure changing the priority stuff - which only affects what happens when LCDHost isn't already locked onto a player will help you?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Cyc on 2012-01-15 14:58:49
That indeed wouldn't change much to me. I'll still have to open iTunes first, which means that even if the priority list changes, iTunes would still be the one showed on NP.
I'd need something more dynamic, that could recognize which players are running every moment and show them on NP based on the priority list, not being locked on one of them.
So it's up to you really, I can live without NP showing MM or using the 'locked on startup' workaround, if you're going to add a custom priority list while keeping the 'locking on' behaviour I appreciate that but it wouldn't really help me.
Thanks anyways!
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Hakker on 2012-01-16 14:00:33
using Foobar quite a lot I can say that neither of the wrappers work that great. half of the time info don't get displayed in lcdhost. Sure it shows Winamp (as it is a wrapper) but beyond that no trackinfo or things like that :(
dug a bit further. If you start winamp first and then foobar after it it does work. Running foobar alone doesn't.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-01-16 18:09:39
That indeed wouldn't change much to me. I'll still have to open iTunes first...

Ok, next release of NP will allow you to turn off reading data from specific players if you really don't want to watch them. How does that sound?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-01-16 18:21:20
using Foobar quite a lot I can say that neither of the wrappers work that great. half of the time info don't get displayed in lcdhost. Sure it shows Winamp (as it is a wrapper) but beyond that no trackinfo or things like that :(
dug a bit further. If you start winamp first and then foobar after it it does work. Running foobar alone doesn't.

Anyone else see this?

Are you saying if you open winamp then close winamp then open foobar it works?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Cyc on 2012-01-16 18:39:57
Ok, next release of NP will allow you to turn off reading data from specific players if you really don't want to watch them. How does that sound?
That'd be it, thanks!
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Hakker on 2012-01-18 16:30:19
using Foobar quite a lot I can say that neither of the wrappers work that great. half of the time info don't get displayed in lcdhost. Sure it shows Winamp (as it is a wrapper) but beyond that no trackinfo or things like that :(
dug a bit further. If you start winamp first and then foobar after it it does work. Running foobar alone doesn't.

Anyone else see this?

Are you saying if you open winamp then close winamp then open foobar it works?
Most of the times. Also the plugin does crash a lot though. been using it 10 days and crashed 12 times so far :( i will keep on testing seeing if I can give more info

Ok tested some more. stability of the plugin itself is still an issue and Foo_Winamp_spam is the main problem. The plugin is so outdated (not being updated for years) that it has tons of problems I would suggest removing all info for even using it and only mention Rainmeter. On another note: the source of Foo_Winamp_spam is posted on github since a week, dunno if there is some interest in it though You can get the source at GitHub (https://github.com/Chronial/foo_winamp_spam).
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Hakker on 2012-01-20 20:01:46
Also found out that it conflicts with AMIP (the irc plugin). It seems to me all info gets sent then to the AMIP plugin and for some reason only spams it to the first plugin that requests it. I doubt it is fixable but it might be helpful :)
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-01-21 11:36:16
Also the plugin does crash a lot though. been using it 10 days and crashed 12 times so far  i will keep on testing seeing if I can give more info

Yes, It's in my to-do list, but I didn't write most of the source code for this plugin - I don't have the time (or desire) to master all the different APIs, so I prefer to find other open source code and adapt it to LCDHost. That makes bug fixing harder. Worse still the code is perfectly stable when run in development environment. It only plays up once it's compiled for release, which makes pinning down the cause of the issues a mountain sized task.

Also found out that it conflicts with AMIP (the irc plugin). It seems to me all info gets sent then to the AMIP plugin and for some reason only spams it to the first plugin that requests it. I doubt it is fixable but it might be helpful :)

Yes that sounds more like problem with the API itself and just can't be resolved.

Does the rainmeter plugin work better? (Although I realise that will stop it working with IRC)
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: tobearu on 2012-02-19 10:19:48
I would like to retain track info for a track *when it has stopped playing*.  This way, I'll know what would be played if I press the media key.  It also stops parts of a layout from disappearing when playback ends.  Using the Eos Music layout as an example, it gets pretty empty if you push stop.

Not asking for something that can detect tracks that are loaded but not playing; that's probably complicated with all the different players out there.  It could just be an option not to clear the variables if the status goes to "stop", and maybe clearing them all if there's no player.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Hakker on 2012-02-19 17:03:34
Also the plugin does crash a lot though. been using it 10 days and crashed 12 times so far  i will keep on testing seeing if I can give more info

Yes, It's in my to-do list, but I didn't write most of the source code for this plugin - I don't have the time (or desire) to master all the different APIs, so I prefer to find other open source code and adapt it to LCDHost. That makes bug fixing harder. Worse still the code is perfectly stable when run in development environment. It only plays up once it's compiled for release, which makes pinning down the cause of the issues a mountain sized task.

Also found out that it conflicts with AMIP (the irc plugin). It seems to me all info gets sent then to the AMIP plugin and for some reason only spams it to the first plugin that requests it. I doubt it is fixable but it might be helpful :)

Yes that sounds more like problem with the API itself and just can't be resolved.

Does the rainmeter plugin work better? (Although I realise that will stop it working with IRC)
somehow missed the reaction. Anyways Rainmeter is in my opinion better dll to use. As for IRC basically every plugin will break that. It something API releated and not LCDhost plugin related. The stability issue does remain for both Nowplaying as well as Drivestats. At this time of writing they have now crashed 37 and 32 times and I think but don't pin me to it that it has to do with initial startup of the machine where it goes wrong. Once I load them they generally keep working.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2012-03-06 12:29:19
when you select the image to display the thumbnail size is huge
 show an image
http://imageshack.us/photo/my-images/818/tamaoimagen.png/
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: SirReal on 2012-03-06 13:08:18
Lol, thanks. That's a bit too big, indeed. I know why, it's related to one of the bug fixes in A23. I'll add a bug report for that.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2012-03-08 12:16:13
hello
 I try to put different images of the player status, stop, Paused
 mepueden have to say that according to this written where I show image.
 to work well. all I'm no use to me thanks.
can give an example :(
(http://img20.imageshack.us/img20/8153/playerpz.png) (http://imageshack.us/photo/my-images/20/playerpz.png/)
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-03-08 18:22:32
I would like to retain track info for a track *when it has stopped playing*.  This way, I'll know what would be played if I press the media key.  It also stops parts of a layout from disappearing when playback ends.  Using the Eos Music layout as an example, it gets pretty empty if you push stop.

Not asking for something that can detect tracks that are loaded but not playing; that's probably complicated with all the different players out there.  It could just be an option not to clear the variables if the status goes to "stop", and maybe clearing them all if there's no player.

What player are you using?

I try to put different images of the player status, stop, Paused
 mepueden have to say that according to this written where I show image.
 to work well. all I'm no use to me thanks.
can give an example :(

You need to write conditions. Eos shows you how.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: tobearu on 2012-03-10 03:36:39
Ah, sorry for not specifying.  I primarily use Winamp, so I don't know the behavior with the other players.  I do know it's a non-issue for iTunes though, since it lacks the stop function all together...

I was trying to imitate the effect with what's available, but there seems to be no good way to store data values.  I also found the logic box somewhat non-intuitive, just wanted to do something like "if [input 1] equals x, output [input 2]; otherwise output 0" but it doesn't seem to be capable of that?  Or does that require staggering/nesting logic boxes?  I guess I'm used to thinking in terms of conditional programming logic.  Sorry for going off-topic, but there seems to be neither source nor forum thread for the LogicBox plugin.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Hakker on 2012-03-11 14:17:01
Found a bug. I don't know if it's Rainmeter/Foobar or Nowplaying plugin related but here it goes.

With foobar you can use cue sheets to play mix cd's better for some reason LCDhost only shows the first song and time for the first track. It does however fill my progress bar with each new song in the cue sheet but it's based of the first song.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-03-18 16:47:09
Ah, sorry for not specifying.  I primarily use Winamp, so I don't know the behavior with the other players.  I do know it's a non-issue for iTunes though, since it lacks the stop function all together...

Ah right. It's built to differentiate between "paused" (I might want to resume this later) and "stopped" (I'm finished playing music). I can't remember if the whole API works that way or if it's just my implementation of it. I'll look into it eventually, but it won't be for a while. You might want to raise a bug in the tracker.

I was trying to imitate the effect with what's available, but there seems to be no good way to store data values. 

No, currently all the plugins are meant to show you current data. I don't currently have any plan to implement anything to store and display "out-of-date" values.

I also found the logic box somewhat non-intuitive, just wanted to do something like "if [input 1] equals x, output [input 2]; otherwise output 0" but it doesn't seem to be capable of that?  Or does that require staggering/nesting logic boxes?  I guess I'm used to thinking in terms of conditional programming logic.  Sorry for going off-topic, but there seems to be neither source nor forum thread for the LogicBox plugin.

Yes, logic boxes don't have a way to force the output to another input, although I've been thinking about that.

Found a bug. I don't know if it's Rainmeter/Foobar or Nowplaying plugin related but here it goes.

With foobar you can use cue sheets to play mix cd's better for some reason LCDhost only shows the first song and time for the first track. It does however fill my progress bar with each new song in the cue sheet but it's based of the first song.

I'm almost certain that's a problem in the plugin. Sorry.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2012-04-26 18:03:12
You need to write conditions. Eos shows you how. winamp

impossible to find a way to change the images no longer have to try more.
 Please could say to change explaining the images. that is not where
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: yatzee on 2012-05-07 14:30:23
LH_NowPlaying: Foobar detected with no API plugin loaded.

I got this Error, and the Plugin does nothing. (Sidenote: the foo_rainmeter.dll does no longer exist...Edit: Found it and Installed it but still doesnt work ...)
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Jarth on 2012-05-23 20:30:40
I have recently started using the feature, LH_NowPlaying.

I use it with VLC, 2.0.1.
Web-interface enabled. (I cannot setup the web-interface in this version, other than on/off).

It transfers the time/timeplayed/left.. but not the title and/or filename to show.
As i recall it were the same just before i upgraded VLC.
Anyone els got the problem?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Litcube on 2012-12-13 14:10:03
Hey, cool guys!

My Now Playing plugin doesn't load on startup of LCD Host 87% of the time.  I have to manually hit the "load" button in the list of installed plugins.  Any idea why?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Triscopic on 2012-12-13 16:25:11
Not really. I see this behaviour myself.

I think it's related to the way LCDHost protects itself against hung threads: some of the api calls it makes are slow to respond and fall fowl of LCDHost's hanging detection. I think.

What players do you have installed?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Litcube on 2012-12-13 17:49:50
Just Winamp.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: xdevilx2 on 2013-04-17 18:28:53
I have a slight Problem.
Only a few of my Tracks are Displayed.
For the other Tracks is [Playing] displayed.

Pls help :)
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: micpt on 2013-04-18 11:46:12
maybe the tracks have no ID3 information ?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2013-04-18 12:54:16
micpt is right maybe the tracks. some do not. have information.
the would have to add.
with this free program. can put all the info you want.
I use to customize my entire MP3 collection.

http://www.xdlab.ru/en/download.htm
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: xdevilx2 on 2013-04-18 18:39:33
nope,
it didnĀ“t work :(
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: micpt on 2013-04-19 10:59:24
check if there is a diffrence between a good track (Info is displayed) and a bad one.

it can be only the tracks ...
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: krappo on 2013-05-30 19:12:02
Hey, cool guys!

My Now Playing plugin doesn't load on startup of LCD Host 87% of the time.  I have to manually hit the "load" button in the list of installed plugins.  Any idea why?


mee too this but dosent load 100% of time.
very annoying
Any help on this would be much appreciated   :)
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Virtual86 on 2013-06-27 16:49:17
Hi Guys.

On the Plus side, Alpha 34 does run again on my machine (first attempt, anyway) - thank you very much!

On the Minus side: The NowPlayingAlbumArt is still not working right.  When a track is playing (Winamp), the correct album art is shown is shown.  However, when the Player is stopped, or not running at all, it Shows some static or a distorted part of the remaining LCDHost Screen.  This started somewhere around A29, I think - not absolutely sure, though. It was still alright in A25, which was the last stable build for me.

Example of current Display attached.
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: novax1 on 2013-06-28 06:36:21
if you look at this link the problem is the same, wait for a solution

en este post
http://forum.linkdata.se/topicseen./lcdhost-layouts/lhnowplaying-678.msg4731.html#new

Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Stinglock on 2013-07-23 03:37:31
Any chance this plugin could support this https://github.com/untamed0/Untamed-Now-Playing plugin for chrome?

It would allow now playing data to be accessible for a lot of streaming media sites. Namely pandora.
It supports outputting to a txt file with basic variables as well as album art downloading.


EDIT: Just been playing around with the dataviewer plugin a bit and it seems to be possible to get it to display this now playing info. Would still be great to see these plugins work together.




Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: MacrosoftWord on 2016-11-20 03:19:35
So I know that LCDHost is basically abandoned, but I was trying to figure something out for Now Playing. I used to use winamp as my player which worked fine, but recently I started using Spotify. After some searching I have a question: does NP work with Spotify at all, or should I just give up trying to get the two to work?
Title: Re: [Release] LH_NowPlaying (v3.00)
Post by: Reaper116 on 2016-11-26 14:01:59
judging from lcdhost you can only get the album art and track name, but there looks to be a spotify plugin for winamp if you want to go back and give that a shot