Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-04-07 Thread nervoteso

an other question: is there a way to solve the spotify issue? i mean
when some spotify songs are not played cos not available in my country
(music stops and song is not skipped).

do you think if i subscribe deezer i could solve? anyway it seems if i
set deezer option no tracks are played by deezer



nervoteso's Profile: http://forums.slimdevices.com/member.php?userid=30262
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: CDplayer plugin

2013-04-07 Thread elektronaut0815

bpa wrote: 
 Are you using a 64 bit kernel ?
Yes.
 If so have you installed ia32-libs  package ?
No. Should I? This would download  67.1 MB and use 214 MB on the disk:

Code:

$ sudo apt-get install ia32-libs-multiarch
  ...
  The following NEW packages will be installed:
  bluez bluez-alsa:i386 esound-common gcc-4.6-base:i386 glib-networking:i386 
glib-networking-common glib-networking-services gstreamer0.10-plugins-base:i386
  gstreamer0.10-plugins-good:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 
gtk2-engines-oxygen:i386 gtk2-engines-pixbuf:i386 gvfs:i386 gvfs-common 
gvfs-daemons
  gvfs-libs gvfs-libs:i386 ia32-libs-multiarch:i386 ibus-gtk:i386 libaa1:i386 
libacl1:i386 libaio1:i386 libao-common libao4:i386 libasn1-8-heimdal:i386
  libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libatasmart4 
libatk1.0-0:i386 libattr1:i386 libaudio2:i386 libaudiofile1:i386 
libavahi-client3:i386
  libavahi-common-data:i386 libavahi-common3:i386 libavc1394-0:i386 
libbz2-1.0:i386 libc6:i386 libcaca0:i386 libcairo-gobject2:i386 libcairo2:i386
  libcanberra-gtk-module:i386 libcanberra-gtk0:i386 libcanberra0:i386 
libcap-ng0 libcap2:i386 libcapi20-3:i386 libcdparanoia0:i386 libcomerr2:i386 
libcroco3:i386
  libcups2:i386 libcupsimage2:i386 libcurl3:i386 libdatrie1:i386 libdb5.1:i386 
libdbus-1-3:i386 libdbus-glib-1-2:i386 libdrm2:i386 libdv4:i386 libesd0:i386
  libexif12:i386 libexpat1:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386 
libfreetype6:i386 libgail-common:i386 libgail18:i386 libgcc1:i386 
libgconf-2-4:i386
  libgcrypt11:i386 libgd2-xpm:i386 libgdbm3:i386 libgdk-pixbuf2.0-0:i386 
libgdu0 libgettextpo0:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 
libglib2.0-0:i386
  libglu1-mesa:i386 libgnome-keyring0:i386 libgnutls26:i386 libgomp1:i386 
libgpg-error0:i386 libgphoto2-2:i386 libgphoto2-port0:i386 libgpm2:i386
  libgssapi-krb5-2:i386 libgssapi3-heimdal:i386 
libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386 libgtk2.0-0:i386 
libgudev-1.0-0 libgudev-1.0-0:i386
  libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 
libhx509-5-heimdal:i386 libibus-1.0-0:i386 libice6:i386 libidn11:i386
  libiec61883-0:i386 libieee1284-3:i386 libjack-jackd2-0:i386 libjasper1:i386 
libjpeg-turbo8:i386 libjpeg8:i386 libjson0:i386 libk5crypto3:i386 
libkeyutils1:i386
  libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms1:i386 
libldap-2.4-2:i386 libltdl7:i386 liblvm2app2.2 libmad0:i386 libmikmod2:i386 
libmng1:i386
  libmpg123-0:i386 libncurses5:i386 libncursesw5:i386 libnspr4:i386 
libnss3:i386 libodbc1:i386 libogg0:i386 libopenal-data libopenal1:i386 
liborc-0.4-0:i386
  libp11-kit0:i386 libpango1.0-0:i386 libpcre3:i386 libpixman-1-0:i386 
