Re: [SlimDevices: Plugins] MusicIP cache not adding new tracks

2009-05-24 Thread Moonbase

Unfortunately I don't remember exactly where I read it (I -guess- it was
in the MIP forums). Since I'm not using -genpuid- too often, I postponed
any checking... I guess it was something like -genpuid- using an URI
that is (or was) not functional anymore after MusicIP was sold. But
maybe that was only temporary...


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=63654

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


Re: [SlimDevices: Plugins] MusicIP cache not adding new tracks

2009-05-23 Thread Moonbase

Some people tell me that genpuid doesn't work reliably anymore.

In this case, you can connect to the headless and do it manually. For
simplicity, let's assume your MIP server is called squeezecenter and
you can reach it with a -ping- in your local network (but you can also
use its IP instead of the name):
  
- Go to the headless Web UI: -http://squeezecenter:10002/-
- Next to the Add Music button, enter the base folder of your
  music, i.e. -/storage/music/squeeze-
- Click on the Add Music button and wait for Adding tracks... to
  finish. (It will -not- add existing music twice.)
- If you have deleted or moved songs, you can now click on Refresh
  Songs. This will remove obsolete entries from your MusicIP cache
  file.
- If Songs to validate is greater zero, click on Start validation
  and wait for that process to finish. (This will store the validation
  data only in the cache, usually not in the files themselves,
  unfortunately.)
- When all is finished, -write back the cache to disk- by issuing a
  -http://squeezecenter:10002/api/flush- You should get an empty page
  with just the number 1 at the top left. MIP headless has now written
  the cache file back to disc.
- Finally, do a Look for new and changed music rescan in your SC
  and your changes should be incorporated into SC's music library and
  the new songs mixable.
  

I'd still recommend trying to see if -genpuid- somehow starts working
again from time to time, because it can include the analysis and
fingerprint data within the actual music files, which is preferable
since you don't have to re-validate all songs if ever the cache file
gets lost/messed up. You could also use the MusicIP Mixer for that.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=63654

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


Re: [SlimDevices: Plugins] How to use SoftSqueeze remotely without opening ports?

2009-04-28 Thread Moonbase

You could tunnel a VPN connection through SSH. Or use any other good
working VPN solution. And besides, it's safer :-)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=62777

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


Re: [SlimDevices: Plugins] Sending music from Musicip

2009-04-03 Thread Moonbase

Only the Windows MusicIP Mixer GUI can do this, and unfortunately it
isn’t too reliable (at least in v1.8.1b). Still a nice feature, though.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61994

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


Re: [SlimDevices: Plugins] Consolidating albums with tracks in multiple directories?

2009-04-03 Thread Moonbase

Hm, so it apparently has not enough data to be able to keep the disc
together. As SC works now, there#8217;s still some last hope:


- You could try using a disc number and total # of discs, even if a
  release only has 1 disc (for disc #1 of a 2-disc release, in MP3, use
  -TPOS-=1/2, in FLAC use -DISC-=1 and -DISCC-=2, or -DISCNUMBER-=1/2
- If tagging with -MusicBrainz Picard-, a tag -MUSICBRAINZ ALBUM ID-
  (for MP3) or -MUSICBRAINZ_ALBUMID- (for FLAC) will be added and used
  by SC internally to keep an album together. [You#8217;d also help
  other classical music lovers more easily tagging their albums if you
  enter yours into -MusicBrainz- ;-)]


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=60555

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


Re: [SlimDevices: Plugins] Consolidating albums with tracks in multiple directories?

2009-04-03 Thread Moonbase

:-) Great that it worked out for you! And sorry that I didn’t mention
that with the current releases you actually -do- need a full rescan.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=60555

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-31 Thread Moonbase

Erland, in -bitrates.cb.xml- the Bitrates are presented -reverse
alphabetically sorted- (instead of numerically sorted).

This is due to the following code you use:

Code:


menudata
select case when lossless=1 then 'Lossless' 
else floor((bitrate+16000)/32000)*32000 end as calculatedbitrate,case when 
lossless=1 then 'Lossless' else concat(floor((bitrate+16000)/32000)*32,' kbps') 
end from tracks 
where 
audio=1 
group by calculatedbitrate
order by calculatedbitrate desc
/menudata
  



The case statement will always return the compatible aggregated type
of all return values, which is -STRING- in this case. Thus, numerical
bitrate values will be sorted alphabetically instead.

Unfortunately, the Lossless in the SELECT cannot be represented by
some arbitrary number like -MaxInt- in order to always get a numeric
result, because further searches would then fail.

I came up with a quick 'n' dirty solution to patch up my Bitrates
menu, but maybe you have a better idea?

I use a zero-padded calculatedbitrate string for now, but there must
surely be a better solution. Here’s the code:


Code:


menudata
select case when lossless=1 then 'Lossless' 
else right(concat('000',floor((bitrate+16000)/32000)*32000),11) end as 
calculatedbitrate,case when lossless=1 then 'Lossless' else 
concat(floor((bitrate+16000)/32000)*32,' kbps') end from tracks 
where 
audio=1 
group by calculatedbitrate
order by calculatedbitrate desc
/menudata
  



-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] CustomScan: Needs optimization, seems to waste 54 minutes after SC rescan

2009-03-26 Thread Moonbase

Thanks for explaining. I actually agree that dropping  recreating is
sometimes a lot faster, and I didn#8217;t think about Custom Tags +
Mixed Tags, that of course explains it. Hopefully at least the unneeded
syncing step can be avoided.

The long time it takes is mainly due to working on the disc: The
-ibdata1- file in my Cache/MySQL is about 1.2GB, the MySQL temp file
created while working about half of it (500-600MB). The OS disc in this
system is only ATA/100 IDE, not SATA-II, and it appears that the
OS*(WinXP+SP3) has not enough room for file system buffers to handle
this efficiently with only 1GB RAM, since OS + SC + Plugins + MusicIP
already eat up about 850MB of RAM when idle, about 130MB more when
scanning.

