Re: [SlimDevices: Plugins] TrackStat and iTunes Statistics Import

2009-08-09 Thread ElMuto

Hi Erland, let me mention, how much I like your plugin. You are doing a
great job!

Thanks for the fast reply. It lead me to where really the problem was
and I have to correct myself: the problem I described *is* related to
special characters in the file path:

My own sed-based workaround for the special-char-problem generated a
non-well-formed xml file:

transformation.sed:
s/&/&/g
s/%5B/\[/g
s/%5D/\]/g

Log file entry:
[09-08-08 19:52:45.7814] Plugins::CustomScan::Scanner::exitScanTrack
(1707) CustomScan: Failed to call exitScanTrack on module
Plugins::TrackStat::Plugin->itunesimport:
not well-formed (invalid token) at line 18, column 41, byte 817:
Track ID3040
NameDream Machine (Down
Tempo Mix)
ArtistMark Farina & Sean
Hayes
^

I got rid of all the 'No matching alternative path found' messages, but
ignored the error message above. Bugger! The songs with imported rating
have been imported *before* I implemented this workaround. 

Deactivating my sed script leads me back to the problem described in
Thread "CustomScan - iTunes statistics import notworking". In this
thread I haven't found a hint how to excactly deal with those characters
like '[]&' in my filenames.
Nevertheless, focussing (as advised) on the plugin.trackstat-messages,
I found out, that for some reason SC does NOT url-Encode the above
Characters. Eg. '&' in 'Girls & Boys':

mysql> select url, rating from tracks_persistent where url like
'%Blur%Parklife%Girls%Boys%';
+++
| url  
| rating |
+++
|
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/01_Girls%20&%20Boys.mp3 |
NULL |
+++
1 row in set (2.89 sec)

I would expect this url to be stored as TrackStat does:
'Girls%20%26%20Boys' (thanks again for the hint to the logfile), but SC
stores it as 'Girls%20&%20Boys'

Log Messages:
[09-08-09 22:12:53.6025] Plugins::TrackStat::Storage::findTrack (495)
findTrack(): URL:
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/10_London%20Loves.mp3

[09-08-09 22:12:53.6195]
Plugins::TrackStat::iTunes::Import::normalize_location (689) normalized
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/01_Girls%20%26%20Boys.mp3
to
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/01_Girls%20%26%20Boys.mp3

[09-08-09 22:12:53.6238]
Plugins::TrackStat::iTunes::Import::handleTrack (448) got a track named
Girls %26 Boys location:
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/01_Girls%20%26%20Boys.mp3

[09-08-09 22:12:53.6557] Plugins::TrackStat::Storage::mergeTrack (1065)
File
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/01_Girls%20%26%20Boys.mp3
doesn't exist - will try to find on alternative path.
[09-08-09 22:12:53.6584]
Plugins::TrackStat::Storage::findObjectForMovedUrl (899) Find track urls
ending with /B/Blur%20-%20Parklife/01_Girls%20%26%20Boys.
[09-08-09 22:12:59.9177]
Plugins::TrackStat::Storage::findObjectForMovedUrl (904) Found 0
matching tracks
[09-08-09 22:12:59.9196]
Plugins::TrackStat::Storage::findObjectForMovedUrl (924) Find track urls
ending with /Blur%20-%20Parklife/01_Girls%20%26%20Boys.
[09-08-09 22:13:06.2219]
Plugins::TrackStat::Storage::findObjectForMovedUrl (929) Found 0
matching tracks
[09-08-09 22:13:06.2237] Plugins::TrackStat::Storage::mergeTrack (1072)
No matching alternative path found for
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/01_Girls%20%26%20Boys.mp3.
[09-08-09 22:13:06.2315]
Plugins::TrackStat::iTunes::Import::normalize_location (689) normalized
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/12_Clover%20Over%20Dover.mp3
to
file:///mnt/sda1/mp3/A-Z/B/Blur%20-%20Parklife/12_Clover%20Over%20Dover.mp3

Maybe a bug in SC?

Cheers
ElMuto


-- 
ElMuto

ElMuto's Profile: http://forums.slimdevices.com/member.php?userid=32058
View this thread: http://forums.slimdevices.com/showthread.php?t=66475

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


Re: [SlimDevices: Plugins] Announce: Squeezebox Server 7.4 beta versions of erlands plugins

2009-08-09 Thread erland

