Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread erland

ericj;332064 Wrote: 
 I think the easiest solution is to get custom browse to simply give me a
 listing of my music folder.I've read the docs, but can't quite
 figure out how to configure the directly where a custom browse view
 should start.   I am hoping for a little hint.
 Thanks in advance.
Since I don't have a MusicIP configuration up and running at the
moment, I've no way to test how the database looks in a configuration
like yours.

Could you install the Database Query plugin and create a new free form
query with the following SQL statement:

Code:


  select id,url from tracks where content_type='dir'
  



Does this query return any directories when you you execute it in your
library where you don't have a music folder configured ?

If this query lists all directories in your setup, I think there might
be a solution. If it doesn't list any directories, I think you will
have a hard time getting the music folder menu to work.

The Custom Browse music folder menu is just a link to the standard
SqueezeCenter music folder menu, which requires these directory entries
in the database. Without them the Music Folder menu in SqueezeCenter
won't work. So if you don't see any directory entries with the above
query in Database Query plugin, the only way to get this to work is to
develop a third party plugin that add the necessary directory entries
to the database. This shouldn't be too hard for someone who knows perl
or is willing to learn perl, but it will require some development.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=50495

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Dynamic Menus with Custom Scan

2008-08-25 Thread erland

The easiest is to use the Dynamic Tags menu type. This will not give
you a static browse structure, instead you will get a menu where you
can browse these tags in any order you want. The disadvantage of this
solution is that it results in a bit deeper menu since it will have an
intermediate menu level between each tag where you select which tag to
browse next.

If you just want to try out the feeling, you can try browsing with the
built-in Tags menu which should be available as soon as you have
scanned once with the Mixed Tag scanning module in Custom Scan.

If you really want this static menu which you describe, there is no
problem to do it as long as there always is a group of works, the
problem is when you want to remove the group of works level. This
will require you to customize the XML configuration yourself. If you
like to do this the Genre/SubGenre menu type does something similar
with genres, so it might be worth looking at. However, please note that
this can be a bit complex to accomplish, so it won't be an easy task.

I won't make any pre-defined template for this based on the static menu
configuration, but it might be possible to make the Dynamic Tags menu
a bit better in a future release.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=51439

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread pippin

Since you installed MIP according to the installation instructions in
the Wiki I assume you turned off the Music Folder (you did NOT enter a
path to your Library in Basic Settings-Music Folder). Right?
Just point this one to the top level folder of your music collection
and you will be fine, the Music Library menu item will show up in the
Library Menu. No need to use Custom Browse.
The library scan will take a little bit longer but on the other side
you can also access stuff that MIP has not yet finished analyzing
(which sometimes takes a while on my system).
This does NOT interfere with MIP's operation.


-- 
pippin

---
see iPeng at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=50495

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread Phil Meyer
My goal is to add a music folder menu using custom browse.  To get
MusicIP to work, it looks like I cannot have a string in the SC music
folder settings.   


The MusicIP plugin as it stands now is more of an export than an import 
plugin.  It exports info from MusicIP into SC, rather than SC importing 
information from MusicIP.

If you don't set an SC music path, SC will just depend on information from 
MusicIP.
You can also define an SC music path, and SC will scan all music on this path, 
and then export info from MusicIP and merge it into the SC library.  It means 
the music is effectively scanned twice.

I saw absolutely no benefits in MusicIP being the only source for music in SC:

1. MusicIP import (actually the plugin calls it export) is very slow compared 
to SC scanning.
2. MusicIP doesn't understand tags as well as SC scanner.  i.e. doesn't allow 
multiple genres, artists, album artists. sorting.  I think other tags like 
lyrics, comments, composer, band, etc are not imported too.
3. MusicIP understands less music formats (m4a, m4p, mp3, wma, ogg, flac and 
wav on Windows).
4. Instead of one No Album for all music without an album tag, MusicIP 
creates many Miscellaneous albums.  Similar problems exist for no genre, no 
artist, etc.
5. It does the whole scan every time, rather than find only new songs.

I thought it seemed totally wrong for SC to use MusicIP as the master source 
for music.  MusicIP adds the benefit of defining what songs are mixable, but 
that's it.


So I tweaked the plugin and provided a patch on an enhancement request.  It 
provides an extra option in the MusicIP settings page Read Song Data.  If 
this is unticked, the SC scanner will only ask MusicIP whether songs are 
mixable.  It only does this for songs that it doesn't already have the mixable 
status for, and thus is a lot quicker.  It doesn't corrupt SC tags with MusicIP 
weirdness.

http://bugs.slimdevices.com/show_bug.cgi?id=5637

I think the developers might look at the patch I provided for inclusion in SC 
7.3.

Phil
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread pippin

Phil,

would it be possible to distribute your patch as a separated plugin in
the meantime, that is: the patched plugin? Could be called Super MIP
plugin or something and become obsolete when the functionality is
merged into 7.3.

Think that would be useful for a lot of people (including myself), and
the license allows for it.

Or it the MIP plugin to deeply linked into the SC code?


-- 
pippin

---
see iPeng at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=50495

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread Michael Herger
 Or it the MIP plugin to deeply linked into the SC code?