libpng12-0:i386 libproxy1 libproxy1:i386 libpulse-mainloop-glib0:i386 
libpulse0:i386
  libpulsedsp:i386 libqt4-dbus:i386 libqt4-declarative:i386 
libqt4-designer:i386 libqt4-network:i386 libqt4-opengl:i386 
libqt4-qt3support:i386 libqt4-script:i386
  libqt4-scripttools:i386 libqt4-sql:i386 libqt4-svg:i386 libqt4-test:i386 
libqt4-xml:i386 libqt4-xmlpatterns:i386 libqtcore4:i386 libqtgui4:i386 
libqtwebkit4:i386
  libraw1394-11:i386 libroken18-heimdal:i386 librsvg2-2:i386 
librsvg2-common:i386 librtmp0:i386 libsamplerate0:i386 libsane:i386 
libsane-common libsasl2-2:i386
  libsdl-image1.2:i386 libsdl-mixer1.2:i386 libsdl-net1.2:i386 
libsdl-ttf2.0-0:i386 libsdl1.2debian:i386 libselinux1:i386 libsgutils2-2 
libshout3:i386 libslang2:i386
  libsm6:i386 libsndfile1:i386 libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 
libspeex1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl0.9.8:i386 
libssl1.0.0:i386
  libstdc++5:i386 libstdc++6:i386 libtag1-vanilla:i386 libtag1c2a:i386 
libtasn1-3:i386 libtdb1:i386 libthai0:i386 libtheora0:i386 libtiff4:i386 
libtinfo5:i386
  libudev0:i386 libunistring0:i386 libusb-0.1-4:i386 libuuid1:i386 
libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386 libvorbis0a:i386 
libvorbisenc2:i386
  libvorbisfile3:i386 libwavpack1:i386 libwind0-heimdal:i386 libwrap0:i386 
libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxaw7:i386 libxcb-glx0:i386
  libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386 libxcomposite1:i386 
libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 
libxft2:i386
  libxi6:i386 libxinerama1:i386 libxml2:i386 libxmu6:i386 libxp6:i386 
libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxslt1.1:i386 libxss1:i386 
libxt6:i386
  libxtst6:i386 libxv1:i386 libxxf86vm1:i386 odbcinst odbcinst1debian2 
odbcinst1debian2:i386 oss-compat python-dbus python-dbus-dev 
sound-theme-freedesktop udisks
  xaw3dg:i386 zlib1g:i386
  ...




elektronaut0815's Profile: http://forums.slimdevices.com/member.php?userid=47512
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

___
plugins mailing list
plugins@lists.slimdevices.com

[SlimDevices: Plugins] Announce: Wefunk Radio plugin

2013-04-07 Thread daduke

Hi,

I hacked together a first version of a plugin for Wefunk Radio (based on
Michael Herger's Band's Campout plugin). Since I can't post URLs in my
first post (?), I'll write a second one containing the links...


cheers,
-daduke



daduke's Profile: http://forums.slimdevices.com/member.php?userid=59512
View this thread: http://forums.slimdevices.com/showthread.php?t=98492

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


Re: [SlimDevices: Plugins] Announce: Wefunk Radio plugin

2013-04-07 Thread daduke

ok here we go:

http://wefunkradio.com

http://daduke.org/linux/lmswefunk.html

Please give it a try and provide feedback.

thanks,
-daduke



daduke's Profile: http://forums.slimdevices.com/member.php?userid=59512
View this thread: http://forums.slimdevices.com/showthread.php?t=98492

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


Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)

2013-04-07 Thread neilcoburn

neilcoburn wrote: 
 I don't understand it too - I only just switched to it - it certainly
 keeps asking for administrator permissions even though I'm set up as
 one.  I'll do a bit of research and see if there's a way of stopping
 this.  Or maybe I'll roll back to XP!

Hello again Triode, I couldn't work out the permissions issue with
Windows 8 so I've installed Windows 7, but seem to have similar problem.
Helper app won't start.  Log extract as follows

