PDA

View Full Version : Music IP Mixer help



Ultraviolet
2009-08-26, 09:51
I'm running the newest non-beta version of SC and MiP isn't working at all (there's no "M" in Squeezecenter nor is there an option to create a mix on the Duet remote). I think I know why though and am looking for a way to make this work. I'm running 32-bit XP and have exceeded the 2tb volume limit for my music. Because Squeezecenter only allows one to enter a single folder for a music path, I created a folder with nothing in it but shortcuts. This worked fine for Squeezecenter, but Music IP apparently does not follow shortcuts. When music IP is pointed directly at the various folders, it analyzes fine, but (after making sure the API service is started) Squeezecenter is oblious of MiP. I'm assuming this is because MiP has different paths to the files than Squeezecenter.

So, does anyone have a solution to this problem?

BTW, I did have MiP and Squeezecenter working fine together before I was forced to use shortcuts after exceeding 2tb.

Philip Meyer
2009-08-27, 15:00
MiP and SbS should still be seeing the same physical music path.

Although SbS will follow links, it stores the file url to the physical files.

MiP can pointed directly to several music paths, and will have the same physical file paths.

If you haven't already done so, you may find it better to set MiP plugin "Use MusicIP" preference setting to "only read mixable status from MusicIP (faster)". Then, for every track that is in the SbS music library, it will query MusicIP to determine if the file url is mixable or not, rather than try to import MusicIP data into the SbS Music Library.

Can you see your music within MusicIP GUI? Have you configured MiP to run headless (server running without GUI)? If so, have you tried using the MusicIP WebUI, to ensure it is seeing the same MusicIP cache library?

Phil

Ultraviolet
2009-08-28, 08:27
Thanks for the response Phil. I do have the MiP plugin set to "only read mixable status from MusicIP (faster)". I am able to see all the tracks in the MiP GUI and they are all analyzed. I am not running headless simply because I used to generate mixes directly within MiP and I just left it setup as is. I do occasionally have to start the MiP API service manually, then start Squeezecenter, but I've had success with this for quite some time. As this is running on a dedicated file server that is pretty much up 24/7, it's not really that much of a hassle for me. What's odd, is this problem seemed to manifest itself after I had to point Squeezecenter to a directory containing only shortcuts. I gather that this can't be the problem though?

"If so, have you tried using the MusicIP WebUI, to ensure it is seeing the same MusicIP cache library?"

How would I do this? Is this something that can only be done if I'm running MiP headless?

Philip Meyer
2009-08-28, 12:53
>What's odd, is this problem seemed to manifest itself after I had
>to point Squeezecenter to a directory containing only shortcuts. I
>gather that this can't be the problem though?
Shouldn't be, if the shortcuts point to the same phyical file location as MIP.
SqueezeCenter reads the path that the shortcut points to, and stores file urls pointing at that location.

My setup does exactly this, although all shortcuts are to folders on the same harddisk partition.

>"If so, have you tried using the MusicIP WebUI, to ensure it is seeing
>the same MusicIP cache library?"
>
>How would I do this? Is this something that can only be done if I'm
>running MiP headless?
>
I believe the WebUI only works on the MiP headless server. It's quite easy to set up - I'd recommend running MiP headless.
There's instructions on a website somewhere; quite easy to follow.

Have you tried looking through the SqueezeCenter log file to see if there are any error reports? You could try increasing the log level for plugin.musicip in Settings > Advanced > Logging.

When you run a scan, how quickly does the MiP scan phase take?

Wirrunna
2009-08-28, 16:14
Ultraviolet, I've got the same setup as you - 32Bit XP, MusicIP running with the GUI and "watch folders", Squeezecenter using shortcuts and it all works. The only time it doesn't is if after a server re-boot Squeezecenter has started before MIP. Then it is simply a matter of stopping Squeezecenter and then starting it again.

sander
2009-10-06, 20:39
Does anyone know how to change the watch folders from the headless mode? I set it up on my readynas and I wasn't getting the 'm' either, but this thread showed me the error of my ways.
I changed the path (they're the same with symlinks anyway) but now I have duplicate entries of everything.

TIA

Ultraviolet
2009-10-17, 08:50
Unfortunately, I am still unable to get this working. I gave up for a while, did a complete uninstall of MiP and Squeezecenter and a fresh install of both (now running 7.4 r28672).

Squeezebox Server is pointed to a single folder "C\Squeezecenter Library" that contains 30+ shortcuts to music folders on multiple drives--all are local drives/arrays. MiP is pointed to each folder (30+) directly. The folders are located on volumes E:\ and G:\. All songs are analyzed in MiP. Likewise, Squeezebox Server also has all the tracks in the MySQL database. I am completely unable to get MiP info into Squeezebox Server however.

Here is my setup: (Of particular note, is that this exact same setup has worked perfectly for over a year until I had to point Squeezebox Server to a folder of shortcuts after I exceeded the 2tb volume limitations on a 32-bit Win XP system.)

MiP v1.9 beta 6 full GUI install. The API service is started and verified as running before starting Squeezebox Server. Squeezebox Server is v7.4 r28672, but the MiP problems preceeded this version. The MiP plugin is set to "only read mixable status from MusicIP (faster)". I have tried disabling the plugin and re-enabling it multiple time to no effect. I have tried unticking the "only read mixable status from MusicIP (faster)" and doing a full rescan as well. Once, I saw a status on the Squeezeserver scanner that said MusicIP import (0 of xxxxx), but it never went beyond that, it never errored or crashed or reported anything that I could find in the logs and I left it like that for several days. It just hung indefinitely.

I'm out of ideas and would love advice on how to remedy this. MiP playlists are my number one use of the Squeezebox Duet and the Squeezebox Server software and I really miss it.

Has Logitech ever given any thought to snapping up the MiP code and officially implementing it? I think that would be a huge product feature.

mherger
2009-10-17, 09:21
> install of both (now running 7.4 r28672).

Make sure you're running the latest 7.4.1 build as there was a potential crasher in 7.4 with MIP.

Ultraviolet
2009-10-18, 09:59
Ok, did a full rescan with 7.4.1 and still have no luck. I don't believe this has anything to do with the 7.4 release. This occurred during the 7.3 or earlier release and coincided exactly with using shortcuts.

Here's something from the server log file that at leasts mentions MusicMagic:

frame 10: PerlSvc::_interactive (slimserver.pl line 0)
frame 11: (eval) (slimserver.pl line 0)

[09-10-17 13:44:28.1720] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: Sort aborted [for Statement "SELECT me.id, me.name, me.namesort, me.musicmagic_mixable, me.namesearch, me.musicbrainz_id FROM contributors me LEFT JOIN contributor_album contributorAlbums ON contributorAlbums.contributor = me.id WHERE ( contributorAlbums.role IN ( ?, ? ) ) GROUP BY me.id ORDER BY me.namesort LIMIT 24945"]
[09-10-17 13:44:28.1724] Slim::Schema::Storage::throw_exception (82) Backtrace:

frame 0:

And this is from the scanner log:

Slim::Music::Import::runImporter (567) Starting Slim::Plugin::MusicMagic::Importer scan

That's the last line.

Wirrunna
2009-10-18, 15:02
Squeezebox Server is pointed to a single folder "C\Squeezecenter Library" that contains 30+ shortcuts to music folders on multiple drives--all are local drives/arrays. MiP is pointed to each folder (30+) directly. The folders are located on volumes E:\ and G:\. All songs are analyzed in MiP. Likewise, Squeezebox Server also has all the tracks in the MySQL database. I am completely unable to get MiP info into Squeezebox Server however.

Here is my setup: (Of particular note, is that this exact same setup has worked perfectly for over a year until I had to point Squeezebox Server to a folder of shortcuts after I exceeded the 2tb volume limitations on a 32-bit Win XP system.)


Ultraviolet, this appears exactly the same as my setup that works, which is as follows:
In MIP the Watchfolders are F:\Music and G:\Classical

In SqueezeCenter (7.3.4 - 28402) the Music Folder is F:\SqueezeCentre Music

F:\SqueezeCentre Music contains two shortcuts, created by right click> New > Shortcut then following the Create Shortcut gui. They are "Classical music from G" with a target of G:\Classical and "Music from F" with a target of F:\Music .
In F:\Music are 27 directories of music (why so many? Because each directory refers to the physical location of the CDs and also keeps MP3 and FLAC separate) In G:\Classical are 3 directories.

All I can suggest is try deleting and re-creating your shortcuts and re-scan.

Edit:
If that doesn't work, pick the smallest directory of music and set it as a single directory in Settings, SqueezeCenter Music Folder - no shortcuts (should be a much quicker scan, do a clear library and rescan everything}.
If that works, create a "C:\Little Library" and add a shortcut to the single small directory, point the SqueezeCenter Music Folder to the C:\Little Library and do a clear and rescan. If that works, away you go.
If all that didn't fix it, you may have to try just the single directory in MIP until you get it to work.

Ultraviolet
2009-10-19, 17:53
Still not working. I have some log snipits from two attempts if anyone can translate. I turned log level to debug for the MusicIP plugin.

Two things I just noticed: Squeezeserver tells me my scan is finished, but the scanner log is continuing to grow (because it is still scanning apparently). The other thing I noticed is that the Information tab on the control panel says, "No status information available. Please note the Squeezebox Server has to be up and running in order to display its status information." I'm currently listening to music though, so I'm fairly sure it's up and running...

[09-10-17 13:44:28.1720] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: Sort aborted [for Statement "SELECT me.id, me.name, me.namesort, me.musicmagic_mixable, me.namesearch, me.musicbrainz_id FROM contributors me LEFT JOIN contributor_album contributorAlbums ON contributorAlbums.contributor = me.id WHERE ( contributorAlbums.role IN ( ?, ? ) ) GROUP BY me.id ORDER BY me.namesort LIMIT 24945"]
[09-10-17 13:44:28.1724] Slim::Schema::Storage::throw_exception (82) Backtrace:


[09-10-19 19:19:20.9688] Slim::Plugin::MusicMagic::Importer::initPlugin (91) Testing for API on localhost:10002
[09-10-19 19:19:21.1617] Slim::Plugin::MusicMagic::Importer::initPlugin (100) MusicIP Mixer. Version 1.9
[09-10-19 19:19:36.7968] Slim::Web::HTTP::protectURI (2436) Error: Slim::Web::HTTP::protectURI() is deprecated - please use Slim::Web::HTTP::CSRF->protectURI() instead
[09-10-19 19:19:36.7971] Slim::Web::HTTP::protectURI (2436) Backtrace:


[09-10-19 19:24:35.1264] Slim::Plugin::MusicMagic::Plugin::initPlugin (257) Testing for API on localhost:10002
[09-10-19 19:24:35.1266] Slim::Plugin::MusicMagic::Plugin::initPlugin (271) MusicIP Mixer. Version 1.9
[09-10-19 19:24:41.5938] Plugins::CustomScan::Scanner::refreshData (1832) CustomScan: Synchronizing Custom Scan data, please wait...
[09-10-19 19:24:45.1615] Plugins::CustomScan::Scanner::refreshData (2140) CustomScan: Synchronization finished
[09-10-19 19:33:50.0971] Slim::Networking::SqueezeNetwork::Players::_player s_error (241) Unable to get players from SN: Connect timed out: Bad file descriptor, retrying in 300 seconds

Ultraviolet
2009-10-20, 17:19
Here's the latest log:

[09-10-20 04:48:09.6094] Slim::Music::Import::runImporter (567) Starting Slim::Plugin::MusicMagic::Importer scan
[09-10-20 04:48:09.6097] Slim::Plugin::MusicMagic::Importer::initPlugin (91) Testing for API on localhost:10002
[09-10-20 04:48:09.6312] Slim::Plugin::MusicMagic::Importer::initPlugin (100) MusicIP Mixer. Version 1.9
[09-10-20 04:48:09.6314] Slim::Plugin::MusicMagic::Importer::useMusicMagic (71) Using musicip: MusicIP Mixer. Version 1.9
[09-10-20 04:48:09.6316] Slim::Plugin::MusicMagic::Importer::startScan (148) Start export
[09-10-20 04:48:09.6318] Slim::Plugin::MusicMagic::Importer::exportSongs (265) MusicIP mixable status scan for all songs not currently mixable

Any idea what the last line means specifically? All the tracks in MiP are analyzed. There are tracks that are in Squeezeserver that are not listed in MiP. Does that matter?

Wirrunna
2009-10-20, 18:49
I don't believe this has anything to do with the 7.4 release. This occurred during the 7.3 or earlier release and coincided exactly with using shortcuts.

Have you eliminated the shortcuts as I suggested in an earlier post? -
"If that doesn't work, pick the smallest directory of music and set it as a single directory in Settings, SqueezeCenter Music Folder - no shortcuts (should be a much quicker scan, do a clear library and rescan everything}.
If that works, create a "C:\Little Library" and add a shortcut to the single small directory, point the SqueezeCenter Music Folder to the C:\Little Library and do a clear and rescan. If that works, away you go.
If all that didn't fix it, you may have to try just the single directory in MIP until you get it to work. "

mherger
2009-10-21, 05:38
You should upload your full server.log, not only a few snippets.

Phil Leigh
2009-10-21, 05:50
how many music files (tracks) do you have?

Phil Leigh
2009-10-21, 05:59
[09-10-17 13:44:28.1720] Slim::Schema::Storage::throw_exception (82) Error: DBI Exception: DBD::mysql::st execute failed: Sort aborted [for Statement "SELECT me.id, me.name, me.namesort, me.musicmagic_mixable, me.namesearch, me.musicbrainz_id FROM contributors me LEFT JOIN contributor_album contributorAlbums ON contributorAlbums.contributor = me.id WHERE ( contributorAlbums.role IN ( ?, ? ) ) GROUP BY me.id ORDER BY me.namesort LIMIT 24945"]


Why is the query result set being limited to 24945 rows?

Ultraviolet
2009-10-24, 08:30
Where would I upload my full server log to?

I have no idea why the query is limited to a certain number of rows.

I have a large library: nearly 500,000 tracks with about a 50/50 mix of lame vbr mp3 and FLAC.

Wirrunna, I'm going to give your idea of trying on a single folder a shot now. I'll post the results.

Wirrunna
2009-10-24, 16:31
Wirrunna, I'm going to give your idea of trying on a single folder a shot now. I'll post the results.

What I'm getting at is there might be something screwy with your shortcuts.
You can test the shortcut by double clicking on the shortcut in Windows Explorer and Explorer should display the directory referenced by the shortcut.

Setting Squeezecentre to a directory will eliminate / confirm that MIP and Squeezecentre work.