MeSue;447277 Wrote: 
> I tend to think it is something in the recently nightlies, because it
> was running fine before I updated SC from 26558 to 28091 and I've had a
> lot of performance issues in general with the builds since they switched
> back to mySQL. I'm real close to reverting again.
> 
> Custom Rating Scan did finally finish at around 1 PM this afternoon,
> but MusicIP Statistics Export has been running all day. It still shows
> running at almost 10 PM now, and it has been like that all day. I have
> it set to dynamically update, but I don't think it used to show as
> "running" all the time in the manage scanning screen of custom scan.
> 
Did you play music during the scanning ? If you did, has that also been
the case before ?

I'm asking since I know the Custom Scan scanning can get a lot slower
if the server is doing something else during the time. Custom Scan tries
to hand over the control to the server to let it stream music between
each scanned track to avoid interrupting the playback during the
scanning.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher 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=65439

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


Re: [SlimDevices: Plugins] SB3: TitleSwitcher + MusicInfoScreen example usage

2009-08-09 Thread exile

thanks for the clarification.


-- 
exile

exile's Profile: http://forums.slimdevices.com/member.php?userid=4579
View this thread: http://forums.slimdevices.com/showthread.php?t=66373

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


Re: [SlimDevices: Plugins] Announce: Squeezebox Server 7.4 beta versions of erlands plugins

2009-08-09 Thread MeSue

I tend to think it is something in the recently nightlies, because it
was running fine before I updated SC from 26558 to 28091 and I've had a
lot of performance issues in general with the builds since they switched
back to mySQL. I'm real close to reverting again.

Custom Rating Scan did finally finish at around 1 PM this afternoon,
but MusicIP Statistics Export has been running all day. It still shows
running at almost 10 PM now, and it has been like that all day. I have
it set to dynamically update, but I don't think it used to show as
"running" all the time in the manage scanning screen of custom scan.

I'll enable the logging and see how it does tomorrow.


-- 
MeSue

Sue
http://www.last.fm/user/MeSue

MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=65439

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


[SlimDevices: Plugins] Does Inguz work with 7.3.4?

2009-08-09 Thread milosz

I can't get the Inguz DSP plugin to work with 7.3.4




-- 
milosz

milosz's Profile: http://forums.slimdevices.com/member.php?userid=11057
View this thread: http://forums.slimdevices.com/showthread.php?t=66516

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


Re: [SlimDevices: Plugins] Announce: Squeezebox Server 7.4 beta versions of erlands plugins

2009-08-09 Thread erland

MeSue;447183 Wrote: 
> Custom Scan Rating Tag module takes s long now (7.4-28091). My
> nightly scan for new and changed happens at 6 AM every day. That
> triggers a custom scan for ratings. I'm not sure when it started, but it
> is almost noon and it's still going.
> 
Could you enable debugging on plugin.customscan and see in the
server.log if it seems to process files or if it's stuck somewhere
before it has started to process files or after it has processed all
files.

It's strange if it has gotten slower because if I remember correctly I
haven't done any big changes in the beta versions related to the
scanning logic.

MeSue;447183 Wrote: 
> 
> Is there any way a rating tag scan can be set to only look at new and
> changed files?
> 
Not at the moment, it requires this enhancement request to make it
possible to implement a reliable solution:
https://bugs.slimdevices.com/show_bug.cgi?id=6023


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher 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=65439

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


Re: [SlimDevices: Plugins] SrvrPowerCtrl - End of Day action

2009-08-09 Thread rickwookie

I think what my problem is is that I'm possible not using the EOD action
for the purpose it was intended. I'm mearly using it as an aditional
idle timer, but with a much shorter time out to the 'daytime' one.

