PDA

View Full Version : WaveInput not working on players



bzlrbi
2014-03-20, 06:58
I've used WaveInput frequently, and for years, without ever having a problem until now. Looking at my Controller, or at the Web interface, and at the Server Settings everything looks fine, e.g. the time counter is working. However, looking at my players (2 Transporters) the time counter is stuck at 0:00

I've uninstalled and reinstalled the app, and rebooted everything, all without success.

Looking at the server log, I'm seeing the following error, with these two "GLOB" values, repeating over and over. I don't know how to deal with this, however, or if it's relevant.


[14-03-19 17:35:57.0038] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x7b9b824)
[14-03-19 17:35:57.0044] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x80d7904)

I've made no changes to my network, computer, or to LMS recently. It's just stopped working.

The plugin is vital to my listening habits, so I'll wipe out everything, and start from scratch if I have to, but of course I'd rather not!

LMS 7.7.3, Vista here.

Thanks!

bpa
2014-03-20, 07:52
Enable player.source logging to DEBUG (it is in WebUI Settings/Advanced/logging ) - don't forget to click Apply.

Note start time, then try playing the waveinput Favorite you use. Wait for about 1 minute and then stop stream and note time.

Copy all the lines from server log file between start and stop time into a text file (do not omit anything), zip the text file and attach to a post.

bzlrbi
2014-03-20, 08:23
Enable player.source logging to DEBUG (it is in WebUI Settings/Advanced/logging ) - don't forget to click Apply.

Note start time, then try playing the waveinput Favorite you use. Wait for about 1 minute and then stop stream and note time.

Copy all the lines from server log file between start and stop time into a text file (do not omit anything), zip the text file and attach to a post.

Thanks! I'll try it tonight and get back.

bzlrbi
2014-03-20, 18:17
I think the lines after "pause" are likely superfluous but I've included them anyhow.
Thanks!

bpa
2014-03-21, 02:13
The log shows the WaveInput plugin was not requested to do anything so either
1. WaveInput plugin is no longer installed
2. The Favorite to initiate WaveInput is corrupt
3. You copied text from the wrong point in the log

When wavin is started, the log should look somehting like the following (this is a Linux log so not exactly like Windows)



