Discussion:
Max2Play Webinterface for Mediaclients (Audioplayer, Squeezeserver, Airplay, XBMC)
flysurfer
2014-07-21 13:06:03 UTC
Permalink
I'd like to present my project for an alternative Squeezebox-Player with
included Squeezebox-Server, Airplay functionality and XBMC for usage as
set-top-box.

I already posted this in the German part of this forum, but as the
project is translated into English there might be some more people here
that are interested.

The Hardware needed to use the Max2Play-Download-Image is an ODROID U3
Board. This is quite a strong ARM-Board with lots of power ;) Max2Play
can also be used on other Linux-Distributions and platforms like
Raspberry, but needs a little configuration to run.

The main goal of Max2Play was to transfer the control of the ODROID to
your Smartphone or tablet and therefore not needing keyboard and mouse
anymore. With just a LAN / WiFi connection the browser interface of
Max2Play and APPs like iPeng or XBMC-Remote make it real easy to use the
ODROID as a audio- and video player.

FEATURES AND APPS OF THE MAX2PLAY IMAGE:

- Browser interface for configuration - default located on
http://max2play
- Audio player start / stop / autostart: Squeezelite,
Shairport, Squeezeslave, Equalizer with Alsaequal for Squeezeslave and
Shairport
- Squeezeboxserver: Installation and configuration with the
webinterface
- XBMC 13 (Gotham) start / stop / autostart
- Filesystem Shares: setup network (e.g. NAS) shares or samba
- WiFi configuration
- Reset / Reboot / playername / language, keyboardlayout,
timezone / one-click-update of webinterface by button,
Plugin-configuration
- tellows-Callblocker-Plugin for VOIP-Usage and analog
telephones
- advanced settings (e.g. disable blink of blue LED of
ODROID)
- automatic mount of usb-storage with usb-idle if no activity
- asound-configuration for ALSA (Audioplayer) and Pulseaudio
(XBMC)
- Audioplayer may play simultanous and use equalizer
- if XBMC starts all audioplayer stop automaticaly

XBMC 13 FEATURES (INCLUDED IN IMAGE):

- very good video performance (1080p) - no tearing /
framedrops
- fast interface-control
- easy integration of 5.1 USB-Soundcards with digital out and
Passthrough to AV-Receiver (X-FI or LogiLink 7.1)
- Airplay for music, pictures and videostreams (from browser)
- still problems with video from camera[/INDENT]


The Image for the ODROID can be downloaded here:
http://shop.max2play.com/en/image-max2play

More details on the Max2Play-Webinterface (pictures and background
infos) can be found here: https://github.com/max2play/webinterface

Currently I use multiple ODROIDs with Max2Play in my living room,
bathroom, bedroom and terrace. They are all connected to the
squeezeserver on the ODROID in the living room that is connected to an
AV-Receiver for video (XBMC) and audio (squeezelite) streaming. I really
like the setup and the possibility to configure things with the
Smartphone with the webinterface.

Any feedback is welcome!

Stefan



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-24 07:57:31 UTC
Permalink
I tried an earlier version of max2play and there was no easy way to
install different versions of LMS, has that been added in the latest
version? When I tried to SSH into the device the default language was
German, is that configurable?


------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-07-24 09:26:50 UTC
Permalink
Hi slartibartfast,

the LMS-Version is not yet configurable through the webinterface -
therefore you have to SSH and install it manually. I'll probable add
this to the next version.

You can change the language and timezone for SSH and Desktop under
"Reset/Reboot" in the webinterface. I just found a small bug when
changing that will also be fixed in the next version: you have to
manually edit the file /etc/default/locale and set the line LANGUAGE=""
to the same language as LANG="".



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-07-24 13:22:28 UTC
Permalink
UPDATE: Now with version 0.99 you may choose which Squeezeboxserver you
want to install (7.8 or 7.9 nightly). You can also add an URL from
downloads.slimdevices. The language-bug is also fixed.
You may update the webinterface by clicking the "Update max2play" Button
on tab "reset / reboot".

@slartibartfast: give it a try - would like to hear if its working for
you



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-24 19:10:39 UTC
Permalink
flysurfer wrote:
> UPDATE: Now with version 0.99 you may choose which Squeezeboxserver you
> want to install (7.8 or 7.9 nightly). You can also add an URL from
> downloads.slimdevices. The language-bug is also fixed.
> You may update the webinterface by clicking the "Update max2play" Button
> on tab "reset / reboot".
>
> @slartibartfast: give it a try - would like to hear if its working for
> you
I am trying it now. Installation of the latest 7.8.1 nightly went
smoothly and also changing the language. So far so good.




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-24 19:50:02 UTC
Permalink
flysurfer wrote:
> UPDATE: Now with version 0.99 you may choose which Squeezeboxserver you
> want to install (7.8 or 7.9 nightly). You can also add an URL from
> downloads.slimdevices. The language-bug is also fixed.
> You may update the webinterface by clicking the "Update max2play" Button
> on tab "reset / reboot".
>
> @slartibartfast: give it a try - would like to hear if its working for
> you
One strange thing is that some German language has appeared in my
squeezebox menus. Not everywhere but favourites has become favoriten and
a few other places. Deluxe Radio has also appeared in my favourites.




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-25 10:49:55 UTC
Permalink
I have mounted my external USB HDD which is directly connected to the
Odroid as type "cifs". Is that correct? It is not completely clear what
the options for "type" are. The squeezeplug had different mount options
for USB (vfat or NTFS), NFS etc.


------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-27 09:08:09 UTC
Permalink
I've replaced my fat32 hard disk with a NTFS formatted disk and now I
cannot access files with special characters. I thought that since the
USB drive is automatically mounted, UTF8 compatibility would be
included. There does not appear to be an fstab entry for the USB drive
so how do I add UTF8?




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-27 10:28:45 UTC
Permalink
If I start xbmc all I see is a black screen. How do I set up the host in
the xbmc remote? Do I need to enter anything for username, password and
access point? Sorry for all the dumb questions.




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-28 22:30:11 UTC
Permalink
When I reboot the odroid using the max2play web interface the usb drive
does not get mounted even though it was perfectly mounted before the
reboot. Blkid in putty shows /dev/sda1 exists but it is not mounting.




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-07-29 08:30:04 UTC
Permalink
Hi slartibartfast,

automounted USB-Disks should appear under "/media/usb" even after
restart. If you use the desktop environment then you can also mount as
user odroid and then the mountpoint is little different. UTF-8 should
also work and the mountpoints of the USB-drives are managed by usbmount
(program). You can use the "filesystem mount"-tab on the webinterface to
share the data to other network users via samba OR mount network
resources (e.g. from a NAS).

XBMC: remote access is enabled by default as you have seen - black
screen with console may appear if you boot the device and it is NOT
connected via HDMI (then it is not possible to start the X-Server and
you have to reboot).

LMS: the max2play-image has some configs from the LMS left on the
SD-card. There is the radio station in the configs that I used to test
with - just delete it if you don't like it ;)



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-31 09:38:32 UTC
Permalink
flysurfer wrote:
> Hi slartibartfast,
>
> automounted USB-Disks should appear under "/media/usb" even after
> restart. If you use the desktop environment then you can also mount as
> user odroid and then the mountpoint is little different. UTF-8 should
> also work and the mountpoints of the USB-drives are managed by usbmount
> (program). You can use the "filesystem mount"-tab on the webinterface to
> share the data to other network users via samba OR mount network
> resources (e.g. from a NAS).
>
> XBMC: remote access is enabled by default as you have seen - black
> screen with console may appear if you boot the device and it is NOT
> connected via HDMI (then it is not possible to start the X-Server and
> you have to reboot).
>
> LMS: the max2play-image has some configs from the LMS left on the
> SD-card. There is the radio station in the configs that I used to test
> with - just delete it if you don't like it ;)

Hi,
UTF8 is indeed working now, my problem showed up when I copied the
contents of my old external HDD to a new WD elements external HDD using
windows. When I plugged the new drive into the ODROID and viewed it over
SAMBA accented characters etc showed incorrectly so I assumed the drive
was not mounted with UTF8 compatibility. After deleting all the
incorrectly displayed files and recopying them over the SAMBA share
everything is fine with UTF8.

I think the automount problem may be related to the WD Elements HDD.
Googling this produced lots of results. I can get it mounted again by
unplugging and replugging the usb cable and the ODROID power but I have
not found the optimum sequence for doing this yet. Maybe a Cron job
would solve this since from what I've read manual mounting works when
automounting fails but that is going to take a bit more research as
Ubuntu is still a bit of a mystery to me.

Rebooting did solve the XBMC issue.

Overall I'm very pleased with the way it is performing, a complete scan
of 32000 tracks takes about 20 mins now rather than well over 90 mins on
my Goflex net.