Apparently using Linux for this kind of application is much more
efficient, for the same hardware setup I#8217;d expect a reduction in
time of about 1/3 to 1/2, from past experiences. I hope my
long-promised next Linux box will arrive soon, so I can make a direct
comparison.

Did anyone yet compare the differences between using reiserfs, ext3,
ext2 file systems (for the drive that is used by the SC cache and
MySQL)?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61775

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-26 Thread Moonbase

Phew! I must really have overlooked this -every time-! :-) Cheers for
the heads-up!

And you mean of course SqueezeCenter Settings/Plugins/Custom
*Browse*/Manage menus, don#8217;t ya? ;-)

Do I need any re-scans if I change anything in this field?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-26 Thread Moonbase

First observation (entered BPM in Tags Menu as numeric; no rescan
done):

Shows Items 1 to 118 of 119 in first screen (BPM values 0…199, nicely
sorted), header shows 0 1 (2) 7 8 9 (the 2 is marked), but clicking
on any of these doesn’t show a page 2 with the BPM values = 200.

Any ideas?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


[SlimDevices: Plugins] CustomScan: Needs optimization, seems to waste 54 minutes after SC rescan

2009-03-25 Thread Moonbase

Using SC 7.4-25680 and CustomScan 2.6, I observe what I think
unneccessary activity by CustomScan that seems to waste 54 minutes
after each SC rescan on my system here.

Yesterday, I did a complete clear  rescan in SC and could nail it
down a bit. Here’s what SC and CS do:

COMPLETE CLEAR  RESCAN ON 2009-03-24:

- 15:05 SC clear  rescan start
- 18:57 SC rescan finished
- 18:59 CS Syncing CS data start *
- 19:18 CS Syncing finished *
- 19:19 CS creating new database *
- 19:53 CS creating new database AGAIN
- 20:51 CS apparently finished but 100% CPU  mySQL activity starts,
  blocks SC completely (incl. playback)
- 21:09 CS really finished, SC responsive again
  
The whole rescan process took 6:04 hrs, 3:54 hrs for SC + 2:10 hrs for
CS. I think CS could save at least 54 minutes by omitting the steps
marked *, thus reducing CS time to 1:16 hrs and overall time to 5:10
hrs!

CS seems to unnecessarily do a resync after SC’s rescan has finished,
and -twice- creates a new database (at least that’s what the log
says).

-SERVER.LOG- EXCERPT:
-(attached, due to post size limits)-

MYSQL \LONG QUERIES\ LOG EXCERPT:
-(attached, due to post size limits)-

This behaviour is also seen when only doing a scan for new/changed
music.

Can anyone please confirm this?
Erland, any great ideas on how to speed this up?


+---+
|Filename: mysql.log.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=7174|
+---+

-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61775

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-25 Thread Moonbase

erland;409886 Wrote: 
 […] the Order these tags numeric instead of by letter field […]

I must be dumb. Where -is- that Order these tags numeric instead of by
letter field?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] CustomBrowse: Artists, various kinds and counts -- clarification needed

2009-03-22 Thread Moonbase

Standard installation of CS 2.6 + CB 2.8 on Windows SC 7.4-25624, then
complete clear  rescan done. Library has 26208 songs, mainly MP3 and
FLAC, a few OGG, one WMA.

Example:
From SC Web UI: Home  Custom Browse  Tags  Artist Sortnames
then simply read the number at the top: -Items 1 to 60 of *3379*-

Config CustomScan:
Only CustomTag and Mixed Tag enabled, doing a Clear then Scan
all.

Module Settings Custom Tag:

- Tags to scan:
  *ARTISTSORT,ALBUMARTIST,ALBUMARTISTSORT,LANGUAGE,ORIGYEAR,BPM,INITIALKEY*
- Single value tags: -(empty)-
- Tag mapping: *RELEASESTATUS=oneof
  MUSICBRAINZ_ALBUM_STATUS|RELEASESTATUS,RELEASETYPE=oneof
  MUSICBRAINZ_ALBUM_TYPE|RELEASETYPE,DECADE=combine
  YEAR(exp=^(\d\d\d))|YEAR(text=0),ORIGDECADE=combine
  ORIGYEAR(exp=^(\d\d\d))|ORIGYEAR(text=0)*
- Sort tag mapping: -(empty)-
  

Module Settings Mixed Tag:

- Artist tags: *ARTIST*
- Album Artist tags: *ARTIST,ALBUMARTIST*
- Track Artist tags: *TRACKARTIST*
- Conductor tags: *CONDUCTOR*
- Composer tags: *COMPOSER*
- Band tags: *BAND*
- Album tags: *ALBUM*
- Genre tags: *GENRE*
- Year tags: *YEAR,ORIGYEAR*
- Include custom tags: *[x]*
- Excluded custom tags: -(empty)-
- Names to show for user:
  
*ALBUM(Album:Albums),ARTIST(Artist:Artists),GENRE(Genre:Genres),YEAR(Year:Years),CONDUCTOR(Conductor:Conductors),COMPOSER(Composer:Composers),BAND(Band:Bands),TRACKARTIST(Track
  Artist:Track Artists),ALBUMARTIST(Album Artist:Album
  Artists),ORIGYEAR(Original Year:Original
  Years),LANGUAGE(Language:Languages),ARTISTSORT(Artist Sortname:Artist
  Sortnames),ALBUMARTISTSORT(Album Artist Sortname:Album Artist
  Sortnames),RELEASESTATUS(Release Status:Release
  Statuses),RELEASETYPE(Release Type:Release Types),BPM(Beats per
  minute:Beats per
  minute),INITIALKEY(Key:Keys),DECADE(Decade:Decades),ORIGDECADE(Original
  Decade:Original Decades)*
  