During the day I want my server on most of the time, since I have to
wait over a minute to start it (still can't get it to wake from S3). So
I set the idle time-out to about three hours, so it only shuts down to
SqueezeNetwork if I'm really not using it for a good while. However,
it's unlikely that I'll want to play something at 1am unless it's a late
night session or party, in which case the system won't be idle at that
time. I use the EOD action to shut it down at night with a much shorter
idle time-out (10 minutes I think) so that if I finish listening to
music at midnight for example, the server won't waste energy hanging
around until 3am to shutdown. It's for this reason that I don't want my
shut-down server to wake at midnight.

Maybe the custom EOD action could be a completely different thing (that
will be woken for, although I still tend to think that that should be an
option), and instead you could put an 'Economy7' type mode in the
standard idle timer so that the user could define two time periods with
two different idle time-outs. Day and night prefs if you like.


-- 
rickwookie

rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=66330

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


Re: [SlimDevices: Plugins] Announce: Squeezebox Server 7.4 beta versions of erlands plugins

2009-08-09 Thread MeSue

Custom Scan Rating Tag module takes s long now (7.4-28091). My
nightly scan for new and changed happens at 6 AM every day. That
triggers a custom scan for ratings. I'm not sure when it started, but it
is almost noon and it's still going.

Is there any way a rating tag scan can be set to only look at new and
changed files?


-- 
MeSue

Sue
http://www.last.fm/user/MeSue

MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=65439

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


[SlimDevices: Plugins] SuperDateTime translations

2009-08-09 Thread Pascal Hibon

I noticed that it is possible to create translation tables in the
strings.txt file. These are the various text displayed on the webpages
in SC for SuperDateTime.
Is there a way to translate the text that is actually displayed on the
player’s screen?
I mean the text like “Today: Partially Clouded” etc. I would like to
translate those messages into Dutch.


-- 
Pascal Hibon

Pascal Hibon's Profile: http://forums.slimdevices.com/member.php?userid=7969
View this thread: http://forums.slimdevices.com/showthread.php?t=66510

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


Re: [SlimDevices: Plugins] SuperDateTime on ReadyNAS NV+

2009-08-09 Thread Pascal Hibon

For those who might me interested, I got it to work.
It seems that the SqueezeCenter that comes with the ReadyNAS firmware
is a stripped down version. The SuperTimeDate pluging is calling
libraries that are not installed with the default SC install on the
ReadyNAS. So if you want to run specific plugins, you need to download
and install the full version of SqueezeCenter that is available from the
Logotech website.
All is running fine now (including my two additional plugins).


-- 
Pascal Hibon

Pascal Hibon's Profile: http://forums.slimdevices.com/member.php?userid=7969
View this thread: http://forums.slimdevices.com/showthread.php?t=66465

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


Re: [SlimDevices: Plugins] Controlling SC with Ipod and Ipeng

2009-08-09 Thread pippin

Northbull;447103 Wrote: 
> 
> I have no idea what the problem is.
> 

Can you please write again what exactly the problem is, how it starts
etc.
Also, can you give a bit more detail about your setup (network, server
version, things like that).

Also, is iPeng syncing the cache (do you see the blue "progress bar" on
"Albums"?


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com

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

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


Re: [SlimDevices: Plugins] Custom Scan: Not importing all iTunes ratings

2009-08-09 Thread mariowing

I also have the exact same problem described in this lengthy thread. My
bug report is here:
http://code.google.com/p/erlandplugins/issues/detail?id=72.


-- 
mariowing

SqueezeCenter on Windows Home Server. Squeezebox Duet in living rom,
Squeezebox Boom in bathroom and home office. SqueezePlay at work,
connected through Hamachi VPN. iTunes integration through Erlands Custom
Scan.

mariowing's Profile: http://forums.slimdevices.com/member.php?userid=22779
View this thread: http://forums.slimdevices.com/showthread.php?t=61055

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


Re: [SlimDevices: Plugins] Controlling SC with Ipod and Ipeng

2009-08-09 Thread Northbull

Can it have something to do with the squeezecenter sleeping?

"SqueezeCenter

Process status : PID 15803, state R (running)
Memory usage   : 77 MB total, 69 MB (90%) RSS
SSODS/SC flags : noupnp

MySQL

090809 11:43:07 [Warning] option 'max_join_size': unsigned value
18446744073709551615 adjusted to 4294967295
090809 11:43:07 [Warning] option 'max_join_size': unsigned value
18446744073709551615 adjusted to 4294967295
090809 11:43:07 [Warning] option 'myisam_max_extra_sort_file_size':
unsigned value 2147483648 adjusted to 214748364
Process status : PID 15822, state S (sleeping)"


Its only the Ipeng that dosnt work.


-- 
Northbull

Northbull's Profile: http://forums.slimdevices.com/member.php?userid=30225
View this thread: http://forums.slimdevices.com/showthread.php?t=65605

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


Re: [SlimDevices: Plugins] Controlling SC with Ipod and Ipeng

2009-08-09 Thread Northbull

It just dosn't make any sense, that it works with the original Remote
that comes with the Squeezebox Duet, but the Ipod only works sometimes.

I can also control it in my webbrowser using the normal squeezecenter
interface.


I have no idea what the problem is.


Sometimes it starts working again if I restart SSOTS (slimserver on
turbostation), a plugin for my Qnap TS-119 that starts the
squeezecenter.


-- 
Northbull

Northbull's Profile: http://forums.slimdevices.com/member.php?userid=30225
View this thread: http://forums.slimdevices.com/showthread.php?t=65605

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