Is it advisable to update Ubuntu? (Just updates to 13.10 not to 14)


------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-07-31 12:30:15 UTC
Permalink
Good to hear that its working! You should not update the max2play-image
to Ubuntu 14 as there are a lot of changes that might crash the
functionality.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-07-31 14:15:34 UTC
Permalink
flysurfer wrote:
> Good to hear that its working! You should not update the max2play-image
> to Ubuntu 14 as there are a lot of changes that might crash the
> functionality.

What about security updates to Ubuntu 13.10?


------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-08-02 15:14:32 UTC
Permalink
@Max2Play

I just moved my Server over to your image from Squeezeplug 7. I like the
webinterface (although I did a have a few hassles installing the latest
7.9 nightly...it chose an older one for some reason and I had to
manually switch to the latest Nightly).

I could not find a way to resized the filesystem to the full size of my
SD card. Is this done automatically or do I have to do this manually via
SSH?

Thanks.


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
bakker_be
2014-08-06 08:24:25 UTC
Permalink
Hi,
in the German thread I read that the Odroid with Max2Play doesn't output
5.1 without external soundcard. What do you mean exactly by that:


- It doesn't do analog 5.1 over HDMI
- It doesn't do DTS/ Dolby Digital passthrough over HDMI
- no 5.1 at all over HDMI
- something else entirely ;)



Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-08-06 10:44:04 UTC
Permalink
Hi bakker_be,

the ODROID cannot 5.1 at all over HDMI. If you want 5.1 you always have
to connect a external soundcard via USB. This is not a limitiation from
Max2Play.

@CommanderROR:
To expand the filesystem you have to use SSH. There is no function for
this yet.

To configure Squeezelite and other things in detail (buffer, etc.) you
also have to use ssh right now. If anyone likes to support me in adding
this to the webinterface -> I don't know which settings would be usefull
as I am happy to use it "as it comes" without much additional settings.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-08-06 11:21:31 UTC
Permalink
@flysurfer

maybe you can contact the guy that created PiCorePlayer. He has somebody
why helped him with the webinterface.
Configuring Squeezelite and expanding rootfs are essential IMHO.

Also, there are still bugs in your webinterface, especially when
stopping and starting LMS it always gives me errors even though it
actually works...

Still, it's a good start. Squeezeplug is great, but a webinterface is so
much nicer to use...


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-08-18 08:19:17 UTC
Permalink
@flysurfer

I updated to your 1.01 release yesterday and like the new features.
Sadly it seems the webinterface is still buggy, at least on Chrome
browser, it installed LMS 7.7.0 when I chose "latest 7.9.0 nightly".
Entering the link manually works fine. I'm not sure what went wrong, but
I repeated the process twice, and got the same result both times.


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-08-18 09:45:04 UTC
Permalink
@CommanderROR
thanks for your feedback!
I just tested the squeezeserver install in chrome and everything works
as expected - I cannot reproduce the problem. It is necessary that you
have javascript in your browser enabled for this installation. The link
from the package that you choose from the select-box will be copied to
the input box right obove the "start installation"-button with
javascript. Can you confirm that the link is correct after you choose
the package?



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-08-19 17:42:02 UTC
Permalink
@flysurfer

The link looks correct. I don't know what went wrong. I don't really
want to do another installation right now, I'll try it again in a week
or so and let you know if I'm still getting errors.


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-08-20 09:28:09 UTC
Permalink
@flysurfer

I had some issues with Google Play Music tracks having short distortion
at the beginning of the track so I looked into your squeezelite
parameters and have some suggestions...

First of all, I'd always suggest using the "hw" parameter instead of
"plug" or similar. It brings down the CPU useage significantly.

For the internal sound card, I'd suggest using the default parameters:

"Squeezelite -o hw:CARD=ALSA -a 80:4 -n YourNameHere -m
xx:yy:zz:11:22:33" (make the MAC address of the player the same as the
MAC of the network interface)

If you use Squeezelite with advanced parameters like upsamling, this
will eat a lot of CPU power if you leave it running on "plug" instead of
"hw".
The Odroid has enugh CPU power, but there is no reason to waste it.. ;)

Another suggestion: if the system us used only for Squeezelite/LMS, then
removing Pulsaudio is probably a good idea since it can interfere with
ALSA and cause sound problems. Maybe you can make this an option on the
webinterface?

Thanks.


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-08-25 17:12:14 UTC
Permalink
Hello,

a new version with an easy to install jivelite-Plugin (available on
settings-page) and some adjustable things like start-parameters to
squeezelite is available as image and as an update in the webinterface.

@CommanderROR: The mixer device is used to get shairplay and squeezelite
to work together. Without it, I always had problems because they both
try to capture the device. Pulseaudio is needed for XBMC and desktop
usage. As this is more a One-For-All Image for people that are not very
familiar with linux, it's difficult to remove important parts (somone
might click uninstall pulseaudio without actually knowing what it
means). The mixer-device uses alsa and I never had problems with music
on Max2Play. "Google Play Music tracks having short distortion" can I
reproduce this?



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-08-25 23:26:47 UTC
Permalink
@flysurfer

I played around with the settings for a bit and realized, that I had
some things mixed up during testing:

The Odroid built-in audio needs some adjustments to the alsa buffer,
otherwise there are noticeable "pops" during playback, both in webradio
and Google Music. This is easily fixed with the "-a 80:4" setting. I
still get some slight noise, but it is much better. I'll experiment with
higher settings. I'm a bit spoiled,because I use Raspberry Pi with
Hifiberry DAC/Digi for my player devices, and the sound is really great
without any noise or distortion.
The dmix option actually causes a slightly higher CPU load, which is why
I don't like to use it, however, if I use the "hw" parameter, then the
-a settings are ignored, and the "pops" during playback are back.

So, while I prefer "hw" because of the lower CPU load (but it's still
very low, even with dmix), it doesn't work as well on the Odroid, so I
take back my recommendation... ;)

I understand about Pulseaudio and XBMC...I just know that it can cause
problems. Let's just hope that it's OK on the Odroid. I removed it
manually, which is not really a big deal.

I'll try to use a USB soundcard with the Odroid next and will see how
well that works. The internal audio is much better than on the Pi, but
I'm not completely satisified with it yet.

Anyway, thanks for your hard work and frequent updates!


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-27 09:03:36 UTC
Permalink
Thanks for the image. After I saw you have upgraded to ubuntu 14.04, I
gave it a try and it solved almost all my problems to have LMS and Xbmc
on same device with easy configuration, easy updates and good
performance.

I have one problem and one concern for future use:

- I can't add my locale and timezone. I tried to ssh and run odroid or
squeezeplug setups; tried to add locale by running locale-gen etc. But
there are still same default locales on max2play list. How can I add a
new locale and set correct timezone?