Config CustomBrowse:
-(nothing changed)-


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61631

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-22 Thread Moonbase

OT: Thanks for the hint at the bug. Voted.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-21 Thread Moonbase

erland;408578 Wrote: 
 Thanks for reporting, I'll have to investigate if it's possible to
 optimize by adding some other index to the database. Was it waster in
 the previous version ? I think I added the valuetype attribute in this
 version which might have caused the problem.
Yes, it was actually -much- faster in the previous version
(CS2.5/CB2.7.1).


erland;408578 Wrote: 
 I think it's a bug in the playlists menu template, it should probably
 only list local playlists and not all playlists (including online
 playlists) as it does at the moment.
Anything I could to to help investigating?


erland;408578 Wrote: 
 There was a bug related to this in the previous release which in some
 situations just showed an empty menu when you entered track details on
 the Controller if SqueezeCenter 7.4 was used.
Ah ok, thanks for clarifying. So I#8217;ll wait and see what comes up
next :-)
Btw, I think a see the empty menu bug gone, at least haven#8217;t
seen it since the upgrade (and only sometimes before).


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


[SlimDevices: Plugins] CustomBrowse: Artists, various kinds and counts -- clarification needed

2009-03-21 Thread Moonbase

SC lists the Artist count in my library as 4360.

CustomBrowse shows these counts on my library (26,208 songs):

- Artists: 4360
- Artist Sortnames: 3379
- Album Artists: 1312
- Album Artist Sortnames: 1579
- Track Artists: 653
  

I could explain the differences between -Artists- and -Artist
Sortnames-, -Album Artists- and -Album Artist Sortnames- by not having
tagged all sortnames (though I wonder why I have more -Album Artist
Sortnames- than -Album Artists-.

Still, it seems I don#8217;t fully understand the differences between
-Artists-, -Track Artists-, and -Album Artists-. For example, I would
have considered a Track Artist being essentially the same as an
Artist because (s)he appears on tracks. The numbers above seem to
indicate something else.

  
- How exactly are the numbers calculated?
- Why don#8217;t I have as many -Track Artists- as I have -Artists-?
  They are per track, aren#8217;t they?
- What exactly is considered an -Artist-?
- What exactly is considered an -Album Artist-? (Just from the tag,
  or from some SC assumptions?)
- What exactly is considered a -Track Artist-?
  

If someone could come up with an explanation that#8217;s both
enduser-understandable plus lets me understand the technical (SC/CB)
background, I#8217;d be really delighted. Thanks in advance.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61631

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


Re: [SlimDevices: Plugins] Squeezeslave, ReplayGain and Bitrate Limiting

2009-03-20 Thread Moonbase

Yw, thanks for feedback. Unfortunately, I won#8217;t have too much
leftover time to devote to this, but maybe I can spare some #8230; I
believe having a cross-platform, open source headless player will be
a Good Thing.

Yes, for bug-fixing and development reasons, I run SC (svn) from the
command line, even under Windows.

Re -e option: I somehow suspected that ;-) Thanks for clarifying.

Maybe when I have some spare time, I#8217;ll set up some test signals,
with various RG values, and a better test suite.

During my quick check yesterday, it seemed that SS 0.8-33 replayed some
buffer content or did a sudden loudness change on beginning/end of
tracks. This was a little irritating but I didn#8217;t investigate
further. Known issue?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=59166

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-20 Thread Moonbase

Looks like a lot of great improvements again, Erland. I’ll have a go and
let you know. Thanks!


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-20 Thread Moonbase

Just started a try, using SC 7.4-25624, CS 2.6, CB 2.8, set following:

Tags to scan:

Code:

ARTISTSORT,ALBUMARTIST,ALBUMARTISTSORT,LANGUAGE,ORIGYEAR,BPM,INITIALKEY



Tag mapping:

Code:

RELEASESTATUS=oneof 
RELEASESTATUS|MUSICBRAINZ_ALBUM_STATUS|MUSICBRAINZ_ALBUMSTATUS,RELEASETYPE=oneof
 RELEASETYPE|MUSICBRAINZ_ALBUM_TYPE|MUSICBRAINZ_ALBUMTYPE,DECADE=combine 
YEAR(exp=^\d\d\d)|YEAR(text=0),ORIGDECADE=combine 
ORIGYEAR(exp=^\d\d\d)|ORIGYEAR(text=0)



Keep getting these messages but don#8217;t find CustomTag.pm:

Code:


  [09-03-20 18:13:08.0789] Slim::Utils::Misc::msg (1113) Warning: 
[18:13:08.0784] Use of uninitialized value in concatenation (.) or string at 
Plugins/CustomScan/Modules/CustomTag.pm line 434.
  [09-03-20 18:13:08.0822] Slim::Utils::Misc::msg (1113) Warning: 
[18:13:08.0817] Use of uninitialized value in concatenation (.) or string at 
Plugins/CustomScan/Modules/CustomTag.pm line 456.
  



-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-20 Thread Moonbase

erland;408462 Wrote: 
 You don't need to include them into tags to scan, Custom Scan will
 automatically pickup any tags that are needed to create the virtual tag
 specified in the Tag mapping field. Only the virtual tag should be
 stored in the database.

Very good!

Forget about the other stuff for now, but probably change the example
text:

-DECADE=combine YEAR(exp=^\d\d\d)|YEAR(text=0)-

should be

DECADE=COMBINE YEAR(EXP=^(\D\D\D))|YEAR(TEXT=0)

(And I shouldn’t be as dumb as copying examples without actually
-reading- them ;-))


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-20 Thread Moonbase

Yeah #8230; stop me if I run too far #8230; might be opening a
Pandora's Box here :-)