-[13-04-07 12:26:49.0679] main::init (354) Starting Logitech Media
Server (v7.7.2, r33893, Wed Mar 14 05:47:42 PDT 2012) perl 5.014001
[13-04-07 12:27:06.6023] Plugins::Spotify::Spotifyd::_writeConfig (204)
wrote config file: .conf
[13-04-07 12:27:06.6049] Plugins::Spotify::Spotifyd::__ANON__ (91)
unable to write log file: C:\ProgramData\Squeezebox\Logs\spotifyd.log
[13-04-07 12:27:06.6058] Plugins::Spotify::Spotifyd::__ANON__ (95)
starting  C:\ProgramData\Squeezebox\Logs\spotifyd.log
[13-04-07 12:27:11.7499] Slim::Plugin::MusicMagic::Plugin::initPlugin
(268) Can't connect to port 10002 - MusicIP disabled.
[13-04-07 12:27:15.1251] Plugins::Spotify::ProtocolHandler::BEGIN (32)
Working with existing handler: 
[13-04-07 12:27:16.9498] Plugins::Spotify::Spotifyd::__ANON__ (114) :
failed
[13-04-07 14:14:22.8262] Plugins::Spotify::Settings::__ANON__ (209)
attempting to set password
[13-04-07 14:14:23.8419] Plugins::Spotify::Settings::__ANON__ (215)
error: Connect timed out: Bad file descriptor, retries left: 2
[13-04-07 14:14:26.8428] Plugins::Spotify::Settings::__ANON__ (209)
attempting to set password
[13-04-07 14:14:27.8501] Plugins::Spotify::Settings::__ANON__ (215)
error: Connect timed out: Bad file descriptor, retries left: 1
[13-04-07 14:14:30.8510] Plugins::Spotify::Settings::__ANON__ (209)
attempting to set password
[13-04-07 14:14:31.8596] Plugins::Spotify::Settings::__ANON__ (218)
failed to set password-



neilcoburn's Profile: http://forums.slimdevices.com/member.php?userid=653
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

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


Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)

2013-04-07 Thread Triode

neilcoburn wrote: 
 Hello again Triode, I couldn't work out the permissions issue with
 Windows 8 so I've installed Windows 7, but seem to have similar problem.
 Helper app won't start.  Log extract as follows
 
 -[13-04-07 12:26:49.0679] main::init (354) Starting Logitech Media
 Server (v7.7.2, r33893, Wed Mar 14 05:47:42 PDT 2012) perl 5.014001
 [13-04-07 12:27:06.6023] Plugins::Spotify::Spotifyd::_writeConfig (204)
 wrote config file: .conf
 [13-04-07 12:27:06.6049] Plugins::Spotify::Spotifyd::__ANON__ (91)
 unable to write log file: C:\ProgramData\Squeezebox\Logs\spotifyd.log
 [13-04-07 12:27:06.6058] Plugins::Spotify::Spotifyd::__ANON__ (95)
 starting  C:\ProgramData\Squeezebox\Logs\spotifyd.log
 [13-04-07 12:27:11.7499] Slim::Plugin::MusicMagic::Plugin::initPlugin
 (268) Can't connect to port 10002 - MusicIP disabled.
 [13-04-07 12:27:15.1251] Plugins::Spotify::ProtocolHandler::BEGIN (32)
 Working with existing handler: 
 [13-04-07 12:27:16.9498] Plugins::Spotify::Spotifyd::__ANON__ (114) :
 failed
 [13-04-07 14:14:22.8262] Plugins::Spotify::Settings::__ANON__ (209)
 attempting to set password
 [13-04-07 14:14:23.8419] Plugins::Spotify::Settings::__ANON__ (215)
 error: Connect timed out: Bad file descriptor, retries left: 2
 [13-04-07 14:14:26.8428] Plugins::Spotify::Settings::__ANON__ (209)
 attempting to set password
 [13-04-07 14:14:27.8501] Plugins::Spotify::Settings::__ANON__ (215)
 error: Connect timed out: Bad file descriptor, retries left: 1
 [13-04-07 14:14:30.8510] Plugins::Spotify::Settings::__ANON__ (209)
 attempting to set password
 [13-04-07 14:14:31.8596] Plugins::Spotify::Settings::__ANON__ (218)
 failed to set password-