It is indeed one of the ugly examples where we do have some references to it in 
various places of the code. But I hope to start working on MIP/7.3 really soon. 
7.2 will be finalized this week.

-- 

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread Phil Meyer
I could create a zip of my Slim/Plugin/MusicMagic folder and host on my website 
for people to download and replace their copy.  I run from SVN - would this 
approach work with the installed app environment/nightly downloads?

Phil
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread pippin

Philip Meyer;332233 Wrote: 
 I could create a zip of my Slim/Plugin/MusicMagic folder and host on my
 website for people to download and replace their copy.  I run from SVN
 - would this approach work with the installed app environment/nightly
 downloads?
 
 Phil

Can you send it to me? I'll try it out.
coolio att penguinlovesmusic dott com


-- 
pippin

---
see iPeng at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=50495

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


[SlimDevices: Plugins] Favorites Error

2008-08-25 Thread ChrisNY

When I try to edit my favorites, the server hangs and I get no response.
Looking at the log, here's what I am seeing:
[08-08-25 09:40:12.8762] Slim::Networking::IO::Select::select (250)
Error: Select task failed: Can't locate object method hotkeys via
package Slim::Plugin::Favorites::OpmlFavorites at
/usr/share/perl5/Slim/Plugin/Favorites/Plugin.pm line 721.

I am running 7.10 on Ubuntu Server.

Any thoughts?


-- 
ChrisNY

ChrisNY's Profile: http://forums.slimdevices.com/member.php?userid=5004
View this thread: http://forums.slimdevices.com/showthread.php?t=51488

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Favorites Error

2008-08-25 Thread bpa

Search is your friend - this has been reported a number of times. and
cause is usually an old copy of Weather Time plugin.


-- 
bpa

bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=51488

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread erland

Philip Meyer;332233 Wrote: 
 I could create a zip of my Slim/Plugin/MusicMagic folder and host on my
 website for people to download and replace their copy.  I run from SVN
 - would this approach work with the installed app environment/nightly
 downloads?
 
I'm pretty sure they would have to re-install your patch after each
upgrade to a new SqueezeCenter nightly. If the installation works
correctly it should overwrite everything in Slim/Plugin, which I
believe it does. It works with svn since svn doesn't overwrite files,
instead it merges the local changes with the updated central changes.

As you probably know it can't be installed in the third party Plugins
folder, it only works when installed in Slim/Plugin because the
scanner currently has a hardcoded dependency to Slim/Plugin/MusicMagic.
There is no way to avoid that until something like the patch provided
with 'enhancement request #6023'
(http://bugs.slimdevices.com/show_bug.cgi?id=6023) has been
implemented.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=50495

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


[SlimDevices: Plugins] XM radio not working from web GUI

2008-08-25 Thread Nonreality

It works fine from the SB3 remote but none of the play or add buttons do
anything from the Web interface.  It looks normal, just doesn't do
anything.  I've saved a couple of channels to favorites and they work
fine. I'm using 7.2 22588 and XM 2.0 plugin.  Just wondering if anyone
else has had this happen.  I'll probably update the 7.2 and then clear
caches and all that.  Oh yeah, Windows XP


-- 
Nonreality

-IF THE RULE YOU FOLLOWED BROUGHT YOU TO THIS, OF WHAT USE IS THE RULE.-

HTTP://www.last.fm/user/nonreality

Nonreality's Profile: http://forums.slimdevices.com/member.php?userid=15723
View this thread: http://forums.slimdevices.com/showthread.php?t=51502

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Is there a plugin to briefly display clock while playing?

2008-08-25 Thread Nonreality

Apesbrain;330969 Wrote: 
 @)p(
 I installed SaverSwitcher, but I can't figure out how to get it to do
 what I'd like: normally show Analog VU Meters while playing, but show
 Date/Time screensaver for 5 seconds if I press 0.  Then automatically
 go back to Analog VU.  Is that possible?
I couldn't get it to do anything.  The instructions don't seem to line
up with my version of SC 7.2 Does anyone have it running with 7.2?


-- 
Nonreality

-IF THE RULE YOU FOLLOWED BROUGHT YOU TO THIS, OF WHAT USE IS THE RULE.-

HTTP://www.last.fm/user/nonreality

Nonreality's Profile: http://forums.slimdevices.com/member.php?userid=15723
View this thread: http://forums.slimdevices.com/showthread.php?t=51285

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Dynamic Menus with Custom Scan

2008-08-25 Thread Michi20

Thank you very much for your quick answer.

The Dynamic Tags menu is not really a solution. It is too complicated
for my wife, I guess :-)

So I will try to customize the XML configuration for myself.

BTW, I think that my problem is not really uncommon. I have hundreds of
classical CDs and I think it is very reasonable to group works together
in a GROUPOFWORKS-Tag. If I don't do this and say have a menu like

Composer - Works

then e.g. for Mozart there are 41 Symphonies, 27 Piano concertos, 18
piano sonatas etc. This tends to be really cluttered if there is no
intermediate menu Group of works. But on the other hand, there are
works which do not belong to a group of works, e.g. the Divertimento KV
131, so it doesn't make sense to set this GROUPOFWORKS-tag for every
file.