[14-03-21 09:03:50.6881] Slim::Player::Song::new (108) index 0 -> wavin:hw:0,0
[14-03-21 09:03:50.6883] Slim::Player::Song::new (150) live=1
[14-03-21 09:03:50.6884] Slim::Player::StreamingController::_setStreamingSt ate (2487) new streaming state TRACKWAIT
[14-03-21 09:03:50.6887] Slim::Player::StreamingController::_playersMessage (789) Getting stream info...: wavin:hw:0,0
[14-03-21 09:03:50.6891] Slim::Player::Song::getNextSong (229) wavin:hw:0,0
[14-03-21 09:03:50.6892] Slim::Player::Song::getNextSong (251) scanning URL wavin:hw:0,0
[14-03-21 09:03:50.6896] Slim::Player::Song::getNextSong (229) wavin:hw:0,0
[14-03-21 09:03:50.6898] Slim::Player::StreamingController::_nextTrackReady (737) 00:04:20:22:00:d9: nextTrack will be index 0
[14-03-21 09:03:50.6899] Slim::Player::StreamingController::_eventAction (271) 00:04:20:22:00:d9: NextTrackReady in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_Stream
[14-03-21 09:03:50.6901] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
[14-03-21 09:03:50.6902] Slim::Player::StreamingController::_Stream (1213) 00:04:20:22:00:d9: preparing to stream song index 0
[14-03-21 09:03:50.6903] Slim::Player::Song::open (363) wavin:hw:0,0
[14-03-21 09:03:50.6907] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-alc-fab4-00:04:20:22:00:d9
[14-03-21 09:03:50.6918] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-alc-*-00:04:20:22:00:d9
[14-03-21 09:03:50.6919] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-alc-fab4-*
[14-03-21 09:03:50.6921] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-alc-*-*
[14-03-21 09:03:50.7068] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wma-fab4-00:04:20:22:00:d9
[14-03-21 09:03:50.7069] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wma-*-00:04:20:22:00:d9
[14-03-21 09:03:50.7070] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wma-fab4-*
[14-03-21 09:03:50.7072] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wma-*-*
[14-03-21 09:03:50.7073] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wmap-fab4-00:04:20:22:00:d9
[14-03-21 09:03:50.7074] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wmap-*-00:04:20:22:00:d9
[14-03-21 09:03:50.7075] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wmap-fab4-*
[14-03-21 09:03:50.7077] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wmap-*-*
[14-03-21 09:03:50.7078] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wmal-fab4-00:04:20:22:00:d9
[14-03-21 09:03:50.7079] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wmal-*-00:04:20:22:00:d9
[14-03-21 09:03:50.7080] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wmal-fab4-*
[14-03-21 09:03:50.7082] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-wmal-*-*
[14-03-21 09:03:50.7083] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-aac-fab4-00:04:20:22:00:d9
[14-03-21 09:03:50.7084] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-aac-*-00:04:20:22:00:d9
[14-03-21 09:03:50.7085] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-aac-fab4-*
[14-03-21 09:03:50.7087] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-aac-*-*
[14-03-21 09:03:50.7088] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-spt-fab4-00:04:20:22:00:d9
[14-03-21 09:03:50.7089] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-spt-*-00:04:20:22:00:d9
[14-03-21 09:03:50.7091] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-spt-fab4-*
[14-03-21 09:03:50.7092] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-spt-*-*
[14-03-21 09:03:50.7093] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-ogg-fab4-00:04:20:22:00:d9
[14-03-21 09:03:50.7094] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-ogg-*-00:04:20:22:00:d9
[14-03-21 09:03:50.7096] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-ogg-fab4-*
[14-03-21 09:03:50.7097] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-ogg-*-*
[14-03-21 09:03:50.7098] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-flc-fab4-00:04:20:22:00:d9
[14-03-21 09:03:50.7099] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-flc-*-00:04:20:22:00:d9
[14-03-21 09:03:50.7101] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-flc-fab4-*
[14-03-21 09:03:50.7102] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wavin-flc-*-*
[14-03-21 09:03:50.7103] Slim::Player::TranscodingHelper::enabledFormat (198) Checking to see if wavin-flc-*-* is enabled
[14-03-21 09:03:50.7104] Slim::Player::TranscodingHelper::enabledFormat (206) There are 1 disabled formats...
[14-03-21 09:03:50.7106] Slim::Player::TranscodingHelper::enabledFormat (212) Testing mp4-aac-*-* vs wavin-flc-*-*
[14-03-21 09:03:50.7107] Slim::Player::TranscodingHelper::checkBin (239) enabled
[14-03-21 09:03:50.7108] Slim::Player::TranscodingHelper::checkBin (241) Found command: [arecord] -d0 -c2 -f S16_LE -r 44100 -twav -D $FILE$ | [flac] -cs --totally-silent --compression-level-0 -
[14-03-21 09:03:50.7110] Slim::Player::TranscodingHelper::getConvertCommand 2 (370) Rejecting [arecord] -d0 -c2 -f S16_LE -r 44100 -twav -D $FILE$ | [flac] -cs --totally-silent --compression-level-0 - because required capability T not supported:



I suggest the following
1. Check the Settings/Plugins tab and make sure there is a tick mark against the WaveINput plugin. Note the version and whether the Settings links works. Report back version and whether settings link works.
2. Look at the WaveInput favorite and report back the URL .
3. Redo the test again with logging enable. To make sure of log note time, play a few secs from file, stop and then play waveinput favorite and then stop and note time. Copy log from start of music file to when waveinput is paused.

bzlrbi
2014-03-21, 06:31
I suggest the following
1. Check the Settings/Plugins tab and make sure there is a tick mark against the WaveINput plugin.

**It is/was

Note the version (**1.05) and whether the Settings links works. Report back version and whether settings link works.

**I'm not sure if I'm understanding "whether the Settings links works". Perhaps there is enough information here, this time.

2. Look at the WaveInput favorite and report back the URL .

http://127.0.0.1:9000/plugins/Favorites/index.html?sess=1&index=0&player=00%3A04%3A20%3A10%3A12%3A7bplayer=00:04:20: 10:12:7b

3. Redo the test again with logging enable. To make sure of log note time, play a few secs from file, stop and then play waveinput favorite and then stop and note time. Copy log from start of music file to when waveinput is paused.

**Just to make sure... at the Web UI, I'm at the Advanced tab. There is a "logging" dropdown box at the very top of the page: nothing changes there. Then, under Advanced Log Settings, I changed the dropdown box for "(server.plugins)" from its default of "Error" to "Debug". Most of the other dropdown boxes remain set at their default of "Error". Then, "apply" and "Close". I go to Favorites at the Web UI, click Play, and the time counter does start (while it still doesn't on either of my two Transporters). I did this twice, with seemingly vastly different server log results. 1st time, 9:04am: After 1 minute, 45 secs I paused. The server log information is certainly different, this time. It's short enough that I'm pasting below. The second time (9:19am, for 30 seconds) is much longer log detail and is attached.

Slim::Player::StreamingController::_CheckSync
[14-03-21 09:04:01.1966] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x883df2c)
[14-03-21 09:04:01.2985] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x883df2c)