- I'm not using Squeezelite, Shairplay at the moment, but I have a
concern for future setups. I understand Squeezelite and XBMC can't run
on same time and you have to quit one of them. I can quit Xbmc from
Yatse or other remote and have squeezelite ready, that's ok. But how
will I restart Xbmc with remote or Yatse again? Is there a way to
automate this? Maybe xbmc should restart automatically if Squeezelite is
not playing.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-08-27 11:47:33 UTC
Permalink
Hi,
there was a small bug while changing the language in the new Image
(language didn't change at all after setting in webinterface). I solved
this in the last update 1.07.
If you want to have more languages please let me know - I will add them
to the Max2Play-Image.

If you want to add a new Language on your own then you have to
1. set up language with locale gen - example for russian language:
"locale-gen ru_RU.UTF-8"
2. edit /etc/default/locale and set new language parameters
3. edit /etc/default/keyboard to set keyboard layout
4. edit /etc/timezone for an other timezone and start "dpkg-reconfigure
-f noninteractive tzdata" to reload timezone

Start/Stop XBMC: you can always use the webinterface of Max2Play to
start/stop any of the services. Squeezelite and Shairport are
automatically started (if autostart is enabled), once XBMC is stopped.
So all you have to do is open the webinterface on your smartphone /
computer and start XBMC if you want to watch videos.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-27 12:40:03 UTC
Permalink
--> there was a small bug while changing the language in the new Image
> (language didn't change at all after setting in webinterface). I solved
> this in the last update 1.07.
> If you want to have more languages please let me know - I will add them
> to the Max2Play-Image.

I will appreciate if you can add "Istanbul/tr_TR.utf8" option to the
list, but thanks for the detailed info, too.


--> Start/Stop XBMC: you can always use the webinterface of Max2Play to
> start/stop any of the services. Squeezelite and Shairport are
> automatically started (if autostart is enabled), once XBMC is stopped.
> So all you have to do is open the webinterface on your smartphone /
> computer and start XBMC if you want to watch videos.

Yes, that's ok for me, but not that user friendly and easy for
everybody, especially when sitting in front of TV. Take it as a
petition, please.

--Which xbmc packages should we use to upgrade? Modified ones from
odroid forum or xbmc deb files directly?
-- Is apt-get update/upgrade ok with the image, or should we only wait
for max2play upgrades?

Thanks again
--


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-27 13:24:51 UTC
Permalink
I have a Duet in the system, it's not natively playing AAC streams, so
they were converted on server side and I had no issues.(that was on
Qnap)

Now with max2play other players (picoreplayer) are playing AAC natively,
but Duet is not playing anything AAC. I have checked fileformat
settings, everything seems normal to me, like before on Qnap. Should I
install something more with ssh? (I did apt-get install lame, something
more?)


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-08-27 14:24:45 UTC
Permalink
> --Which xbmc packages should we use to upgrade? Modified ones from
> odroid forum or xbmc deb files directly?
> -- Is apt-get update/upgrade ok with the image, or should we only wait
> for max2play upgrades?

Please take the XBMC-packages from the ODROID-Forum as they should work
as expected.
It should be safe to update/upgrade.

I don't know what is necessary for playing AAC on your Squeezebox-Duet.
If there is some package missing or the LMS needs to be configured in
some way - maybe anyone else in this forum knows?



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-27 14:48:17 UTC
Permalink
> I don't know what is necessary for playing AAC on your Squeezebox-Duet.
> If there is some package missing or the LMS needs to be configured in
> some way - maybe anyone else in this forum knows?
Ok, I will check the forum, it's probably ubuntu related.

I have changed my locale and timezone, it worked as you said, but I
still see EN-utf8 on settings/information tab and I have over 1500
unrecognized tracks by smartmix scan( I had around 150 unrecognized
tracks on Qnap with iso-8859-1). I think locale is not recognized by
LMS. How can I fix this?
BTW Time is correct now with your fix.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-08-27 16:02:14 UTC
Permalink
> I have changed my locale and timezone, it worked as you said, but I
> still see EN-utf8 on settings/information tab and I have over 1500
> unrecognized tracks by smartmix scan( I had around 150 unrecognized
> tracks on Qnap with iso-8859-1). I think locale is not recognized by
> LMS. How can I fix this?
If you had it working with iso-8859-1 you may edit the startparameter
"charset" in the startscript located here:
/etc/init.d/logitechmediaserver
Default is utf8 as it should work with most languages. There might be a
problem with smartmix (I don't know this program) using iso-8859-1 and
the squeezeboxserver using utf8.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-27 16:09:37 UTC
Permalink
flysurfer wrote:
> If you had it working with iso-8859-1 you may edit the startparameter
> "charset" in the startscript located here:
> /etc/init.d/logitechmediaserver
> Default is utf8 as it should work with most languages. There might be a
> problem with smartmix (I don't know this program) using iso-8859-1 and
> the squeezeboxserver using utf8.

Shouldn't LMS start with system locale charset, is it a different setup
needed?


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-27 18:15:02 UTC
Permalink
>
> I don't know what is necessary for playing AAC on your Squeezebox-Duet.
> If there is some package missing or the LMS needs to be configured in
> some way - maybe anyone else in this forum knows?

I've searched the forum, I think it's related to faad installation on
your image. I couldn't find any solution yet. I will try Squeezeplug for
odroid image to test. All I can say is, transcoding from aac to flac is
not working on max2play.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-27 19:10:39 UTC
Permalink
Squeezeplug for Odroid image transcodes aac to flac with no additional
setting or installation. I have tested with LMS 7.9 nightly and this is
the result for Soma FM Groove Salad AAC stream:
Bitrate: 128kbps CBR (Converted to 705kbps FLAC)

Maybe Thomas can help with this problem, I don't know if you have still
connection on this project.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-08-29 08:24:02 UTC
Permalink
Hi mkkyah,

thanks for your investigation on this problem! Have you tried installing
faad with
Code:
--------------------
apt-get install faad
--------------------
as root? Maybe that solves your problem - if yes I will add this to the
next release.

Charset of LMS: yes, the startup scripts defines the charset to UTF-8,
you may change the variable charset to your prefered ISO-Code and test
it again at
Code:
--------------------
/etc/init.d/logitechmediaserver
--------------------



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-29 09:02:34 UTC
Permalink
flysurfer wrote:
> Hi mkkyah,
>
> thanks for your investigation on this problem! Have you tried installing
> faad

Yes, I did try apt-get install faad; but it didn't help. I don't know
the details, but as far as I understand a patched version of faad comes
with LMS, regular one is not used. Maybe you should have a script that
patches or integrates faad after LMS installation on max2play; it's
beyond my knowledge.
I think it's a major issue for max2play, LMS must serve every player not
only squeezelite.
You can add lame to the next image, apt-get install lame worked easily
but it's an additional step for your target user.
I use xbmc, but stopped LMS for faad issue, I hope a fixed new version
of this almost perfect, easy to install and easy to manage package comes
soon.


> Charset of LMS: yes, the startup scripts defines the charset to UTF-8,
> you may change the variable charset to your prefered ISO-Code and test
> it again at >
Code:
--------------------
> > /etc/init.d/logitechmediaserver
--------------------
> >
>
>

Thanks, your instructions on first post and default LMS utf8 charset
worked. I've refreshed and checked log file of smartmix again, there are
no character problems anymore.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-08-29 12:50:03 UTC
Permalink
Faad and other binaries - the problem is with the 32bit files that come
with the Squeezeboxserver. They cannot be run with the 64bit
architecture of the current release.

I just changed some things in the installation of LMS to get faad, flac,
and sox to work (also installs lame). Just Update to the latest Max2Play
(Version 1.08) and install LMS again - then it should work (I couldn't
test it, because I have no device that needs transcoding)

There are still 3 binarys missing for the 64bit architecture (mac, sls,
wvunpack). Maybe anyone knows how to get them to work on the 64bit armhf
system or where to get the sources?



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-29 15:53:43 UTC
Permalink
--Perfect, we are back with transcoding. Duet is playing AAC again.
Is this patched faad now we are using? If nothing changed until today,
there are posts on the forum that telling normal faad is bugy for LMS
like stopping to play long files etc.

--We have additional TR and NL locale now.

--I've found a possible small bug in web-ui: I don't use Squeezelite and
Shairport, so Autostart Squeezelite and Autostart Shairport boxes are
unchecked by my setup, but after every upgrade (1.6>1.7 and 1,7>1.8)
they come back checked. Other settings are ok.

One more question: Is it possible to have HDMI for xbmc and analog
output or USB-DAC for LMS, without the need to turn off one of them?

Thanks again


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-08-29 20:26:50 UTC
Permalink
flysurfer wrote:
> Faad and other binaries - the problem is with the files that come with
> the Squeezeboxserver. They just do not work - and I am not sure why.
>
> I just changed some things in the installation of LMS to get faad, flac,
> and sox to work (also installs lame). Just Update to the latest Max2Play
> (Version 1.08) and install LMS again - then it should work (I couldn't
> test it, because I have no device that needs transcoding)
>
> The following is the difference between the file that works ("apt-get
> install faad") and the one that comes with squeezeboxserver:
> >
Code:
--------------------
> > ***@max2play:/usr/share/squeezeboxserver/Bin/arm-linux# file /usr/bin/faad
> /usr/bin/faad: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, BuildID[sha1]=a757f442432de771cda2aa3123d1144acdef75d2, stripped
> ***@max2play:/usr/share/squeezeboxserver/Bin/arm-linux# file faad
> faad: ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, stripped
>
--------------------
> >
> But the file that comes with squeezeboxserver is not executable and
> gives "-bash: ./faad: No such file or directory". That might also lead
> to further problems with plugins. Anyone knows why that happens?
Is this thread related to this issue?
http://forums.slimdevices.com/showthread.php?t=96603




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-08-30 07:57:49 UTC
Permalink
One of my podcast links is returning no action with max2play setup.
Programs are listed but trying to play clears the playlist and adds
nothing. I've checked with LMS on Qnap and same link is still working
fine.
It's an "advanced search" to rss from Archive.org and rss link is
returning working mp3 listing.

I have logged the issue:

Code:
--------------------
2014-08-30 10:40:47 squeezeboxserver_safe started.
[14-08-30 10:40:55.9308] main::init (368) Starting Logitech Media Server (v7.8.0, 1395409907, Thu Mar 27 13:20:53 PDT 2014) perl 5.018002
[14-08-30 10:42:01.6337] Slim::Utils::Misc::fixPath (587) Error: Dealing with single audiodir (/mnt/mountdir/Music) instead of mediadirs (
"https://archive.org/download/CazirCazir28.08.2014/format=VBR+MP3&ignore=x.mp3",
["/mnt/mountdir/Music", "/mnt/mountdir/Soundcloud"],
)
[14-08-30 10:42:01.6346] Slim::Utils::Misc::fixPath (587) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Utils/Misc.pm line 587)
frame 1: Slim::Utils::Misc::fixPath (/usr/share/perl5/Slim/Control/Commands.pm line 1473)
frame 2: Slim::Control::Commands::playlistXitemCommand (/usr/share/perl5/Slim/Control/Request.pm line 1883)
frame 3: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1883)
frame 4: Slim::Control::Request::execute (/usr/share/perl5/Slim/Control/Request.pm line 880)
frame 5: Slim::Control::Request::executeRequest (/usr/share/perl5/Slim/Player/Client.pm line 654)
frame 6: Slim::Player::Client::execute (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 627)
frame 7: Slim::Web::XMLBrowser::handleFeed (/usr/share/perl5/Slim/Web/XMLBrowser.pm line 1168)
frame 8: Slim::Web::XMLBrowser::handleSubFeed (/usr/share/perl5/Slim/Formats/XML.pm line 347)
frame 9: Slim::Formats::XML::gotViaHTTP (/usr/share/perl5/Slim/Networking/SimpleAsyncHTTP.pm line 363)
frame 10: Slim::Networking::SimpleAsyncHTTP::onBody (/usr/share/perl5/Slim/Networking/Async/HTTP.pm line 479)
frame 11: Slim::Networking::Async::HTTP::_http_read_body (/usr/share/perl5/Slim/Networking/IO/Select.pm line 139)
frame 12: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
frame 13: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 184)
frame 14: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 184)
frame 15: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 708)
frame 16: main::idle (/usr/sbin/squeezeboxserver line 658)
frame 17: main::main (/usr/sbin/squeezeboxserver line 1192)