Its something more specific with your setup then as windows 7 works for
many users.  I don't understand why the config file is not
spotifyd.exe.conf which is what I would expect.



Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

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


Re: [SlimDevices: Plugins] Announce: Wefunk Radio plugin

2013-04-07 Thread Michael Herger

Please give it a try and provide feedback.


Will do!

I added your repository file to the 3rd party section in LMS' plugin  
installer.


--

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


Re: [SlimDevices: Plugins] Announce: Alternative Web Interface (beta)

2013-04-07 Thread Roland0

Wirrunna wrote: 
 
 I've been using the function to display other jpg files and have have a
 couple of comments -
 1. There is an icon that when clicked resize image to window size, I
 suggest that the resized image be the default display and the icon
 display image at original size.
 2. If there is more than one image, e.g. a booklet painstakingly
 scanned, the user has to close the first image displayed, right click on
 the postage stamp sized cover art and select the next image to display.
 Could a simple arrows be added up near the resize icon if there is more
 than one image ? e.g. Next Image, Last image kind of thing.
 
I'll put this into the next version.

 
 3. In the Currently Playing section, could an indicator be added to
 indicate the presence of extra images - then maybe if the album cover
 image is clicked display the cover image at window size complete with
 the arrows mentioned in #2.
 
Not so sure about this. What type of indicator would this be?

 
 4. Cosmetic problem on my display, the little window that pops up after
 right clicking the small image has the list of images repeated.
 (Chrome)
 
Do you mean the Image context menu? Never have seen this - can you
enable debug level logging for the plugin in Settings/Advanced/Loggin,
right-click the cover image and look for a message like this:

Code:


  [13-04-07 22:32:53.1405] Plugins::LMSnewGUI::Plugin::getImagesForTrack (1528) 