**Yesterday, before I posted here, I deleted WaveInput from my computer, and from Favorites and reinstalled it. No change to problem was noted.

I note that neither of my log results look anything like your example. I *think* I'm following your directions however.

THANKS.

bpa
2014-03-21, 07:32
The URL used to start the WaveInput plugin must begin with "wavin:" - so what you have posted is not correct - you must edit the Favorites menu to see the URL you are trying to use to start the plugin..

From the log it looks you've enabled the logging ok but it's just there was no activity logged as if you did nothing except press the pause key during the period of the log shown.

bzlrbi
2014-03-21, 07:46
The URL used to start the WaveInput plugin must begin with "wavin:" - so what you have posted is not correct - you must edit the Favorites menu to see the URL you are trying to use to start the plugin..

**Under "favorites" it's "wavin:0" (and has always been). The URL I posted was by right clicking, and going to "properties"; it's the html address.

From the log it looks you've enabled the logging ok but it's just there was no activity logged as if you did nothing except press the pause key during the period of the log shown.

**No idea why it looks this way, but I assume that this is The Problem. I am pressing Play, I'm pausing, I'm copying/pasting the log information.

Again, the symptoms are: everything looks just as it always has on the Web UI; nothing abnormal. But, different storyon my players, themselves. The LED shows "wavin:0" as always, but the time counter never starts. I'm guessing that the WaveInput is fine, and it's LMS that's causing this.

As said, I've used WaveInput for years, and never had an issue until 2 days ago. I didn't make any changes that should have caused anything to stop working.

bpa
2014-03-21, 10:58
**No idea why it looks this way, but I assume that this is The Problem. I am pressing Play, I'm pausing, I'm copying/pasting the log information.

Again, the symptoms are: everything looks just as it always has on the Web UI; nothing abnormal. But, different storyon my players, themselves. The LED shows "wavin:0" as always, but the time counter never starts.
If by LED you mean the display then it seems to imply that the Favorite you are playing has the URL "wavin:0" - in which case there must be something in the log file.

How are you looking at the log file ? Are using an editor ? If you are using the WebUI then I guess you are not looking back far enough. As I suggested please repeat the test with an actual music file that plays


I'm guessing that the WaveInput is fine, and it's LMS that's causing this.
This make no sense - the plugin is part of LMS.


As said, I've used WaveInput for years, and never had an issue until 2 days ago. I didn't make any changes that should have caused anything to stop working.

You have to change your mindset - if there were no changes then it would still be working. Something has changed - it won't work until you figure out what has changed. This measn checking each part separately

You said you made no changes - yet you uninstalled and reinstalled the plugin. Was the application registered (something like wavincmd.exed) with your security application before and if so have you re-registered the WaveInput application with your security s/w ? Does the Waveinput application run OK from a command prompt ?

bzlrbi
2014-03-22, 11:07
If by LED you mean the display then it seems to imply that the Favorite you are playing has the URL "wavin:0" - in which case there must be something in the log file.

How are you looking at the log file ? Are using an editor ? If you are using the WebUI then I guess you are not looking back far enough. As I suggested please repeat the test with an actual music file that plays

**I'm going through the link on the LMS Control Panel, but I also went to C:\ProgramData\Squeezebox\Logs and I see the same information. Time on the logs matches exactly with playing and pausing from the Web UI.


This make no sense - the plugin is part of LMS.

**Ok, fair enough. What would I know?

You have to change your mindset - if there were no changes then it would still be working. Something has changed - it won't work until you figure out what has changed. This measn checking each part separately

**I said *I* haven't made any changes. Whether something else made a change? No idea.

You said you made no changes - yet you uninstalled and reinstalled the plugin. Was the application registered (something like wavincmd.exed) with your security application before and if so have you re-registered the WaveInput application with your security s/w ? Does the Waveinput application run OK from a command prompt ?

**I uninstalled only when the described symptoms played out, i.e. when it did not work. I automatically re-installed via the Web UI/settings/plugins page, as I've done before. Everything looks fine there. I checked security software and I don't see anything that should prevent it from playing; no need (or way) to register as far as I can tell; to make sure I disabled security software; no difference.

