Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Esperanto

Pages: [1] 2 3 ... 16
1
Users / Re: Why Do Media Directors Exist?
« on: August 21, 2014, 08:58:45 pm »
I really like the way you are going with it and have 2 questions that come to mind.

First is the same that I asked in the power saving topic I started and similar to possy's remark: is it possible to watch live mythtv that way (and control recordings etc, I have my tuners in my core).

Secondly I personally try to avoid wifi and have everything wired. Are there cheap solutions to have a fixed orbiter and are there remote like controllers (I currently have a gyration and a mele F10) that can still be used?

2
Developers / Re: squeezelite as an alternative to squeezeslave
« on: August 17, 2014, 12:11:32 pm »
Code: [Select]
/usr/pluto/bin# cat LaunchSqueezelite.sh
#!/bin/bash
. /usr/pluto/bin/Config_Ops.sh
. /usr/pluto/bin/pluto.func
. /usr/pluto/bin/LockUtils.sh
. /usr/pluto/bin/SQL_Ops.sh
. /usr/pluto/bin/Utils.sh

DEVICEDATA_Alsa_Output_Device=74
DEVICEDATA_PULSE_SINK=88
DEVICEDATA_PARAMETERS=139

SQUEEZELITE=squeezelite-i386
SQUEEZELITEDIR=/usr/bin
SERVER=dcerouter
DEVICE=0

if [ ! -f $SQUEEZELITEDIR/$SQUEEZELITE ]; then
  echo "squeezelite binary not found. Downloading it."
  wget --directory-prefix=$SQUEEZELITEDIR http://squeezelite.googlecode.com/files/squeezelite-i386
fi
if [ ! -x $SQUEEZELITEDIR/$SQUEEZELITE ]; then
  echo "squeezelite binary not executable. running chmod u+x"
  chmod u+x $SQUEEZELITEDIR/$SQUEEZELITE
fi
if [ ! -x $SQUEEZELITEDIR/$SQUEEZELITE ]; then
  echo "error: $SQUEEZELITEDIR/$SQUEEZELITE does not exist or is not executable"
  echo "sleeping 10"
  sleep 10
  exit 1
fi

while getopts ":d:r:" optname
  do
    case "$optname" in
      "d")
        DEVICE=$OPTARG
        ;;
      "r")
        SERVER=$OPTARG
        ;;
      *)
        ;;
    esac
  done

Q="
        SELECT MACaddress
        FROM Device
        WHERE PK_Device='$DEVICE'
"
MAC=$(RunSQL "$Q")

Q="
        SELECT Description
        FROM Device
        WHERE PK_Device='$DEVICE'
"
DESCRIPTION=$(RunSQL "$Q")

AUDIO_DEVICE=$(GetDeviceData "$DEVICE" "$DEVICEDATA_Alsa_Output_Device")
PULSE_SINK=$(GetDeviceData "$DEVICE" "$DEVICEDATA_PULSE_SINK")
PARAMS=$(GetDeviceData "$DEVICE" "$DEVICEDATA_PARAMETERS")


PARAMS="";
if [ -n "$AUDIO_DEVICE" ]; then
    PARAMS="$PARAMS -o $AUDIO_DEVICE"
fi
if [ -n "$MAC" ]; then
    PARAMS="$PARAMS -m $MAC"
fi
if [ -n "$SERVER" ]; then
    PARAMS="$PARAMS -s $SERVER"
fi
ENV="";
if [ -n "$PULSE_SINK" ]; then
    ENV="$ENV PULSE_SINK=\"$PULSE_SINK\""
fi
if [ $AUDIO_DEVICE = "pulse" ]; then
    ENV="$ENV PULSE_PROP_OVERRIDE=\"application.name='squeezelite $DEVICE $DESCRIPTION'\""
fi
echo "Starting squeezelite: $ENV $SQUEEZELITEDIR/$SQUEEZELITE $PARAMS -n \"$DEVICE $DESCRIPTION\""
PULSE_SINK="$PULSE_SINK" PULSE_PROP_OVERRIDE="application.name='squeezelite ${DEVICE} ${DESCRIPTION}'" $SQUEEZELITEDIR/$SQUEEZELITE $PARAMS -n "${DEVICE} ${DESCRIPTION}"

3
Developers / redshift support
« on: August 17, 2014, 11:41:11 am »
Do I need a login now to create trac tickets?

I wanted to put in a feature request for redshift. batches:
Code: [Select]
-374
4384
632
631

redshift.sh:
Code: [Select]
#!/bin/bash

. /usr/pluto/bin/Utils.sh

REDSHIFT=/usr/bin/redshift

while getopts ":d:" optname
do
  case "$optname" in
    "d")
       DEVICE=$OPTARG
       ;;
    *)
       ;;
    esac
done


DEVICEDATA_COLORTEMPDAY=322
DEVICEDATA_COLORTEMPNIGHT=323

# get colors from devicetemplate
COLORTEMPDAY=$(GetDeviceData "$DEVICE" "$DEVICEDATA_COLORTEMPDAY")
COLORTEMPNIGHT=$(GetDeviceData "$DEVICE" "$DEVICEDATA_COLORTEMPNIGHT")

DEVICEDATA_LONGITUDE=108
DEVICEDATA_LATITUDE=109

Q="
        SELECT PK_Device
        FROM Device
        WHERE FK_DeviceTemplate='52'
"

EVENTPLUGINID=$(RunSQL "$Q")

LONGITUDE=$(GetDeviceData "$EVENTPLUGINID" "$DEVICEDATA_LONGITUDE")
LATITUDE=$(GetDeviceData "$EVENTPLUGINID" "$DEVICEDATA_LATITUDE")

