Saiyato / volumio-snapcast-plugin

Volumio 2 SnapCast plugin, to easily manage SnapCast functionality
115 stars 25 forks source link

Install Failed #25

Closed Sipowitz closed 6 years ago

Sipowitz commented 6 years ago

I am trying to install the plugin on volumio-2.296 on a Raspberry Pi 2 and am getting the following error:

Downloading plugin at http://127.0.0.1:3000/plugin-serve/ddae6b07-0554-4f72-9387-d757ac5ac4e8.zip END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/ddae6b07-0554-4f72-9387-d757ac5ac4e8.zip Creating folder on disk Unpacking plugin The following error occurred when installing the plugin: TypeError: Cannot read property 'name' of undefined

I don't know where to start with this. Could you offer any advice?

Saiyato commented 6 years ago

I'm going to need more information, which version did you download? I just tested with the latest and it installs just fine on my Pi2B (running 2.296).

Downloading plugin at http://127.0.0.1:3000/plugin-serve/9744aa65-c772-460a-a8c2-910b9b6244ac.zip
END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/9744aa65-c772-460a-a8c2-910b9b6244ac.zip
Creating folder on disk
Unpacking plugin
Checking for duplicate plugin
Copying Plugin into location
Installing dependencies
Installing SnapCast and its dependencies...
Selecting previously unselected package snapclient.
(Reading database ... 23369 files and directories currently installed.)
Preparing to unpack .../snapclient_0.12.0_armhf.deb ...
Unpacking snapclient (0.12.0) ...
Processing triggers for systemd (215-17+deb8u7) ...
Selecting previously unselected package snapserver.
(Reading database ... 23378 files and directories currently installed.)
Preparing to unpack .../snapserver_0.12.0_armhf.deb ...
Unpacking snapserver (0.12.0) ...
Setting up snapserver (0.12.0) ...
Processing triggers for systemd (215-17+deb8u7) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following extra packages will be installed:
libatomic1
The following NEW packages will be installed:
libatomic1
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
1 not fully installed or removed.
Need to get 6796 B of archives.
After this operation, 22.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.

#SNAPCAST
pcm.!snapcast {
type plug
slave.pcm snapConverter
}

pcm.snapConverter {
type rate
slave {
pcm writeFile # Direct to the plugin which will write to a file
format S16_LE
rate 48000
}
}

pcm.writeFile {
type file
slave.pcm null
file "/tmp/spotififo"
format "raw"
}
#ENDOFSNAPCAST

Adding plugin to registry
Plugin Successfully Installed
Saiyato commented 6 years ago

The latest version being:

{
    "prettyName": "SnapCast",
    "name": "snapcast",
    "category": "miscellanea",
    "version": "2.1.12",
    "icon": "fa fa-podcast",
    "enabled": false,
    "active": false
}
Sipowitz commented 6 years ago

My apologies, I've just tried to install again on my third clean Volumio2 install and it worked brilliantly. I suspect its maybe a problem with the SD card?

Anyway many thanks for your help. Is there any other avenue for help requests if I have a few niggling problems?

Saiyato commented 6 years ago

Hi bud,

You can start/comment on a post on the Volumio forum, that way we can keep the github for issues only. ;) Sometime others can chime in if I can't.

Have fun with the plugin!