Thanks for your answers, very helpful! And thanks for the brilliant
idea to introduce RexExp#8217;s into the whole thing #8212; that
might really help shifting some load to the scanning phase, instead of
having to hit the database every time.

Umm #8230; another one: Would as be for simple replacement, like in
*KEY=as INITIALKEY*?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-03-20 Thread Moonbase

Erland, I think Home  CustomBrowse  Tags needs some optimization
still — up to two minutes (!) here at 100% CPU until the tags menu
appears, 543718 rows examined. (Library has 26,208 songs.)

From the mySQL slow queries log:

Code:


  # Time: 090320 21:38:30
  # u...@host: [slimserver] @ localhost [127.0.0.1]
  # Query_time: 68  Lock_time: 0  Rows_sent: 18  Rows_examined: 543718
  select 
customscan_track_attributes.attr,customscan_track_attributes.attr,substr(customscan_track_attributes.attr,1,1),customscan_track_attributes.valuetype
 from customscan_track_attributes use index (attr_module_idx)  where 
customscan_track_attributes.module='mixedtag' group by 
customscan_track_attributes.attr order by customscan_track_attributes.attr;
  



-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Squeezeslave, ReplayGain and Bitrate Limiting

2009-03-19 Thread Moonbase

Gave it a quick try using SC 7.4-25624/Win and Squeezeslave
0.8-33-win32, above patch applied.

Above patch

- makes settings come up with no b/r limit
- shows Volume Adjustment setting on Player page
- does apparently -not- apply RG (I think I would hear -5.90 dB)
  

Also interesting:
When using parameter -esqueezeplay -m00:00:00:00:00:02, the
SqueezePlay settings come up but Squeezeslave playback -becomes
unstoppable!- (I.e., you can press the Pause button in the WebUI as
often as you want, it will continue playing and revert back to the
Pause symbol.)

Sorry had no more time to actually measure or debug things.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=59166

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


[SlimDevices: Plugins] CustomBrowse: Custom Tags as add'l track details on Duet Controller broken?

2009-03-16 Thread Moonbase

I’d like too see my (custom) ORIGYEAR, BPM, and INITIALKEY tags in the
Duet Controller's track details screen, at least when doing a RIGHT
from the Now Playing screen.

I followed the Adding a browse menu and '\Adding to Now Playing
right menu\ instructions in the Wiki'
(http://wiki.slimdevices.com/index.php/Setup_support_for_custom_tags#Adding_to_Now_Playing_right_menu)
to add ORIGYEAR as a first step.

The Browse Menu and add'l track details Original Year work fine for
the SB3 and SoftSqueeze, but on the Duet Controller I have the Browse
Menu but no additional track details.

What am I missing?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61441

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


Re: [SlimDevices: Plugins] CustomBrowse: Custom Tags as add'l track details on Duet Controller broken?

2009-03-16 Thread Moonbase

Thanks for feedback. Any timeframe estimate? (I guess many of us are
using the SBC and would be very happy to see/select from add'l track
details using CB.)

The API you talk of: Would that be -one- API that handles all
(software/hardware) SB playback devices, possibly even including the
Web UI? (I seem to distinctly remember some old bugs where this was
mentioned fixed …)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61441

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


Re: [SlimDevices: Plugins] MusicIP sometimes generates an empty playlist

2009-03-13 Thread Moonbase

I#8217;m currently on a Win/XP+SP3, 1.8GHz P4, 1GB RAM, SC7.4-25502
(svn), Perl 5.8.8, MusicIP Mixer GUI 1.8.1b (API enabled), library some
26,000 tracks, mixed FLAC/MP3. And 10s in MMM's Plugin.pm.

Good to see the change helps, I hope it#8217;ll end up async http
eventually #8230;


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61261

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


Re: [SlimDevices: Plugins] MusicIP sometimes generates an empty playlist

2009-03-12 Thread Moonbase

Seems to be a timeout issue #8212; see 'Bug 10670'
(http://bugs.slimdevices.com/show_bug.cgi?id=10670).

On my development system, I changed a timeout in MusicIP#8217;s
-Plugin.pm- from 5s to 10s and it never happened again.

tamanaco: Happens to me on the Controller too. As you say, going LEFT
and trying the same thing again usually works (caching helps).


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61261

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


Re: [SlimDevices: Plugins] MusicIP sometimes generates an empty playlist

2009-03-12 Thread Moonbase

Be aware that the change -might- badly influence other things, like if
you use syncing or have multiple players. It’s not a perfect solution
to keep SC waiting 10s – this is something that should eventually be
done asynchronously …

Re cache: I actually meant it helped SC to MusicIP Mix the second
time round, since part of the result might already be cached :-)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61261

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


Re: [SlimDevices: Plugins] MusicIP sometimes generates an empty playlist

2009-03-12 Thread Moonbase

tamanaco;405847 Wrote: 
 Did you see my Edit: about the line that needs change in my previous
 post?... Maybe I'll change it to 7s or 8s.
Sorry, overlooked that :-) Yes, that line. See the bug for more exact
data. Be aware that development decided to use tabbed sources, so
don#8217;t set your editing environment to convert tabs to spaces
(but this actually doesn#8217;t matter, it#8217;s just for good style
;-)