Michi


-- 
Michi20

Michi20's Profile: http://forums.slimdevices.com/member.php?userid=14909
View this thread: http://forums.slimdevices.com/showthread.php?t=51439

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin that updates rating in id3 tag directly

2008-08-25 Thread Nonreality

erland;331855 Wrote: 
 TrackStat will never be able to write directly to the music files, the
 main reason is the risk of trashing someones music if there is a bug in
 the code.
 
 If someone else likes to write a plugin that write to the music files,
 it is possible to hook into the TrackStat rating hooks.
I'm not sure that many will like a plugin that can write to their tags.
As you said the risk of messing up a lot of hard work.


-- 
Nonreality

-IF THE RULE YOU FOLLOWED BROUGHT YOU TO THIS, OF WHAT USE IS THE RULE.-

HTTP://www.last.fm/user/nonreality

Nonreality's Profile: http://forums.slimdevices.com/member.php?userid=15723
View this thread: http://forums.slimdevices.com/showthread.php?t=50697

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread Phil Meyer
I'm pretty sure they would have to re-install your patch after each
upgrade to a new SqueezeCenter nightly. If the installation works
correctly it should overwrite everything in Slim/Plugin, which I
believe it does. It works with svn since svn doesn't overwrite files,
instead it merges the local changes with the updated central changes.

Good point.  Guess I'm used to running from SVN these days.

What would happen if the files were made read-only?  Would that prevent an 
upgrade from overwriting them?

As you probably know it can't be installed in the third party Plugins
folder, it only works when installed in Slim/Plugin because the
scanner currently has a hardcoded dependency to Slim/Plugin/MusicMagic.
There is no way to avoid that until something like the patch provided
with 'enhancement request #6023'
(http://bugs.slimdevices.com/show_bug.cgi?id=6023) has been
implemented.

I thought there was something special with the plugin, but didn't know exactly 
what the issue was.

I think Michael said he was planning on looking at things like that as soon as 
7.2 was finished.

Phil
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Is there a plugin to briefly display clock while playing?

2008-08-25 Thread peterw

Nonreality;332389 Wrote: 
 I couldn't get it to do anything.  The instructions don't seem to line
 up with my version of SC 7.2 Does anyone have it running with 7.2?

Have what running? I've got SaverSwitcher running just fine on my SC
7.2 system. The web instructions are a wee bit off for SC 7.2 (the SC7
screensaver settings are now under Settings - Display, and the
Plugins menu is now labeled Extras), but it should work fine with
SC 7.0 through SC 7.2 at least. Make sure you have at least one of the
9 slots set to a timed value (not Manual/Disabled). And make sure you
have SaverSwitcher's button control enabled if you want the ability to
tap a numbered button to switch screensavers.

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver ContextMenu FuzzyTime PlayLog
PowerCenter/BottleRocket 
SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions
VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=51285

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Potential Solution for MusicIP/Music Folder Problem

2008-08-25 Thread ericj

First, thanks to all for your comments.   They have been extraordinarily
helpful and generous.

Second, I concur that having MusicIP and the Squeezeserver scans
operate independently is a good thing.

Finally, Pippin's comment got me to thinking.  I had installed MusicIP
with no music library (as documented in the wiki), and that is what I
wanted to use CustomBrowse to address.  

When I tried to enter my library as Pippin had suggested, I found that
the MusicIP scan would hang.   After some thought, a penny dropped, and
I remembered that I had some flac's with embedded cue sheets that might
have been a problem.   The log was very ambiguous.  I did use metaflac
and a find command to remove the cue sheets and everything is hunky
dory, at least to date.  I have my Music Folders back.

For Erland, I did want to report that his Music Folders custom browse
entry did show my entire system.   I think this way would have worked
out, but don't need it as of now.  I am a big fan and will use Custom
Browse for my Classical and Opera collection.

Thanks to all for all the help.  This is an amazing community
My entry on the cue sheet problem, and how to fix it, in case anyone
runs into the same problem is here: 
http://forums.slimdevices.com/showpost.php?p=230426postcount=9


-- 
ericj

ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230
View this thread: http://forums.slimdevices.com/showthread.php?t=50495

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Album Catalog Creator 1.0

2008-08-25 Thread slydog75

SilverRS8;331527 Wrote: 
 I hope I have some time this week but this is my last working week
 before my holiday so what I can say for sure is that I do all fixes
 late third week of september.
 
 Sorry for the late fixing but I just have no free time lately

hey, I'm not going to complain, it's not like I paid anything for this
cool little app!


-- 
slydog75

slydog75's Profile: http://forums.slimdevices.com/member.php?userid=17619
View this thread: http://forums.slimdevices.com/showthread.php?t=48096

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Favorites Error

2008-08-25 Thread ChrisNY

Thanks.  I updated it today and an back in business.


-- 
ChrisNY

ChrisNY's Profile: http://forums.slimdevices.com/member.php?userid=5004
View this thread: http://forums.slimdevices.com/showthread.php?t=51488

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins