Forum

Full Version: Two output audio
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
http://www.xbian.org/faq/ Will give you the settings for the current mirror.
(11th Aug, 2015 07:58 AM)Skywatch Wrote: [ -> ]http://www.xbian.org/faq/ Will give you the settings for the current mirror.
Thanks but only 1 part is loaded:

[attachment=426]
You still seem to have references to 'brantje' in there somehow...

Please post the contents of....

/etc/apt/sources.list
/etc/apt/sources.list.d/xbian.list

Then we can see.
(12th Aug, 2015 03:04 AM)Skywatch Wrote: [ -> ]You still seem to have references to 'brantje' in there somehow...

Please post the contents of....

/etc/apt/sources.list
/etc/apt/sources.list.d/xbian.list

Then we can see.

There is no directory /et/apt and when i do
xbian@xbian ~ $ /etc/apt/sources.list
-bash: /etc/apt/sources.list: Permission denied

I only have done:

root@xbian:/home/xbian# sudo -s
[sudo] password for xbian: raspberry
root@xbian:/home/xbian

echo "deb mirror://apt.xbian.org/mirror.txt stable main" > /etc/apt/sources.list.d/xbian.list
root@xbian:/home/xbian#

apt-get update; apt-get install --reinstall lsb-release xbian-package-repo; apt-get update

Hit http://apt1.xbian.org stable Release.gpg
Err http://xbian.brantje.com devel Release.gpg
Could not resolve 'xbian.brantje.com'
Err http://xbian.brantje.com staging Release.gpg
Could not resolve 'xbian.brantje.com'
Hit http://apt1.xbian.org stable Release
Hit http://apt1.xbian.org stable/main armhf Packages
Ign http://apt1.xbian.org stable/main Translation-en_US
Ign http://apt1.xbian.org stable/main Translation-en
Reading package lists... Done
W: Failed to fetch http://xbian.brantje.com/dists/devel/Release.gpg Could not resolve 'xbian.brantje.com'

W: Failed to fetch http://xbian.brantje.com/dists/staging/Release.gpg Could not resolve 'xbian.brantje.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of lsb-release is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/5,402 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y

Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2015-08-11-1727'
Transaction commit: none (default)
Delete subvolume '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2015-08-11-1727' in '/run/btrfs-snap/root/@last_good_known'
Transaction commit: none (default)
Delete subvolume '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2015-08-11-1609'
@btrfs-auto-snap_apt-run-2015-08-11-1727, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
(Reading database ... 24280 files and directories currently installed.)
Preparing to replace xbian-package-repo 20150723-2 (using .../xbian-package-repo_20150723-2_armhf.deb) ...
Unpacking replacement xbian-package-repo ...
Setting up xbian-package-repo (20150723-2) ...
OK
OK
Err http://xbian.brantje.com devel Release.gpg
Could not resolve 'xbian.brantje.com'
Err http://xbian.brantje.com staging Release.gpg
Could not resolve 'xbian.brantje.com'
Hit http://apt1.xbian.org stable Release.gpg
Hit http://apt1.xbian.org stable Release
Hit http://apt1.xbian.org stable/main armhf Packages
Ign http://apt1.xbian.org stable/main Translation-en_US
Ign http://apt1.xbian.org stable/main Translation-en
Reading package lists... Done
W: Failed to fetch http://xbian.brantje.com/dists/devel/Release.gpg Could not resolve 'xbian.brantje.com'

W: Failed to fetch http://xbian.brantje.com/dists/staging/Release.gpg Could not resolve 'xbian.brantje.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@xbian:/home/xbian#

So i dit only the asked command (i thought)

Oh, i did
cd /etc/apt

nano sources.list

deb http://xbian.brantje.com devel main
deb http://xbian.brantje.com staging mainb http://mirrordirector.raspbian.org/raspbian/ wheezy main non-free

But how do i come to /etc/apt/sources.list.d/xbian.list?
Here are some steps for you to follow exactly as shown and with any luck you'll notice a difference....