tamanaco;405847 Wrote: 
 [#8230;] but I thought MusicIP would generate a different playlist
 even if using the same seed song. [#8230;]
Depends on the settings you give it :-) I agree most of us will set
variety high enough to get a different playlist each time. In my
experience #8212; for whatever reason #8212; it usually works on 2nd
try.

Let us know the outcome. Especially, I#8217;d be interested in knowing

- your computer hardware configuration
- your OS
- the MusicIP version you use (i.e., Mixer GUI, headless, what
  version)?
- the size of the library known to MusicIP


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61261

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


[SlimDevices: Plugins] CustomBrowse: Better use of screen estate?

2009-03-07 Thread Moonbase

Erland, could I interest you in changing your otherwise excellent
software a little to make for a better use of screen estate with
CustomBrowse in the WebUI?

I normally use a 1680x1050 22 flatscreen, the browser gets about half
of it (both because I like to see a web page as kinda A4 or letter
page, and because I have to work with other programs).

I have quite long track comments (reviews, mostly) and I#8217;m
favourably impressed how neat these (and other info) are displayed
using the normal SC track details screen.

CustomBrowse, when displaying track deta, seems to waste lots of space
at the left (beneath the album image), has no scrollbar, so I cannot
access half of the information, and it makes my track comments almost
unreadable by not translating newlines (or CR/LF pairs) to paragraphs.
(I#8217;m an old man and need paragraphs and uppercasing to follow
text and thought flow :-)

Also, could it be made that the album art is shown resampled to
whatever is set in SC (150x150 usually) instead of being shown in the
original size? It doesn#8217;t much affect me (I use 160x160 only
anyway), but it might distract people who store large resolution
pictures in their files (i.e. 1000x1000 or 500x500).

You can see what I mean in the little attached overview screenshots
(with comments), and I have included real screenshots in a
'downloadable ZIP archive'
(http://www.kaufen-ist-toll.de/download/radio/sc-webui-cb.zip) (these
are too large and would offend people within a thread).

Thanks for considering!


+---+
|Filename: sc-webui-sc-cb-comparison.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=7092|
+---+

-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61043

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


Re: [SlimDevices: Plugins] CustomBrowse for file types (FLAC, MP3, ...) possible?

2009-03-06 Thread Moonbase

If only the day had 48 hours ;-) Guess I'll really have to play around
with CustomBrowse, apart from testing/fixing SC, ripping/tagging music,
preparing broadcasts, looking for a new job … phew!

Thanks for the hints, Erland! Guess I try to keep it as simple as
possible (no extra plugins) and learn how to make menus and modify the
CB SQL. One of the days…


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=61020

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


Re: [SlimDevices: Plugins] Inguzeq - Music stops playing

2009-02-25 Thread Moonbase