--------------------


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-08-30 15:21:45 UTC
Permalink
Hi,

I read that this is now ready for Ububtu 14.04.
Sadly I cant' seem to update it, since all apt-get upgrade or even
"do-release-upgrade" don't do anything I hope I don't have to do a
complete reimaging?


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mherger
2014-08-31 08:45:27 UTC
Permalink
mkkyah wrote:
> One of my podcast links is returning no action with max2play setup.
> Programs are listed but trying to play clears the playlist and adds
> nothing. I've checked with LMS on Qnap and same link is still working
> fine.
>
>
>
> "https://archive.org/download/CazirCazir28.08.2014/format=VBR+MP3&ignore=x.mp3",
>

What version are you running on the QNAP? I think there's an issue with
httpS streams on anything prior to 7.8.1. You might want to install a
nightly build.



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR,
Smart Mix
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-01 12:44:57 UTC
Permalink
mherger wrote:
> What version are you running on the QNAP? I think there's an issue with
> httpS streams on anything prior to 7.8.1. You might want to install a
> nightly build.

My problem is with max2play image on odroid, which has 7.8.0 installed
(due to crossfade problem I had with Deezer on nightlies). So that can
be the reason; I will upgrade to a nightly to test the issue and report
back.

On Qnap I have 7.9 nightly and it's playing https podcast.

BTW: I have changed archieve.org search string a little bit(removed AND)
and it gave me http links, instead of https; that's my workaround for
now.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-02 11:57:26 UTC
Permalink
I found a solution to get the binaries of the squeezeboxpackage working
with the Max2Play-Image with Ubuntu 14 (missing symlink in library
folder). I will release it with the next update 1.09 and put it into the
squeezeboxserver installation. You need to update Max2Play and reinstall
squeezeboxserver to get the changes (settings will be kept).

@slartibartfast: it was not really connected to the 64bit vs 32bit
problem but the interpreter for the binaries was missing (not in place
where it should be)

@CommanderROR: to update to Ubuntu 14 please download the latest
Max2Play-Image (upgrading from Ubuntu 13 won't be as easy).

@mkkyah: Good to know that http-Links for Podcasts seem to work!

Code:
--------------------
--I've found a possible small bug in web-ui: I don't use Squeezelite and Shairport, so Autostart Squeezelite and Autostart Shairport boxes are unchecked by my setup, but after every upgrade (1.6>1.7 and 1,7>1.8) they come back checked. Other settings are ok.
--------------------

Well - the update package always overwrites the current settings for
autostart as it makes updates easier for new entries. I will change this
in the future.


Code:
--------------------
One more question: Is it possible to have HDMI for xbmc and analog output or USB-DAC for LMS, without the need to turn off one of them?
--------------------

Yes, it should be possible (but very special). If XBMC (running pulse)
does not try to capture the audio-device of the USB-DAC, squeezelite and
XBMC may run the same time. But if you use your USB-DAC for 5.1 sound in
XBMC, then you won't share it with squeezelite ;). As I still try to
focus on a "one for all" Image this feature won't be available by
default.

@mherger: thanks for your help on the podcast link - maybe you can help
me with this one too:

I have an other problem with the squeezeboxserver that tries to generate
a picture from a mp3. The music library has 30.000 songs and with Perl
5.14 under Ubuntu 13.10 everything works (Images are generated and
squeezeboxserver does not die), but with Perl 5.18 and Ubuntu 14.04
there are 2 albums that break the Media Library Scan and even bring the
squeezeboxserver to a permanent restart when it is trying to generate an
image out of the mp3.
Any ideas how this could happen or how to solve it?
May be important: For the Max2Play-Image I installed the CPAN
Image::Scale (version 0.8) from the CPAN sources and not the one that
comes with the squeezeboxserver (because I had problems with the testing
-> buildme.sh failed) . Are any changes to the official CPAN
Image::Scale, that might cause trouble?



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-02 14:29:36 UTC
Permalink
OK - solved the Problem with Image::Scale - applied the fix for the
assembler code and rebuilt the CPAN that comes with squeezeboxserver.
The Image::Scale that can be installed directly from CPAN is not working
correctly. I will add a fix for this in the next version to the
squeezeboxserver installation.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-03 09:47:38 UTC
Permalink
flysurfer wrote:
> OK - solved the Problem with Image::Scale - applied the fix for the
> assembler code and rebuilt the CPAN that comes with squeezeboxserver.
> The Image::Scale that can be installed directly from CPAN is not working
> correctly. I will add a fix for this in the next version to the
> squeezeboxserver installation.

Is this related to this warning:

> Pre-caching Artwork (288 of 809) Complete 00:01:08
>
> Media scan terminated unexpectedly (Scanning Progress)
>


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-04 11:53:04 UTC
Permalink
Squeezelite is working well with "-n XXXX -m xx:xx:xx:xx:xx:x -a 80:4::
-o sysdefault:CARD=Audio" options. It's playing from analog output, but
I need to stop xbmc again. What should I do to keep both xbmc and
squeezelite running from diffrerent outputs and not stop either one?


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-04 13:19:27 UTC
Permalink
@mkkyah

Code:
--------------------
Pre-caching Artwork (288 of 809) Complete 00:01:08
Media scan terminated unexpectedly (Scanning Progress)
--------------------

Yes, this looks like the problem that should be solved now.


Code:
--------------------
What should I do to keep both xbmc and squeezelite running from diffrerent outputs and not stop either one?
--------------------

To start xbmc as autostart without quitting squeezelite you should edit
"/opt/max2play/start_xbmc.sh" and remove "/etc/init.d/squeezelite stop"
and check the autostart option for XBMC in the webinterface.
To start squeezelite even when XBMC is running (also by autostart) you
should edit "/opt/max2play/start_audioplayer.sh" and change line
"xbmcrunning=$(ps -Al | grep xbmc | wc -l)" to "xbmcrunning=0"
If you start XBMC manual by webinterface the squeezelite will still be
stopped (hardcoded in webinterface) - so you have to enable autostart or
use the desktop to start it.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-04 17:00:35 UTC
Permalink
flysurfer wrote:
>
> To start xbmc as autostart without quitting squeezelite you should edit
> "/opt/max2play/start_xbmc.sh" and remove "/etc/init.d/squeezelite stop"
> and check the autostart option for XBMC in the webinterface.
> To start squeezelite even when XBMC is running (also by autostart) you
> should edit "/opt/max2play/start_audioplayer.sh" and change line
> "xbmcrunning=$(ps -Al | grep xbmc | wc -l)" to "xbmcrunning=0"
> If you start XBMC manual by webinterface the squeezelite will still be
> stopped (hardcoded in webinterface) - so you have to enable autostart or
> use the desktop to start it.

It worked a few times, but not with all reboots. Both Squeezelite and
Xbmc have autostart checked. Squeezelite is starting at boot once, then
on second reboot it fails etc.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-05 12:33:55 UTC
Permalink
Code:
--------------------
It worked a few times, but not with all reboots. Both Squeezelite and Xbmc have autostart checked. Squeezelite is starting at boot once, then on second reboot it fails etc.

Edit:
I've found a "xbmcrunning=$(ps -Al | grep xbmc | wc -l)" line in /etc/init.d/squeezelite and changed it to "xbmcrunning=0". That helped to start both in startup a while. (maybe a coincidence, I'm not sure if it was neccessary)
But even when xbmc and squeezelite are running together, output is not seperated. I mean analog output and hdmi output is same. Squeezelite is playing from both outputs and there is no sound from xbmc.
I was trying to separate outputs: Analog output playing only Squeezelite/ Hdmi playing xbmc only and both autostarting.
--------------------