STEP 1 - TO see where you are now.....

You need to copy and paste the following (directly in the terminal or via ssh)

cat /etc/apt/sources.list

---copy the contents and post in your reply....----

then the same with

cat /etc/apt/sources.list.d/xbian.list

---copy the contents and post in your reply....----


Step 2 - TO try and fix it......

When you have done the above (and not before!) Wink Try the following.....

sudo nano /etc/apt/sources.list ----Change it to look like this........----

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

----Delete anything else, you only need that one line!----

Then CTRL-O followed by ENTER to save and CTRL-X to exit.

Then sudo nano /etc/apt/sources.list.d/xbian.list ----This should also have only one line as below----

deb mirror://apt.xbian.org/mirror.txt stable main rpi-wheezy

Again only one line is needed.....Delete anything else in there.

Then CTRL-O followed by ENTER to save and CTRL-X to exit

Which version of xbian are you using?
cat /etc/apt/sources.list
deb http://mirrordirector.raspian.org/raspbian/wheezy main contrib non-free rpi

cat /etc/apt/sources.list.d/xbian.list
deb mirror://apt.xbian.org/mirror.txt stable main
### deb mirror://apt.xbian.org/mirror.txt staging main rpi2-wheezy
### deb mirror://apt.xbian.org/mirror.txt devel main rpi2-wheezy
xbian@xbian ~ $

Version? some info from terminal
XBian 20150407-0 - Bleeding Edge, 2012 - 2014

Linux xbian 3.18.8+ #1 SMP PREEMPT Thu Mar 5 03:13:36 CET 2015

Only sudo nano /etc/apt/sources.list.d/xbian.list needed some changes.
(12th Aug, 2015 10:11 PM)bonestaak Wrote: [ -> ]Only sudo nano /etc/apt/sources.list.d/xbian.list needed some changes.

So is it working now?
Nope, i only got HDMI and analog on audio.
I have
deb http://mirrordirector.raspian.org/raspbian/wheezy main contrib non-free rpi

I see a few items back
deb http://mirrordirector.raspian.org/raspbian/ wheezy main contrib non-free rpi

(space wheezy) is that a type mismatch or must it truly be (space)wheezy?
On config i only can choose HDMI / Analoog / both Hdmi analoog
Now I am confuesd.....

(13th Aug, 2015 03:39 AM)bonestaak Wrote: [ -> ]On config i only can choose HDMI / Analoog / both Hdmi analoog

I thought that was what you wanted, no?

What is it that you want to achieve?

Answer to your question is that yes, it needs the space. See how different it looks with an without (the blue highlighted text) in your post above. That because it is seen as different meaning. I did say 'Here are some steps for you to follow exactly as shown' - That was for a reason and the reason was to help you.
(13th Aug, 2015 04:01 AM)Skywatch Wrote: [ -> ]Now I am confuesd.....

(13th Aug, 2015 03:39 AM)bonestaak Wrote: [ -> ]On config i only can choose HDMI / Analoog / both Hdmi analoog

I thought that was what you wanted, no?

What is it that you want to achieve?

Answer to your question is that yes, it needs the space. See how different it looks with an without (the blue highlighted text) in your post above. That because it is seen as different meaning. I did say 'Here are some steps for you to follow exactly as shown' - That was for a reason and the reason was to help you.
Changed that but after restart no difference.
I wanted to choose for the digital output of the hifiberry card. I switched my connected receiver to digital but no sound.
Aha!

That was the confusion as this thread is about getting audio from both HDMI and analog outputs at the same time. So I assumed that was what you were trying to do!

So now we know that you have a hifiberry of some sort.

I suggest you start a new thread with details of which hifiberry card you have and which version of raspberry pi you are using as this is not the thread for this discussion.

I have hifiberry like cards running on pi 2 and original pi so it depends on which hifiberry board you have.
Im so sorry, i thought (searching with google) this was the topic.
I make a new topic. Thanks
Pages: 1 2 3 4
Reference URL's