Inguz seems to really hog resources. I#8217;d have LOVED to use it, but
with a 1.8GHz/1GB RAM Win/XP+SP3 machine, I only get about 20s of music
out of every full minute (the rest is computing at 100% CPU), without
even using a DRC profile :-(


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=60466

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


Re: [SlimDevices: Plugins] Consolidating albums with tracks in multiple directories?

2009-02-23 Thread Moonbase

You might want to vote for 'bug 10583'
(http://bugs.slimdevices.com/show_bug.cgi?id=10583). Applying the patch
descriped in the bug (and of course having all relevant tags set
correctly) did the trick for me.

-Voting for a bug- is a means to make development aware that there is
actual user need for a bug/a suggested enhancement. (You#8217;ll need
to create an account for the bug system to vote.)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=60555

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-18 Thread Moonbase

erland;397633 Wrote: 
 Could you try to run it with Custom Scan debug logging enabled and see
 if you can see which steps that are executed at the end when mysqld
 uses most CPU?
Sure, I’ll do. But might have to wait until tonight, some other things
still on my list to do first …

erland;397633 Wrote: 
 I'll try to include them in the next version of Custom Scan, I'm
 probably going to change the configuration a bit so you configure the
 mapping as a separate configuration parameter.
Great — looking forward to it! Please keep in mind that with the
existing variant it is possible to set up »new« keys (which aren’t in
the tags) some people might have use for, like
XYZZY=RELEASESTATUS|MUSICBRAINZ_ALBUM_STATUS

-

I’d like to set up something like »Decades« which includes original
years, like »IF we have ORIGYEAR, use it, otherwise take YEAR if not
empty«. (From the assumption that some tags only have YEAR because the
ORIGYEAR was the same.) At a first look, the possibilities you built
into it are endless — but not so easy to understand at a first glance.

Would you say dissecting the »Decades« is a good place to start? Or
suggest something else, like constructing a simple menu first or the
like?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-18 Thread Moonbase

Ok, I had some time, so I cleared and rescanned my »real« library with
CustomScan. Here are the overall results:


- Scanning artist: CPU Load: Perl 80%, mysqld 5%
- Scanning album: CPU Load: Perl 80%, mysqld 5%
- Scanning track: CPU Load: Perl 50-80%, mysqld 0-15%
  
The whole scan took about 77 minutes.


- After last scanTrack: CPU Load: Perl 0%, mysqld 20-56%
  
This part took about 22 minutes, during which the disc SC resides on
accessed like mad; no refreshing of any SC page was possible, not even
the plugin’s status page or the log tail (100); browser says »loading«
until this part is finished, then updates.

Total time: 99 minutes

- on a 1.8GHz P4, 1GB RAM, Windows/XP+SP3, SC 7.4-25035
- using my »real« library (external USB2 disc): 25325 tracks; mixed
  MP3, FLAC, OGG and one WMA
  

If you wish, you can download the relevant part of 'my -server.log-'
(http://www.kaufen-ist-toll.de/download/radio/sc-customscan-server.log)
in about half an hour’s time from now (just uploading; about 66MB).


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-17 Thread Moonbase

Maybe you#8217;re right #8230; In the latter part of the process I see
Perl not using that much CPU anymore but mysqld working like hell
#8211; eats about 35-45% CPU but somehow blocks the whole SC system.
Refreshing the scan status screen is »loading« the page until the scan
is finished, actually.

I wonder if poor mySQL has to handle Cartesian products here, due to
the complexity of stuff? (Thus probably needing to handle hundreds of
thousands of rows.)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-16 Thread Moonbase

Thanks for helping, erland — I really appreciate it.

I’d be prepared to change some code, and of course feed it back to you,
so all can benefit.


- Would there be an existing mechanism in CustomTag.pm to map TXXX
  frames to »internal names« so I could maybe use something like
  -'TXXX:MusicBrainz Album Status' = 'RELEASESTATUS'-?
- Can modules in the -Plugins-CustomScan-Plugin.par- simply be
  modified and repacked into a new .par? Any special settings for the
  ZIPper (I use 7-Zip)?
- Does the code in MixedTag.pm already handle things like comma and
  blank? (To be used with things like »Artist, sorted«.)
- Does the code in MixedTag.pm already handle multiple tags mapped to
  the same »friendly names«?
  

Thanks again!


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-16 Thread Moonbase

Looking at the forums and the problems people have, I think CustomScan
could benefit from an (optional) generalized »Tag Remapper Module«.

This would allow (at least for CustomScan/CustomBrowse users) to handle
complicated situations, like

- mapping »ALBUM ARTIST« to »ALBUMARTIST«
- mapping ID3v2 tags into tags used with FLAC files, i.e. ID3v2
  »TXXX:MUSICBRAINZ ALBUM TYPE« to »RELEASETYPE«, or ID3v2.3 »XSOP« and
  ID3v2.4 »TSOP« (»PERFORMERSORTORDER«) to »ARTISTSORT« used in FLAC
  

Having a means like this (low-level tag mapping) would also make
database access faster (and easier), since many different tags would
map to only ONE database value. I think the usability and
screen/Jive/SB presentation would also benefit from this.

After processing like you do now (mapping some tags, i.e. ID3v2 and
MP4), this could be a simple, user-definable table that would initially
be empty. It could have »Tag Type«, »from« and »to« columns and act as
an additional »layer«, so -both- additional remapping of, say, ID3v2 or
MP4 tags would be possible, -plus- simple text translations (as for
ID3v2 TXXX or Vorbis Comment tags).

Sample:

Code:


  TAGTYPE  FROMTO
  
  ID3v23   XSOPARTISTSORT
  ID3v24   TSOPARTISTSORT
  TEXT ALBUM ARTISTALBUMARTIST
  APEv2MUSICBRAINZ_ALBUMSTATUS RELEASESTATUS
  WMA  MusicBrainz/AlbumStatus RELEASESTATUS
  MP4  :com.apple.iTunes:MusicBrainz Album Status  RELEASESTATUS
  MP4  ©grpGROUPING
  ...


and so on. »TEXT« would be a »general« type to handle whatever
user-definable text-type tags need to be translated into an internal
name, i.e. ID3v2.3 TXXX tags, MP4 and WMA text tags, Vorbis Comments.

I guess a thing like this could handle all the oddities in tag naming
conventions once and for all. Plus, it would allow easy adaption if
ever a new tag came up (or MusicBrainz change their tag names
-again-!).


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-16 Thread Moonbase

Ok, done. I found a way to change CustomTag.pm without breaking existing
functionality, but with the extra option of user-definable tag mapping.
Will run it through some extensive testing now (test cases plus 25,000
file library with mixed file types and varying tag quality) and let you
know maybe tomorrow. I’d very much like if you had a look over the
changes and probably integrate it into the next version ;-)

It’s a kludge, but it doesn’t break existing configurations, and it can
handle and remap both SC-internal tag names and new (text-type) tags.

In the Module Settings for Custom Tag, you could set »Tags to scan«
like before, -or- using a new method for remapping into some existing
or new, user-specified tags like this:

Code:


  ARTIST,ARTISTSORT,ALBUMARTIST=ALBUMARTIST|ALBUM 
ARTIST,ALBUMARTISTSORT,LANGUAGE,ORIGYEAR,RELEASESTATUS=RELEASESTATUS|MUSICBRAINZ_ALBUM_STATUS,RELEASETYPE=RELEASETYPE|MUSICBRAINZ_ALBUM_TYPE
  


In this example,

- both »ALBUMARTIST« and »ALBUM ARTIST« (for foobar users) would be
  mapped into »ALBUMARTIST«
- both »MusicBrainz Album Status« from MP3 files and »RELEASESTATUS«
  from FLAC files would be read into »RELEASESTATUS«. (-Note:- SC’s
  -internal- name MUSICBRAINZ_ALBUM_STATUS used here, since the Format
  modules decode it already.)
- both »MusicBrainz Album Type« from MP3 files and »RELEASETYPE« from
  FLAC files would be read into »RELEASETYPE«. (-Note:- SC’s -internal-
  name MUSICBRAINZ_ALBUM_TYPE used here, since the Format modules
  decode it already.)
- ARTIST, ARTISTSORT, ALBUMARTISTSORT, LANGUAGE, ORIGYEAR would be
  read as before (I read Artist and Artist Sortname separately so I can
  have both kinds of display on my SBC: »Damian Wilson« under »D« (using
  »Artists«), -or- »Wilson, Damian« under »W« (using »Artist
  Sortnames«). Ditto for ALBUMARTIST.)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-16 Thread Moonbase

Yes, sure :-) As soon as all my test are through (might take a few hours
still but I#8217;m very hopeful).

A more flexible approach would of course be nice, but you know how it
goes if one needs (ok, WANTS) something FAST :-) The »solution« above
was just the »minimum changes, don#8217;t break anything« approach.

Using RegExp#8217;s is actually a great idea. Thinking about DATE
values in FLAC files (ISO Dates like 2009-02-16) vs. the 4-digit YEAR
in ID3v2.3 and other uses. Coming back to the table idea a few posts
back, an additional column could specify the RegExp to transform one
value into the other.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-16 Thread Moonbase

An afterthought: I feel the code should be optimized for speed a little
– it scans for about 2 hours now on my ~25k file collection …

Maybe regenerating the hashes on each and every track scanned is a
little overkill, don’t you think? I’d assume no one will change the
parameters while a scan is in progress …


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] MusicIP - Doing bizarro things to genres

2009-02-15 Thread Moonbase

No problem, I also only now checked back ;-)
Great that you could catch ’em!


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=59258

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-15 Thread Moonbase

Erland,

first, let me thank you for all the effort you put in your plugins.
Much appreciated!

I use MusicBrainz' Picard Tagging a lot and would like to use
CustomScan/CustomBrowse with these fields:

- ARTIST (ARTIST, TPE1)
- ARTISTSORT (ARTISTSORT, TXXX:ARTISTSORT *or* TSOP *or* XSOP)
- ALBUMARTIST (ALBUMARTIST, TPE2 *or* TXXX:ALBUMARTIST)
- ALBUMARTISTSORT (ALBUMARTISTSORT, TXXX:ALBUMARTISTSORT)
- LANGUAGE (LANGUAGE, TLAN)
- ORIGYEAR (ORIGYEAR, TORY)
- RELEASESTATUS (RELEASESTATUS, TXXX:MusicBrainz Album Status)
- RELEASETYPE (RELEASETYPE, TXXX:MusicBrainz Album Type)
  
-Internal name (FLAC tag name, ID3v2 tag name(s))-

(XSOP is set by MusicBrainz Picard for ID3v2.3 since TSOP was
introduced in ID3v2.4 only.)

Here are my questions:

  
- Is this (easily) possible?
- What would I have to put into the CustomScan fields?
- Can CustomScan/CustomBrowse handle tag frames that have blanks in
  them?
- Would I have to change CustomScan/Modules/CustomTag.pm (for the
  ID3v2 mappings)?
- Can CustomScan map tags n:1? (i.e., put ID3v2 XSOP, TSOP,
  TXXX:ARTISTSORT *or* Vorbis Comment ARTISTSORT into ONE internal
  database field?
- If yes, how can I specify a preference? (i.e., if both
  TXXX:ARTISTSORT *and* XSOP are present, use TXXX:ARTISTSORT)
- Would it be possible to make up something for CustomBrowse like »IF
  I have ORIGYEAR, use that, otherwise YEAR« (some of my files
  don#8217;t have ORIGYEAR but I still would like to browse by
  decades)?
- Does it make sense to specify
  »ARTIST=ARTISTSORT,ALBUMARTIST=ALBUMARTISTSORT« for sorting, because
  these *should* be handled by SC already?
  

I guess you see the picture #8230; I#8217;m trying to rebuild my
existing system (that I use with other software like MusicIP Mixer) for
SC, so the handling can be the same, even when listening for private
pleasure :-) And of course I can#8217;t change the tags wildly, since
these are used by other software (and for broadcasting).

Anyway, many thanks in advance for your feedback!


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-15 Thread Moonbase

I’m still playing around with your plugins (installed CustomBrowse
2.7.1, CustomScan 2.5, Dynamic Playlists 2.7, SQL Playlist 2.4 on a
Windows SC 7.4-25018), but I think I found a minor bug in
CustomBrowse:

-CustomBrowse / Playlists- shows -all- playlists somehow picked up by
playing radio stations (or having them in Favorites?):


Code:


  All Songs
  Chill | Relaxing mix of smooth electronica and trip-hop.
  Ambient | Exotic and hypnotic (but not noisy) electronica.
  181.FM Classic Hits 181 (Waynesboro, VA)
  Ambient
  Chill | Lounging Sound
  Chillout
  Das Wunschradio
  Electric Blues Radio (Riverview, FL)
  Exposure NYC
  Goa-Psy Trance
  http://207.200.96.227:8008/
  http://208.80.52.118/WOMCFMCMP3
  http://208.80.52.86/WOMCFMDIALUPCMP3
  http://energy10.egihosting.com:6100/
  http://mp3.webradio.rockantenne.de/
  http://mp3.webradio.rockantenne.de/
  http://s2.fairprice-streams.de:9390/
  http://uplink.duplexfx.com:6108/
  Key56 Radio Soul Hits (San Diego, CA)
  mms://wms-rly.181.fm/181-greatoldies
  MusicIP: 2009-01-30 Psych Rock
  MusicIP: Mix
  MusicIP: Moonbase - Trance Dance Remixes
  MusicIP: Now Playing
  Oldies 104.3 Detroit (Detroit, MI)
  Radio Paranoid
  Rock Antenne 87.9 (Modern Rock)
  Rock  Blues Xtreme (Riverdale, NY)
  Soul 106.3 (Lansing, IL)
  Soul Classics (Como, MS)
  Stream
  Stream
  Stream
  TANZEN-Discofox 1
  TANZEN-Discofox 2
  TANZEN-Discofox 3
  TANZEN-Discofox 4 (deutsch)
  TANZEN-Langsamer Walzer
  Test
  Wanhoffs Wunderbare Welt der Wissenschaft
  Who, The - Wire  Glass (Six Songs From A Mini-Opera)
  Wüste Welle 96.6 (Local Music)
  Zapped Songs
  



while the »original« -Playlists- shows only:


Code:


  MusicIP: 2009-01-30 Psych Rock
  MusicIP: Mix
  MusicIP: Moonbase - Trance Dance Remixes
  MusicIP: Now Playing
  TANZEN-Discofox 1
  TANZEN-Discofox 2
  TANZEN-Discofox 3
  TANZEN-Discofox 4 (deutsch)
  TANZEN-Langsamer Walzer
  Test
  Zapped Songs
  



-Dynamic Playlists- also shows the correct ones (not the radio
streams), plus the »Random/« entry of course.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-02-15 Thread Moonbase

My first attempt to solve the problem:

In -CustomScan / Module Settings Custom Tag-, I set

- -Tags to scan:-
  
*ARTIST,ARTISTSORT,ALBUMARTIST,ALBUMARTISTSORT,LANGUAGE,ORIGYEAR,RELEASESTATUS,MUSICBRAINZ
  ALBUM STATUS,RELEASETYPE,MUSICBRAINZ ALBUM TYPE*