Indeed - I forgot to mention the init.d scripts (glad you found it). You
probalby won't get it to work if you don't use a separate USB-DAC for
squeezelite or XBMC because the analog audio output and the HDMI output
are somehow internal connected. There should be more information on this
in the forum of ODROID.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-12 13:40:54 UTC
Permalink
Hi @all,

new features in Max2Play version 1.11 (just use Update-Button):


- new options for squeezelite:
- use usb-soundcard to run XBMC and squeezelite at the same time
- squeezelite now has an update button to get the latest version and
also makes use of the equalizer
- equalizer may be deactivated in frontend
- additional filters for lowpass and crossfeed level (to better adjust
sound for headphones)
- button for shutdown Max2Play in "Settings / Reboot"



A USB-DAC may be used for XBMC or squeezelite to output audio. If both
services are running at the same time, they must not use the same
audio-device.

Feedback is always welcome!
Stefan



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-12 20:50:19 UTC
Permalink
flysurfer wrote:
> Hi @all,
>
> new features in Max2Play version 1.11 (just use Update-Button):
>
>
> A USB-DAC may be used for XBMC or squeezelite to output audio. If both
> services are running at the same time, they must not use the same
> audio-device.
>
> Feedback is always welcome!
> Stefan
Hi Stefan,
Thanks for the new version it's really great with a few glitches.
-I have added a S-link USB-DAC started with the options "-n xxxx -m
xx:xx:xx:xx:xx:xx -a 80:4 -o hw:1,0". Squeezelite autostart is saved.
Use USB-DAC is checked; Squeezelite upgraded to 1.6.4
-From XBMC menu/settings(not max2play Web-UI) I have chosen Build in
Audio...(Pulsaudio).
With these settings I have 2 seperated outputs, playing great even
simultaneously, without performance or quality problems.

--Squeezelite is not starting after a reboot automatically. But it
starts when you click "start Squeezelite" from WebUI (sometimes it needs
a few times) Does it maybe need a delay or something?
--Squeezelite is not playing WMA.( I have seen on German forum, that you
compiled the new version with FFMPEG)
--When I check audioplayer.conf, I see 2 -o parameters, is this normal?
(SQUEEZELITE_PARAMETER=-o plug:dmixer -n xxxx -m xx:xx:xx:xx:xx:xx -a
80:4 -o hw:1,0)


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-09-15 08:35:20 UTC
Permalink
@flysurfer
I just wanted to say THANK YOU! This has turned into a smooth and
powerful system that offers a lot of the functionality of Squeezeplug,
but with the additional ease-of-use a well-structured webinterface
offers. Great job!


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-15 10:14:19 UTC
Permalink
I've been using v 1.11 with USB-DAC+HDMI (Squeezelite and XBMC always
running) configuration for 3 days now. I have also upgraded to XBMC 13.2
final release from Odroid forum, it went smooth and easy.
I must say it's very stable and powerful. Thanks flysurfer for this
complete package.

My only complain can be lack of WMA support even with latest squeezelite
upgrade from WEB-UI.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-15 12:43:13 UTC
Permalink
Thanks for the positive feedback! This means a lot to me and I'm happy
to hear that almost everything works as expected.

Squeezelite and FFMPEG: I did not compile it myself and just took the
information from the website saying: "Build options: LINUX ALSA EVENTFD
RESAMPLE FFMPEG VISEXPORT DSD" for the binaries. So maybe I'll ask the
creator of squeezelite to add this functionality to the build binaries.

> Squeezelite is not starting after a reboot automatically. But it starts
> when you click "start Squeezelite" from WebUI (sometimes it needs a few
> times) Does it maybe need a delay or something?
I found that it needs this delay (max. 2 minutes after start) when
starting shairport and squeezelite on Ubuntu 13.10. Maybe it's not
needed anymore - I'll check this.
If autostart is enabled squeezelite always restarts automatically. This
is a feature, because if XBMC is closed you want squeezelite to restart.