**I just gave myself a crash-course on dos commands and got to the .exe file at C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins\WaveInput\Bin. I enter >wavin2cmd.exe -o (based on information I'm seeing on the dos screen), and it seems to accept this, but no music is heard. Is this how I would run it from a command prompt?

**Attached is a new log, with an mp3 file playing; confirming that "player.source" was set to Debug. This certainly looks a lot more involved than what I posted before. (I also notice a dropdown box under logging for waveinput: should we try something with this, perhaps?)

Thanks!

bpa
2014-03-22, 13:49
This time the log file show that WaveInput plugin is being called and it starts the command. Afterward the error message start which could mean the command line has failed for some reason.

How to you runs LMS ? Is it started as manually, on user login or as part of system startup. IIRC waveInput does not work with the "start on system startup" (i.e. as a background service) because service application have no access to audio interfaces.

bzlrbi
2014-03-22, 15:57
Glad you have more information to work with; I must've done something wrong before...

I start LMS via desktop shortcut icon after system has been booted. Sometimes right after, sometimes not for a while, i.e. it varies. Nothing new, here, for me.

For yucks and grins I just did an xilink reset to my primary Transporter (while other players were off), but still nothing (i.e. the wavin clock on the Transporter doesn't start).

bpa
2014-03-23, 03:05
I don't run Windows normally but IIRC the shortcut was a LMS control panel and not LMS.

If it is the control panel it offer 3 optiosn on how to run LMS - what is set on your system ?

Mnyb
2014-03-23, 03:20
There is a difference between starting LMS and bringing up the web interface , sorry if i made stupid remark . But historically some people thinks LMS starts when they see the web-UI

bzlrbi
2014-03-23, 06:04
I don't run Windows normally but IIRC the shortcut was a LMS control panel and not LMS.

If it is the control panel it offer 3 optiosn on how to run LMS - what is set on your system ?

"Don't start automatically".

bpa
2014-03-23, 06:22
"Don't start automatically".
Still not enough detail to eliminate this area as a possible cause.

What version of LMS, what version of Windows and what security s/w - I'll see if I can find a windows PC and install LMS so I can ask a more detailed question.

bzlrbi
2014-03-23, 07:29
I appreciate it very much!

from Control Panel information tab:

LMS version 7.7.3
"CUT2013" (don't know what this means)
Operating system: Windows Vista - EN - cp1252
Platform Architecture: 586
Perl Verision: 5.14.1 - MSWin32-x86-multi-thread
Database Verion: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
------------

security software: AVG Anti-virus FREE. I'm not using their firewall, using Vista's instead. I have both SqueezeCenter and "wavin2cmd.exe" checked as "exceptions" "... to allow communications through the firewall."

bpa
2014-03-23, 07:46
I'm not using their firewall, using Vista's instead. I have both SqueezeCenter and "wavin2cmd.exe" checked as "exceptions" "... to allow communications through the firewall."

wavin2cmd.exe does not use internet but to many security s/w it looks like a trojan or a similar suspicious program as it communicate internally with LMS - so you must mark it and LMS as trusted or whatever term is used by AVG.

bzlrbi
2014-03-23, 08:00
I just checked, and the wavincmd.exe file was already noted in AVG as OK ("exceptions"), apparently . I added SqueezeSvr.exe to the list.

I then applied, stopped LMS, restarted. No change.

bpa
2014-03-24, 13:42
I can get an error very similar to your log if there is no recording devices setup.
Have you checked the Control Panel / Manage Audio devices and ensured that the "Stereo Mix" / "What U hear" / "Wave Out Mix" / "Audio Mix" / "Wave" (or whatever the copy audio facility is called on your system device) is enabled ?

Use the following: Control Panel > Sound > Manage Audio Devices > Recording (only Mic & Line In showing) Right click in the window, select "show disabled devices" to see if the "Stereo Mix is there - if it is disabled then that is probably the problem.

bzlrbi
2014-03-24, 17:24
Onto something here... I had updated drivers a couple weeks before the problem, essentially to utilize a s/pdif output that didn't have a driver. The update correctly got me the s/pdif driver, but seemingly made the "stereo mix" driver vanish. There is nothing to activate!

I'll investigate. Thanks!

bzlrbi
2014-03-24, 19:52
Wow. This appears to be a real problem. If you google "no stereo mix driver vista" you'll see what comes up. It's apparently a big deal that lots of manufacturers (including Dell) have intentionally ommitted the Stereo Mix drivers. I'm guessing that I had an outdated XP driver on my Vista machine, but when I updated the sound drivers it deleted the Stereo Mix one. Apparently it's not easy to get it back! I'm concerned that I can't have both a driver for SPDIF and for Stereo Mix, so that (assuming I can figure out how to go back to the outdated driver) I have to choose either/or. I'd rather have WaveInput over the SPDIF, if it comes down to it, since WaveInput allows me to stream throughout the house, wirelessly. It just sucks that I might have to make the choice.

PS I see this has come up before:
http://forums.slimdevices.com/showthread.php?35718-Announce-Wave-Input-plugin-v1-00/page58&highlight=stereo+mix+driver

bzlrbi
2014-03-24, 20:31
Got it! I got the drivers from the Realtek site, so Stereo Mix, and WaveInput is back! After initial trouble, I got SPDIF back, too!

Thanks!