- -Single value tags:- (empty for now)
- -Sort tag mapping:-
  *ARTIST=ARTISTSORT,ALBUMARTIST=ALBUMARTISTSORT*
  

In -CustomScan / Module Settings Mixed Tag-, I set

- -Artist tags:- *ARTIST*
- -Album Artist tags:- *ARTIST,ALBUMARTIST*
- -Track Artist tags:- *TRACKARTIST*
- -Conductor tags:- *CONDUCTOR*
- -Composer tags:- *COMPOSER*
- -Band tags:- *BAND*
- -Album tags:- *ALBUM*
- -Genre tags:- *GENRE*
- -Year tags:- *YEAR,ORIGYEAR*
- -Include custom tags:- *[x]*
- -Excluded custom tags:- (empty)
- -Names to show for user:-
  
*ALBUM(Album:Albums),ARTIST(Artist:Artists),GENRE(Genre:Genres),YEAR(Year:Years),CONDUCTOR(Conductor:Conductors),COMPOSER(Composer:Composers),BAND(Band:Bands),TRACKARTIST(Track
  Artist:Track Artists),ALBUMARTIST(Album Artist:Album
  Artists),ORIGYEAR(Original Year:Original
  Years),LANGUAGE(Language:Languages),ARTISTSORT(Artist,
  sorted:Artists, sorted),ALBUMARTISTSORT(Album Artist, sorted:Album
  Artists, sorted),RELEASESTATUS(Release Status:Release
  Statuses),MUSICBRAINZ ALBUM STATUS(Release Status:Release
  Statuses),RELEASETYPE(Release Type:Release Types),MUSICBRAINZ ALBUM
  TYPE(Release Type:Release Types)*
  

When doing a -Custom Browse / Tags-, it will show:

Code:


  Albums
  Album Artists
  ALBUMARTISTSORTs
  Artists
  ARTISTSORTs
  Composers
  Conductors
  Genres
  Languages
  Original Years
  Release Statuses
  Release Types
  Track Artists
  Years
  



Why are »ALBUMARTISTSORTs« and »ARTISTSORTs« in uppercase?

»Release Statuses« and »Release Types« show only data from the
RELEASESTATUS and RELEASETYPE tags in FLAC files, not anything from MP3
files MUSICBRAINZ ALBUM STATUS or MUSICBRAINZ ALBUM TYPE. I secretly
hoped that using the same display name would somehow aggregate both
under one entry ;-)

Any good suggestions on how I could improve this to better reach my
original goals?


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] Other Players plugin question

2009-02-14 Thread Moonbase

I#8217;d think its probably some CLI timeout issue, I#8217;ve seen
that (spinning wait icons instead of playlist) quite often here #8211;
with an unmodified SC7.3 and SC7.4 (Windows), both on SqueezePlay and a
real SBC.

My feeling is that it -might- have to do with having to recreate the
small album images and somehow timing out while it#8217;s still
processing.

From this, I#8217;d assume it#8217;s not a problem that lies within
Max#8217; plugin.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=59232

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


[SlimDevices: Plugins] MusicIP and MP2: A no-go?

2009-02-04 Thread Moonbase

MP2 files (MPEG-1 Layer 2) are still widely used in professional
broadcasting. I am glad that SqueezeCenter supports the MP2 format.
Those files can also be used (tagged) with Mp3tag.

Still it seems that MusicIP (at least the MusicIP Mixer v1.8.1b on
Windows) will -not- accept MP2 files if they are named
something*.mp2* (which they -should be-). At least the MPEG libraries
used with MusicIP/Windows -do- support MPEG-1 Layer 2 files, so I think
this has just been overlooked in the scanning modules (probably just
looking for *.mp3). [Does anyone know if MP2s work on Linux
headless?]

This leads to

- MP2 files not being seen in SC if an empty Music Folder is used
  (i.e., all song info comes from MusicIP), because they are simply not
  in the MIP library.
- MP2 files not being mixable if a Music Folder is used in addition
  to MusicIP, because SC will see (and handle) the MP2 files but
  MusicIP won’t know about them.
  

I filed a 'report on MusicIP's forum'
(http://forums.musicip.com/index.php?showtopic=4135hl=mp2) — maybe you
want to support it.

A (temporary) workaround is to rename the *.mp2 files to *.mp3 —
which I wouldn’t really advise, since one loses the overview, and other
software might require the .mp2 extension.

It would be better if MusicIP changed their scanning logic. [Maybe they
have done already for 1.9 beta? Does anyone know?]


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=59289

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


Re: [SlimDevices: Plugins] MusicIP - Doing bizarro things to genres

2009-02-04 Thread Moonbase

My crystal ball says you are using MP3s. Probably some software not
handling 'numeric TCON frames' (http://id3.org/id3v2.3.0#TCON)
correctly.

You might want to use another tagging software like 'Mp3tag'
(http://mp3tag.de/en/) and write textual genres instead (i.e., Hard
Rock instead of (79)).


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=59258

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


Re: [SlimDevices: Plugins] Announce: Playlist Manager v4.0 released

2009-01-31 Thread Moonbase

Happy to see that this useful plugin is kept up-to-date and evolving …
Thanks for your work, Phil!


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=59071

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


Re: [SlimDevices: Plugins] Nominations for Recommended 3rd Party Plugins

2009-01-19 Thread Moonbase

Sorry I'm a bit late, but I'd like to vote for (prioritized):

- MusicInfoSCR
- PlaylistManager
- CustomScan
- CustomBrowse
- Magnatune


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=56928

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


Re: [SlimDevices: Plugins] SoftSqueeze: Unable to play songs when connected remotely

2008-12-28 Thread Moonbase

'Forgot port forwarding?'
(http://wiki.slimdevices.com/index.php/ConnectingRemotely)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)

Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=57244

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