> --When I check audioplayer.conf, I see 2 -o parameters, is this normal?
This is not really a bug, because the second parameter overwrites the
first when starting squeezelite. The first output device is default, if
you don't overwrite settings with the command-line option.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-09-15 14:14:39 UTC
Permalink
@flysurfer
From what I know, the Squeezelite version "ralphy" compiles for
PiCorePlayer has pretty much everything included. Maybe you can use his
version in Max2Play instead of the regular squeezelite?


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-15 15:32:08 UTC
Permalink
@CommanderROR:
I think compiling the newest version at the moment when clicking "Update
Squeezelite"-Button would be the easiest way. I would now use the
compiler options as explained
(https://code.google.com/p/squeezelite/wiki/BuildInstructions):


Code:
--------------------
-DFFMPEG -DRESAMPLE -DVISEXPORT
--------------------


Just tested it and it works fine - If this is OK for you just give me a
short message and I "upgrade" the update-button to a get the latest
version from github and compile it.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-09-15 20:37:56 UTC
Permalink
That should be fine I guess. I just thought simply linking to the other
repository might be simpler... 😉


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-16 16:11:43 UTC
Permalink
Thanks for the links!

I decided to go with the sources and compile them with the options
written in the last post. From Max2Play version 1.12 squeezelite (latest
version) is compiled after clicking "update squeezelite".



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-09-16 17:01:05 UTC
Permalink
I've just installed the latest 14.04 based image and I cannot install
LMS. Nothing is listed under "Show available versions" and adding a link
as an alternative source does not work either. What could I be doing
wrong?


------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-09-16 17:54:31 UTC
Permalink
slartibartfast wrote:
> I've just installed the latest 14.04 based image and I cannot install
> LMS. Nothing is listed under "Show available versions" and adding a link
> as an alternative source does not work either. What could I be doing
> wrong?
My fault, the MAC address had changed and my router was blocking it.
Doh.


------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-17 08:31:25 UTC
Permalink
flysurfer wrote:
> Thanks for the links!
>
> I decided to go with the sources and compile them with the options
> written in the last post. From Max2Play version 1.12 squeezelite (latest
> version) is compiled after clicking "update squeezelite".

I have upgraded to 1.12, updated squeezelite (twice to be sure).
It' seems like it's compiling with correct parameters, but no wma is
playing. Same wma tracks are played by Picoreplayer(ralphy's build
squeezelite 1.6.4).
Here is my info screen after updating squeezelite:
squeezelite successfully removed from autostart
> Trying to stop ... successfully stopped
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT main.c -c -o main.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT slimproto.c -c -o
> slimproto.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT buffer.c -c -o
> buffer.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT stream.c -c -o
> stream.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT utils.c -c -o
> utils.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT output.c -c -o
> output.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT output_alsa.c -c -o
> output_alsa.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT output_pa.c -c -o
> output_pa.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT output_stdout.c -c -o
> output_stdout.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT output_pack.c -c -o
> output_pack.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT decode.c -c -o
> decode.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT flac.c -c -o flac.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT pcm.c -c -o pcm.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT mad.c -c -o mad.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT vorbis.c -c -o
> vorbis.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT faad.c -c -o faad.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT mpg.c -c -o mpg.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT ffmpeg.c -c -o
> ffmpeg.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT process.c -c -o
> process.o
> cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DVISEXPORT resample.c -c -o
> resample.o
> Finished Update
>
> Trying to launch ... successful with ID 3449
> squeezelite successfully added to autostart
>


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
tfec
2014-09-17 12:43:52 UTC
Permalink
mkkyah wrote:
> I have upgraded to 1.12, updated squeezelite (twice to be sure).
> It' seems like it's compiling with correct parameters, but no wma is
> playing. Same wma tracks are played by Picoreplayer(ralphy's build
> squeezelite 1.6.4). ...

Had the same problem. After rebooting the Odroid the problem has gone
and wma-files are played by Squeezelite.



1x odroid u3 with max2play as lms + fiio e10 usb-dac + akg k701
headphones | 2x squeezebox classic | 1x raspberry pi with hifimediy
es9023 dac +picoreplayer | 2x ipod with ipeng classic + playback | 1x
ipad with ipeng 7 + playback | 1x htc one with orange squeeze + squeeze
player
------------------------------------------------------------------------
tfec's Profile: http://forums.slimdevices.com/member.php?userid=2057
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-17 15:23:59 UTC
Permalink
tfec wrote:
> Had the same problem. After rebooting the Odroid the problem has gone
> and wma-files are played by Squeezelite.

I'm afraid it's not working for me. I had done already several reboots,
but tried a few shut downs and disconnected power after your post; it
didn't help.
I'm sorry for asking this, but are you sure that your test files were
wma not wav or something else? Maybe you can share a file, so we can
test on same file.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
tfec
2014-09-17 16:08:51 UTC
Permalink
mkkyah wrote:
> ... Maybe you can share a file, so we can test on same file.

Sure, it is WMA2. But also these files are playing:
http://www.theflute.co.uk/htmlMain/samplemusicW.htm

Maybe your compilation is broken, so you can download the binary right
here:
http://www.mediafire.com/download/yhvd4ja34sau5xc/squeezelite-1.6.4-439-debian7-armhf.tar.gz

Rename squeezelite-1.6.4 to squeezelite and put it on the ondroid in
this folder /opt/squeezelite. Before that, don't forget to rename or
move your original squeezelite.



1x odroid u3 with max2play as lms + fiio e10 usb-dac + akg k701
headphones | 2x squeezebox classic | 1x raspberry pi with hifimediy
es9023 dac +picoreplayer | 2x ipod with ipeng classic + playback | 1x
ipad with ipeng 7 + playback | 1x htc one with orange squeeze + squeeze
player
------------------------------------------------------------------------
tfec's Profile: http://forums.slimdevices.com/member.php?userid=2057
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-17 17:03:17 UTC
Permalink
tfec wrote:
> Sure, it is WMA2. But also these files are playing:
> http://www.theflute.co.uk/htmlMain/samplemusicW.htm
>
> Maybe your compilation is broken, so you can download the binary right
> here:
> http://www.mediafire.com/download/yhvd4ja34sau5xc/squeezelite-1.6.4-439-debian7-armhf.tar.gz
>
> Rename squeezelite-1.6.4 to squeezelite and put it on the ondroid in
> this folder /opt/squeezelite. Before that, don't forget to rename or
> move your original squeezelite.

Thanks for sharing, but squeezelight is not starting with your file. I
have changed filenames and get "trying to launch...not working"
everytime. If I get back to internally created file, everything ( but
not wma) works again. Downloaded your file 2 times to see if it's a
corrupted download.
I have already sample files from your link, so we are talking about same
files.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-09-18 09:36:36 UTC
Permalink
The default governor built in to ubuntu 14.04 is the performance
governor which maintains the CPU speed at 1.7GHz at all times. I thought
there might be a benefit in using the on demand governor to minimise
power dissipation when the server is idle. Has anyone tried this?
Are there any downsides?
This link seems to imply that "on demand" modules need to be installed
first.
http://forum.odroid.com/viewtopic.php?f=77&t=5900


------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-22 09:18:44 UTC
Permalink
@mkkyah: I hope your squeezelite works now? If you copy a binary file
(/opt/squeezelite/squeezelite), make sure you give the right permissions
to make it executable. You may also test the binary from the commandline
(SSH) - but then it may be neccessary to make sure the PID-File gets
deleted if created as user root. The webinterface calls a init-script to
start squeezelite with user-rights for user "odroid". If the PID-File is
still in place and cannot be overwritten the service cannot start.

@slartibartfast: never tested this - but if you do, it would be great to
hear how it works!



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-22 10:13:13 UTC
Permalink
flysurfer wrote:
> @mkkyah: I hope your squeezelite works now? If you copy a binary file
> (/opt/squeezelite/squeezelite), make sure you give the right permissions
> to make it executable.
>
>
@flysurfer Where have you been! This permissions tip did the trick and
with 0777 permissions squeezelite starts, wma plays. But I still don't
understand why standard update/compile procedure didn't work for me. The
only possible difference I can think of is that I made "apt-get
update/upgrade" to ubuntu before squeezelite updates, is it something?

@tfec Thanks again, for sharing the file.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-22 17:23:35 UTC
Permalink
@mkkyah: The update/upgrade should not make any problems. Here is what I
just tested with the latest Max2Play-Version:
- called apt-get update and apt-get upgrade to get the latest updates
- installed LMS 7.9 Nightly
- compiled latest squeezelite through Max2Play-Webinterface
- played "Suite de Trois Morceaux" WMA file from the link that tfec
posted -> works without problems

In the Max2Play-Webinterface you can see the squeezelite version that is
used for playback (advanced settings). It sould say something like
1.6.4.
What LMS-Version do you use? Maybe something else is broken after doing
a lot of install and compile things - but it's difficult to figure out
what it is... Easiest way: burn the Max2Play-image on your card and
start from scratch. You will have everything in place after a few clicks
:)



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-10-14 15:30:37 UTC
Permalink
Hi,

the new Image (13.10.2014), that can be downloaded for free on our
website www.max2play.com now features:
- all current Ubuntu 14.04 Updates
- stable XBMC Version 13.2
- CPAN fix for LMS 7.8

The update (by using the update-button in the Max2Play webinterface) to
current version 1.14 also offers:
- press Power-Button short to power off the device (push 1 sec to
restart)
- press Power-Button 10 sec to reset all settings to factory (if
something went wrong). By doing this all scripts and the webinterface as
well as files from the webserver and configfiles in /etc will be
restored.
- less logging of webserver (saves SD-Card)
- Bugfixes and language fixes in webinterface

If you have further ideas how to use the powerbutton, I could improve
the "advances setup"-Plugin to configure the advanced usage of this
button. E.g. to run scripts or to start xbmc.

Thanks for Feedback!
Stefan



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-10-14 21:23:31 UTC
Permalink
flysurfer wrote:
> Hi,
>
> the new Image (13.10.2014), that can be downloaded for free on our
> website www.max2play.com now features:
> - all current Ubuntu 14.04 Updates
> - stable XBMC Version 13.2
> - CPAN fix for LMS 7.8
>
> The update (by using the update-button in the Max2Play webinterface) to
> current version 1.14 also offers:
> - press Power-Button short to power off the device (push 1 sec to
> restart)
> - press Power-Button 10 sec to reset all settings to factory (if
> something went wrong). By doing this all scripts and the webinterface as
> well as files from the webserver and configfiles in /etc will be
> restored.
> - less logging of webserver (saves SD-Card)
> - Bugfixes and language fixes in webinterface
>
> If you have further ideas how to use the powerbutton, I could improve
> the "advances setup"-Plugin to configure the advanced usage of this
> button. E.g. to run scripts or to start xbmc.
>
> Thanks for Feedback!
> Stefan
Can I update to the new image by updating my current Ubuntu 14.04
max2play version or do I need to download the new image?




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-10-15 09:23:03 UTC
Permalink
@slartibartfast: if you use the "Update-Button" you will only get the
features described under "update by webinterface". You need to download
the new Max2Play-image for all updates, as I do not have a "upgrade
Ubuntu"-Button in the webinterface yet and it's also quite difficult to
compile the CPAN-sources (for the fix with LMS 7.8) via script from
webinterface (takes a long time!).

To summarize: if you are happy with your current version, hitting the
update button in the webinterface is all you need to get the new
functions.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
slartibartfast
2014-10-15 16:25:12 UTC
Permalink
flysurfer wrote:
> @slartibartfast: if you use the "Update-Button" you will only get the
> features described under "update by webinterface". You need to download
> the new Max2Play-image for all updates, as I do not have a "upgrade
> Ubuntu"-Button in the webinterface yet and it's also quite difficult to
> compile the CPAN-sources (for the fix with LMS 7.8) via script from
> webinterface (takes a long time!).
>
> To summarize: if you are happy with your current version, hitting the
> update button in the webinterface is all you need to get the new
> functions.
I've updated Ubuntu already so I suppose as long as I use 7.9 all I need
to do is update XBMC if I feel it is necessary.




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
skare
2014-10-18 09:21:23 UTC
Permalink
flysurfer wrote:
> Hi,
>
>
> If you have further ideas how to use the powerbutton, I could improve
> the "advances setup"-Plugin to configure the advanced usage of this
> button. E.g. to run scripts or to start xbmc.
>
> Thanks for Feedback!
> Stefan

Would love a function where I can use the powerbutton to switch between
XBMC and Squeezelite.

Press once and XBMC is started and Squeezelite is stopped
Press again and XBMC is closed and Squeezelite is started