DISPLAY=:0 $REDSHIFT -l $LONGITUDE:$LATITUDE -t $COLORTEMPDAY:$COLORTEMPNIGHT

Don't know how to add a package to a template so have not added the info package yet (it's in the repos: sudo apt-get install redshift)

4
Users / Re: thinking about new av receiver
« on: August 15, 2014, 12:46:15 pm »
I can't see that working to be honest. But even if it could be made to work the only advantage I can see is that all the signals are transmitted down a single cable. It seems a lot of complexity for no real gain.

Personally I am even happy with a fixed volume on the device and relative software volumes. To me it seems like a huge gain; one utp cable is everywhere (and for people who do not care about wifi disadvantages they even don't need one at all) and pulling tons of cables and possibly introducing additional (sound) hardware and diminished quality (you probably know the requirements for audio cables when used on longer distances) seems like a lot of trouble if it can be done with a bit of software. Of course that first needs to be made ;-). To bad I don't have an IP receiver otherwise I could test it a bit.

5
Users / Re: Power saving topic
« on: August 14, 2014, 07:42:21 am »
Re UPnP Controller @LinuxMCE: As far as I know, the code has not been committed into LinuxMCE atm. I might have missed it, but I do not think so. totallymaxed probably has the definitive answer.

@Andy: do you have a definitive answer? ;-)

6
Users / Re: thinking about new av receiver
« on: August 14, 2014, 07:40:45 am »
...thats the point you can't control the Amp gain levels for discrete channels or pairs of channels especially as the Amp is receiving a 5.1/7.1 signal down the HDMI (I assume?)

Isn't it possible to link the software volume control to the hardware volume control in a sense that when one of the software volume levels is at max level it will increase the hardware volume and decrease the software volume of the other (not being increase) channels so they stay at the same actual audible audio level?

7
Users / Re: thinking about new av receiver
« on: August 13, 2014, 06:17:18 pm »
The problem is that if you inject a 5.1 or 7.1 signal into your Amp over HDMI (or optical, Coax) you have no volume control over the individual channels that make up that signal.

I am using pulseaudio. there you can make a virtual device for each channel and then control the volume of that channel. Off course then you not using the volume of the receiver (maybe with some smart calculation that can be linked together).

8
Users / Re: thinking about new av receiver
« on: August 13, 2014, 06:15:38 pm »
esperanto
Can you please explain this more as i read it you want to use one receiver for multiple areas at the same time and the audio came from a HDMI connection, and have splitted the audio for multiple zones trough the same HDMI cable?
Correct

9
Users / Re: thinking about new av receiver
« on: August 13, 2014, 03:40:29 pm »
esperanto: Why don't you just try out what happens when you do this manually, ie. outside the LinuxMCE scope. And if you have success with it, detail what you've done.

cause I don't have a receiver with ethernet yet (mine are still from the RS-232 age). However on my desktop I use a hdmi cable to my amp which has 7.1 and by selecting a virtual output on my desktop I can select which channel of the 7.1 is playing sound. So if an amp can stream 7.1 / 9.2 then the only question is what is the best way to stream that to the amp and to control and automate that. Starts to sound like a nice feature ;-).

10
Users / Re: thinking about new av receiver
« on: August 13, 2014, 12:49:00 pm »
Is it a problem if the channels and volume are handled by the stream? When a zone is not active the audio for that channel in the stream is just silent although the receiver is on and playing the other channels.

11
Users / Re: thinking about new av receiver
« on: August 13, 2014, 10:53:58 am »
The IP connection on a receiver is just that. Any IP based audio services the Receiver can access itself will output audio to any of the onboard audio outputs that can drive speakers - those audio outputs do not go via the RJ45 network connection.

So some kind of streaming server with multichannels is required on the core? Or does something like that already exist? That software can then present itself as multiple output devices on the core (to which squeezeslave/lite can output) and then combine these outputs into one (multichannel) stream that is played by the receiver. Then on the receiver it gets played on the relevant channels since each channel is linked to a speaker.

Does that make sense?


12
Users / Re: Power saving topic
« on: August 13, 2014, 10:40:03 am »
The best advice here is to not use MD's but use upnp media players if your system is delivering video content.

That sounds really awesome.

Since you supply this to clients do you happen to have any comparison list with the drawbacks of this solution? Is it still possible to watch live mythtv somehow for example?

13
Users / Re: Power saving topic
« on: August 13, 2014, 10:20:36 am »
afaik, that UPnP controller device never made it into LinuxMCE.

You know what prevented that?

(or somebody else??)

14
Users / Re: Power saving topic
« on: August 13, 2014, 10:19:49 am »
I did a quick back-of-a-fag-packet calculation for a 20W MD left on continuously for a month, and it costs about 65p.
maybe it's more expensive here (0.23 euro per 1 kWh)?

20 Watt *
24 hours *
365 days *
0.23 /
1000
--------
40.296 euro per year

that is quite a significant part of the total lifetime cost. And since the device probably is doing nothing for 20h a day thats not pretty....

15
Users / Re: Need some dedicated testers.
« on: August 08, 2014, 06:06:03 pm »
What is the correct way to change skin?

I just tried running http://deb.linuxmce.org/QOrbiter-release.apk on a xiaomi mi3 and on a nexus 7 and both give me a skin with what looks a bit to a stone background and overlapping fonts. When I try to create a new orbiter on the mi3 I cannot select the go button because the button to set the general settings overlaps it.

With all the positive comments I saw I must be doing something wrong ;-).

Pages: [1] 2 3 ... 16