res=[{'width' = 600,'name' = 'altcover','url' = 
'/plugins/LMSnewGUI/dynImage.jpg?imagePath=/data/music/Artist - 
Album/altcover.jpg','trackid' = '709506','height' = 592},{'width' = 
500,'name' = 'cover','url' = 
'/plugins/LMSnewGUI/dynImage.jpg?imagePath=/data/music/Artist - 
Album/cover.jpg','trackid' = '709506','height' = 494}]
  



Are there any images duplicated already in this output?

 
 You appear to be putting a lot of effort into Discogs data retrieval - 
 
Discogs is just brilliant, they have data on just about any release ever
produced (even really obscure bootlegs limited to 10 hand-signed audio
cassettes distributed as a bonus for a fanzine published in Ecuador in
1983 ;-)

 
 what data do you send Discogs to identify the currently playing track -
 in my limited testing I appear to get nothing back, what should I expect
 ? ... there is not much in the Help
You should expect most of the data that's being displayed on the
discogs.com website for releases and artists.
For a release (~album), the search is done using artist, album title and
year (if available). I have a hit rate of nearly 100%, if it's not found
it's usually that I have the year wrong, or that the title is different
(e.g. having the type of the album included, as in Whatever EP,
Whatever (Remastered)). Have a look at the network section in Chrome's
Dev Tools to see what's sent. Example:

Code:


  
http://api.discogs.com/database/search?type=masterartist=Seefeelrelease_title=Polyfusiayear=
  


If there is a results section in the response, the album has been
found. Example:

Code:


  ... results: [{style: [Abstract, IDM, Shoegazer, Ambient], ...
  


You can take the API link, change the parameters for one of your albums,
and test it yourself in a browser.



Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=98186

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


Re: [SlimDevices: Plugins] Announce: CDplayer plugin

2013-04-07 Thread bpa

elektronaut0815 wrote: 
 Yes.
 
 No. Should I? This would download  67.1 MB and use 214 MB on the disk:
 

LMS support appilcations are built for a 32 bit kernel. This include the
special patched version of Flac which you need to encode the CD track
into Flac to send to player.  I believe this is the source of problem
not hearing the audio - if it isn;t you can uninstall the package.

You have two choices
1. Build a 64 bit version of Flac with the LMS patches for your system.
2. Install ia32-libs. A lot of libraries are installed but I think only
a few are actually loaded when Flac runs.



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

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-04-07 Thread Roland0

As much as I like the SmartMix plugin, I find myself not actually using
it. The reason for this is that I'd like to have it play what I like,
and not any song similar to xyz, no matter if I like it.
The cause for this is the way ratings are handled:
- In TEN, ratings are 0-10, the default being 5. Ratings 5 are
negative
- In LMS, ratings are 0-100 (although from a user's perspective, it's
0-5 (or 0-10) stars, which maps to 0,20,40,...). What they mean depends
on the user doing the rating, for me, it's the same principle as TEN
uses (i.e. I don't want to hear songs with = 2 stars)

The SmartMix plugin maps the values in an (for me) unexpected way:
divide by 20, and add 5 to the result. This means that songs I hate (1
star) get an above-average positive rating at TEN (6 out of 10). It also
compresses all LMS ratings in a narrow range( 5-10) at TEN, potentially
giving the selection algorithm less information to decide which track is
preferred to another.

The solution would be actually pretty simple:
- let the user decide how the mapping works (1:1, the way it does now,
...)
- as a consequence, it would make sense to optionally limit the catalog
export to certain LMS ratings (e.g.  60 in my example)

Here's  a hard-coded solution implementing the 1:1 mapping, and the
limit  50 (original lines commented out):

Code:


  Importer.pm line 131:
  # TEN ratings are 0-10, with default being 5. 4 is negative rating
  # LMS ratings are 0-100, all positive - we need to map these values
  my $rating = $track-persistent-rating;
  if (defined $rating  $rating = 100  $rating = 0) {
  #$rating = int(($rating + 10) / 20);
  $rating = int(($rating + 5) / 10);
  
  # we don't handle negative ratings yet
  # $item-{rating} = $rating + 5;
  $item-{rating} = $rating;
  }
  }
  
  push @data, {
  item = $item
  # };
  } if( $item-{rating}  $item-{rating} = 5  );
  


This works very well for me. The only trade-off is that, if you limit
the export, there are obviously a lot fewer tracks to start your Smart
Mix with (similar to excluding genres)

I don't know if this use case of SmartMix is something many people are
interested in. If it is, it's be fairly little effort to implement
(basically, 2 more user preferences, plus above code with some ifs)

Michael, what do you think?



Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-04-07 Thread Michael Herger

here's the log


Unfortunately you didn't enable debug logging before running this scan.  
Which now doesn't give us any additional information...


--

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-04-07 Thread Michael Herger

The cause for this is the way ratings are handled:
- In TEN, ratings are 0-10, the default being 5. Ratings 5 are
negative
- In LMS, ratings are 0-100 (although from a user's perspective, it's
0-5 (or 0-10) stars, which maps to 0,20,40,...). What they mean depends
on the user doing the rating, for me, it's the same principle as TEN
uses (i.e. I don't want to hear songs with = 2 stars)


Hmm... my understanding was that LMS didn't know negative ratings. What  
ratings solution are you using in LMS?



The solution would be actually pretty simple:
- let the user decide how the mapping works (1:1, the way it does now,
...)


No need to let the user decide. Either my mapping code is right, or it's  
wrong, isn't it?



Michael, what do you think?


I'll have to review how ratings are being handled. Is there any other  
solution using them than some of Erlands'?


--

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


Re: [SlimDevices: Plugins] Windows 8 App

2013-04-07 Thread Archimago

Thanks for the app.  Works great on my ASUS Taichi.

One request. Can you please increase the number of New Music albums
displayed? Currently I'm seeing about 70 items only even though LMS New
Music Limit is set much higher (500)...  I like flipping through the
new albums added to make sure I don't forget to listen to some of the
newer additions.



Archimago's Profile: http://forums.slimdevices.com/member.php?userid=2207
View this thread: http://forums.slimdevices.com/showthread.php?t=97998

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