------------------------------------------------------------------------
skare's Profile: http://forums.slimdevices.com/member.php?userid=7681
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Paden
2014-10-19 19:23:27 UTC
Permalink
Awesome work flysurfer, many thanks!
Manage to salvage my previous Windows Server based Squeezebox system
into something more powerful & user friendly :-)
Can I ask if I want to allow devices on my network, such as a smart tv
or games console, to access the files on Max2Play would I need to enable
XBMC?
I've successfully used Samba to transfer music & photos, however I can't
view these from my tv.

Cheers, Paul


------------------------------------------------------------------------
Paden's Profile: http://forums.slimdevices.com/member.php?userid=21468
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Paden
2014-10-20 14:44:44 UTC
Permalink
Paden wrote:
> Awesome work flysurfer, many thanks!
> Manage to salvage my previous Windows Server based Squeezebox system
> into something more powerful & user friendly :-)
> Can I ask if I want to allow devices on my network, such as a smart tv
> or games console, to access the files on Max2Play would I need to enable
> XBMC?
> I've successfully used Samba to transfer music & photos, however I can't
> view these from my tv.
>
> Cheers, Paul

I guess this has nothing to do with Max2Play & more to do with being a
newbie :-)
I'll take my query to the beginners forum.

Cheers, Paul


------------------------------------------------------------------------
Paden's Profile: http://forums.slimdevices.com/member.php?userid=21468
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-10-20 16:23:20 UTC
Permalink
@skare: sounds like a good idea - I will add this switch in the next
version as a custom usage for the powerbutton.

@Paden: you may connect the Max2Play-Device directly to your TV via HDMI
and use XBMC to play video or show pictures that are available on the
device or somewhere else in your network. Or you may use Samba-Shares to
get access to your data on the Max2Play-Device from other network
players. If these players do not support browsing network shares (like
your TV probalby) it becomes difficult. I will have a look at adding
DLNA-Support by just clicking a button in the webinterface. This is
supported by more devices and will be available by just using the
"update"-Button in a future version of Max2Play.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Paden
2014-10-20 16:55:58 UTC
Permalink
flysurfer wrote:
> @Paden: you may connect the Max2Play-Device directly to your TV via HDMI
> and use XBMC to play video or show pictures that are available on the
> device or somewhere else in your network. Or you may use Samba-Shares to
> get access to your data on the Max2Play-Device from other network
> players. If these players do not support browsing network shares (like
> your TV probalby) it becomes difficult. I will have a look at adding
> DLNA-Support by just clicking a button in the webinterface. This is
> supported by more devices and will be available by just using the
> "update"-Button in a future version of Max2Play.

That sounds great & thanks for the explanation!
I managed to get LMS to serve some videos but it seems very particular
on file format.

Cheers, Paul


------------------------------------------------------------------------
Paden's Profile: http://forums.slimdevices.com/member.php?userid=21468
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-09-28 21:14:17 UTC
Permalink
@Flysurfer

I suddenly have a strange issue...

If I play Deezer tracks on my Odroid U2 running Max2Play 1.13 the sound
is all distorted. I can hear the music, but there is lots of "randon
noise" going on at the same time. It's a bit hard to describe, like lots
of little clicks and pops and other distortion all at the same time.
This is new behaviour, and I'm not sure why it is suddenly happening.
I'm using the internal Soundcard of the Odroids btw.
No special Squeezelite settings, apart from the usual "-a 160:4"

My PiCorePlayers are doing fine (connected to the Max2Play Server) and
they are running the same version of Squeezelite and everything.
Also, Webradio works fine, even at 320kbit/s (same bitrate as Deezer).
Something weird is going on.
I'll try to find out what tomorrow. If you (or anyone esle) has any
ideas, then I'd be grateful for your input.


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-29 08:38:23 UTC
Permalink
flysurfer wrote:
> @mkkyah: The update/upgrade should not make any problems. Here is what I
> just tested with the latest Max2Play-Version:
> - called apt-get update and apt-get upgrade to get the latest updates
> - installed LMS 7.9 Nightly
> - compiled latest squeezelite through Max2Play-Webinterface
> - played "Suite de Trois Morceaux" WMA file from the link that tfec
> posted -> works without problems
>
>

I did a clean install, at the end it worked, but not without problems;

1. attempt:
-Flashed 1.11, upgraded to 1.13
-installed LMS 7.8.0 stable with old pref folder.
-compiled squeezelite 1.6.4 from Web-UI
**Squeezelite played WMA
-With LMS 7.8.0 plugins are not installed/updated, took a long time and
effort to realize that I have to install 7.9 with Max2Play to achieve
this!
-installed 7.9 and started to install plugins
**I have lost track what caused the issue, but I have ended up with WMA
not playing! I'm not sure but it can be changing between LMS versions.

2. attempt:
-Flashed 1.11, upgraded to 1.13
-installed LMS 7.9 directly
-compiled squeezelite 1.6.4 from Web-UI
-installed plugins step by step with testing, making several backups
**Squeezelite playing WMA

I still need to downgrade to LMS 7.8.0, because 7.8.1 and 7.9 have a
crossfade issue with Deezer, Bandcamp and other online sources. (This is
not a Max2Play bug, I have it also on Qnap.
http://forums.slimdevices.com/showthread.php?101989-7-9-and-crossfade)
I've made my backup image and will try to downgrade. I will report if it
happens again.

LMS upgrade/downgrade option on Max2Play is easy and flawless, but these
"plugins not updating with LMS pre7.9" and if it's true "wma support
disappears with changing LMS version" issues are annoying, if you can
not stay with 7.9.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-09-29 10:51:54 UTC
Permalink
Hi mkkyah,

I usually test with the latest LMS release (7.9 nightly) and therefore
had no the problems. I will add support for older LMS-Versions as they
use slightly different CPAN-Patches that cause the problems. I try to
fix this in the next release and offer prebuild versions of the patched
CPAN-files.

@CommanderROR:
Is it just Deezer that plays distorted sound? Does it happen right after
the update? What LMS-Version do you use?



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-29 11:04:33 UTC
Permalink
@CommandrROR
I use Deezer as main source and have no problems with 1.13. Which LMS do
you use?


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-09-29 11:38:38 UTC
Permalink
I just updated to latest 7.9 nightly and will try again. The one with
the errors was from about a week ago
The strange thing is thst itbonly happens on the LMS device, not the
client players.
I'm sure it'll be fixable.


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-29 11:46:55 UTC
Permalink
CommanderROR wrote:
> I just updated to latest 7.9 nightly and will try again. The one with
> the errors was from about a week ago
> The strange thing is thst itbonly happens on the LMS device, not the
> client players.
> I'm sure it'll be fixable.
Do you have crossfade working with Deezer+7.9 setup?


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
CommanderROR
2014-09-29 11:51:17 UTC
Permalink
I never use gapless, crossfade or the likes, since I listen exclusively
to classical music.


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-11-01 13:24:07 UTC
Permalink
Hi flysurfer,
I have installed 7.8.0 on 1.14 and I wanted to report that I don't see
old problems. I can install and uninstall plugins with success; there is
no wma problem with squeezelite.

Although I don't see any problems, I'm confused of your answer to
slartibarfast: I have started with a clean install of 11.09.2014_image
(not 13.10.2014_image). And I have first installed 7.9 than I have
downgraded today 7.8.0 to test. I don't see any problem so far, but do I
have all the CPAN fixes correctly?


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-11-06 14:43:44 UTC
Permalink
NEW FEATURES IN THE WEBINTERFACE OF MAX2PLAY ARE:
- Freely assign the usage of the ODROID powerbutton for long and short
presses: use prebuilt functions for poweroff / switch between XBMC and
Squeezeplayer of even use your own scripts
- install and configure MiniDLNA
- Apt-get Update and Upgrade for packages

All new features are accessible by enabling the "Advanced
Settings"-Plugin in "Settings / Reboot".

You may choose your own scripts that should be run once the powerbutton
is clicked. For example I use it to burn SD-cards without a monitor or
keyboard connected. The blue led shows the status of the running script
by changing its blinking-frequency.

Also fixed a bug that prevented the "=" from being used as parameter in
squeezelite settings and added more default audio output settings to
squeezelite.

The interface is available in english and german (and not completely
translated italien)

16604

@mkkyah: I don't think that you have the fixes for 7.8 yet if you didn't
download the latest image.

Cheers
Stefan


+-------------------------------------------------------------------+
|Filename: webinterface_powerbutton.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=16604|
+-------------------------------------------------------------------+


2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Nojelc
2014-11-06 18:16:39 UTC
Permalink
Sorry, but complete nob question here. I am only venturing outside
Windows for the first time.
I have purchased an Odroid U3 with a view to using it to run LMS (which
I have been using for years with various players and windows and VB
based players)
I have a 8GB SD card. I have formatted this with SDformatter. I now have
an empty card with 7.41GB
I have downloaded Max2Play which arrived as
Max2Play-Ubuntu-14-EMMC-SD-13102014 a RAR file, downloaded WinRAR and
unpacked it, then had a 7.6GB disk image file.

So what next. How do I get this file onto my SD card? Do I need to use a
special programme to "flash" the card? If so which, or should I just be
able to copy the disk image file to my formatted SD card with windows
explorer. I have tried that but get the message that the card is too
small, obviously the 7.6 file is bigger than 7.41 card.

Has my formatting reduced the capacity of the card somehow? Did I screw
up on some parameters?


------------------------------------------------------------------------
Nojelc's Profile: http://forums.slimdevices.com/member.php?userid=14353
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
tfec
2014-11-06 20:18:59 UTC
Permalink
Nojelc wrote:
>
> I have downloaded Max2Play which arrived as
> Max2Play-Ubuntu-14-EMMC-SD-13102014 a RAR file, downloaded WinRAR and
> unpacked it, then had a 7.6GB disk image file.

You may take this 'receipt'
(http://www.raspberrypi.org/documentation/installation/installing-images/windows.md),
it was written for Raspberry Pi but will also work for Odroid U3:

Installing Operating System Images using Windows

Insert the SD card into your SD card reader and check which drive
letter was assigned. You can easily see the drive letter (for example
G:) by looking in the left column of Windows Explorer. You can use the
SD Card slot (if you have one) or a cheap SD adaptor in a USB port.
Download the 'Win32DiskImager'
(http://sourceforge.net/projects/win32diskimager/) utility from the
Sourceforge Project page (it is also a zip file); you can run this from
a USB drive.
Extract the executable from the zip file and run the Win32DiskImager
utility; you may need to run the utility as administrator. Right-click
on the file, and select Run as administrator.
Select the image file you will flash.
Select the drive letter of the SD card in the device box. Be careful
to select the correct drive; if you get the wrong one you can destroy
your data on the computer's hard disk! If you are using an SD card slot
in your computer and can't see the drive in the Win32DiskImager window,
try using a cheap SD adaptor in a USB port.
Click Write and wait for the write to complete.
Exit the imager and eject the SD card.

-This article uses content from the eLinux wiki page
RPi_Easy_SD_Card_Setup, which is shared under the Creative Commons
Attribution-ShareAlike 3.0 Unported license-



1x odroid u3 with max2play as lms + 'teac ud-501'
(http://www.teac.com/product/ud-501/) usb-dac + 'akg k701'
(http://eu.akg.com/akg-product-detail_eu/k-701.html) headphones | 2x
squeezebox classic | 1x raspberry pi with 'hifimediy es9023 dac'
(http://hifimediy.com/dacs/diy-dacs/i2s-dac) +picoreplayer | 2x ipod
with ipeng classic + playback | 1x ipad with ipeng 7 + playback | 1x htc
one with orange squeeze + squeeze player
------------------------------------------------------------------------
tfec's Profile: http://forums.slimdevices.com/member.php?userid=2057
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Paden
2014-11-06 21:49:28 UTC
Permalink
Awesome update flysurfer, many thanks!
The MiniDLNA works like a charm :-)
I'm interested in using the "Update APT-GET Sources and APT-GET UPGRADE"
option & believe I have the latest MAX2PLAY-UBUNTU-IMAGE 14 but would
like to confirm, is there anyway to check?

Cheers, Paul


------------------------------------------------------------------------
Paden's Profile: http://forums.slimdevices.com/member.php?userid=21468
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Nojelc
2014-11-06 22:54:49 UTC
Permalink
Thanks tfec, up and running now.
Just having a bit of a problem with enabling my plugins, iPlayer and
Spotify. I get to the point where I have ticked the boxes and it says
"restart LMS to apply changes" I then stop and start LMS via the web
interface and I am back to where I was with the plugins unticked. Also
tried rebooting, same result. How do I restart LMS to apply my plugins?


------------------------------------------------------------------------
Nojelc's Profile: http://forums.slimdevices.com/member.php?userid=14353
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-11-07 11:58:57 UTC
Permalink
@Paden: thanks! You should have the latest version - I added this
warning because it's difficult for me to make sure that everything works
as expected on all versions of Max2Play. If you have the Ubuntu 13.10
Version (changed to Ubuntu 14 three months ago), than you should not
update anything. At least I didn't test it.

@Nojelc: please try the LMS version 7.9 nightly. Just install it over
your existing LMS via webinterface. Restarting the LMS by webinterface
should be enough to apply the plugin changes.

@tfec: thanks for the detailed instructions :)



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Nojelc
2014-11-07 12:16:58 UTC
Permalink
Finally managed this, and just before flysurfers post above.
I installed 7.8 nightly, getting a version of 7.8.1. Then on applying
the plugins and clicking OK to the "you need to restart LMS" message it
did a restart. After about a minute LMS came back up with all my plugins
activated. So no doubt the 7.9 nightly as suggested would have worked
too.
Glad I was not being a complete dumbo!
Thanks - looks like a great system - I will be hitting that "Donate"
button.


------------------------------------------------------------------------
Nojelc's Profile: http://forums.slimdevices.com/member.php?userid=14353
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-11-09 13:50:03 UTC
Permalink
Nojelc wrote:
> So no doubt the 7.9 nightly as suggested would have worked too.
>
Be prepared to be surprised!
I have done a clean install of the new Max2play image as suggested by
flysurfer. Installed 7.9 nightly(Nov 9); added my old pref folder;
checked all plugin updates, hit apply, restart; surprise no plugin
updates. It was always working with 7.9 until now, but not with 7.8.0.
After a few tries I have downgraded to 7.8.1(nightly) as Nojec and
everything went ok; plugins updated as it should.
I thought these update plugin problems were related with Cpan and should
have been solved with the new image, even with 7.8.0.


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-11-10 10:07:30 UTC
Permalink
@mkkyah: Thanks for the report! I just tested the 7.8 nightly... So if
anyone stumbles upon this problem (Plugins in LMS do not install):
please install the nightly 7.8 or 7.9.

@Nojelc: glad to hear its working now and thank you very much!

So far the latest Update works like expected. The next thing I am
working on is an easy to configure WiFi hotspot to use and control the
ODROID without existing WiFi.

If you have more feature requests please feel free to post it :)



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Paden
2014-11-10 17:50:54 UTC
Permalink
Hi flysurfer
Can I ask if the "Update APT-GET Sources and APT-GET UPGRADE" option
updates the Max2Play-image?
You spoke about an "upgrade Ubuntu"-Button option you might add in reply
to question from slartibartfast earlier in the thread, is this it?

Cheers, Paul


------------------------------------------------------------------------
Paden's Profile: http://forums.slimdevices.com/member.php?userid=21468
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
flysurfer
2014-11-11 09:08:02 UTC
Permalink
Hi Paden,

the update and upgrade uses "apt-get update" and "apt-get upgrade" to
get the latest updates for all installed packages. It does not upgrade
the ubuntu system ("apt-get dist-upgrade"). This is rather difficult
because of new Perl versions and other things that might break functions
of Max2Play.



2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng

Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Nojelc
2014-11-13 15:51:42 UTC
Permalink
Up and running now with all my audio needs running via LMS and M2P on
Odroid U3. Great.

Now starting to investigate video and XMBC, it looks very interesing but
I cannot get anything to play, either in XMBC or within Firefox and
Chrome from uTube or anywhere else. I suspect I am missing a basic
player, like Adobe Flash on my Windows systems. What do I need to
install and how do I do it?

I assume XBMC does not neeed any additional player but it says the video
failed to play and to check the log! Where is the log?

I am a complete newbe to Linux stuff so keep it easy please. Every time
I search for info I end up in a forum where everyone is using a language
I do not understand!


------------------------------------------------------------------------
Nojelc's Profile: http://forums.slimdevices.com/member.php?userid=14353
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
mkkyah
2014-09-03 09:39:13 UTC
Permalink
flysurfer wrote:
> One more question: Is it possible to have HDMI for xbmc and analog
> output or USB-DAC for LMS, without the need to turn off one of them?
--------------------

Yes, it should be possible (but very special). If XBMC (running pulse)
does not try to capture the audio-device of the USB-DAC, squeezelite and
XBMC may run the same time. But if you use your USB-DAC for 5.1 sound in
XBMC, then you won't share it with squeezelite ;). As I still try to
focus on a "one for all" Image this feature won't be available by
default.


-- Do I need anything other than to add usb-dac to squeezelite settings to
run both? Will squeezelite stay running all the time with that setting
without checking xbmc?
-- What about using default analog output for this purpose, how can I
achieve this?


------------------------------------------------------------------------
mkkyah's Profile: http://forums.slimdevices.com/member.php?userid=58652
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
Loading...