-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nightingale created from yaml won't play music #132
Comments
Please provide additional information. Which distribution and version are you using? Can you use |
It won't even let me import a mp3? Is this even AppImage related? |
The AppImage created with this (not very elegant) Recipe is able to play mp3s: https://gist.github.com/darealshinji/abcfffb658f1a801ce12a332809b084b The gstreamer "ugly" plugins are required for mp3 playback: http://packages.ubuntu.com/trusty/gstreamer0.10-plugins-ugly |
Isn't gstreamer 0.10 really replaced by 1.0 since a long time? Just curious... |
It looks like it isn't available anymore in yakkety, but trusty still has it including all the plugins. xenial lacks some plugins. Unfortunately Nightingale requires gstreamer 0.10. |
This script creates a working AppImage for me:
|
Thanks @darealshinji. Getting lots of
on the console. Possibly we need to bundle libgcrypt? |
I've tried, but I don't know how to do that. |
Insert the packages like this:
|
I've added the package |
Can you verify that it ended up in the AppDir? Where? |
Is that directory not within the AppImage's library search path? |
Should be, but to debug try
|
I did some checks and came to the conclusion that apparently some dependencies are loaded from the host system rather than from the AppImage. Here's my current script: app: Nightingale
ingredients:
packages:
- nightingale
- libcurl3-gnutls
- libhogweed2
dist: trusty
sources:
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
ppas:
- djcj/nightingale
script:
- sudo apt-get install -y libglib2.0-bin
- rm -rf usr/lib/x86_64-linux-gnu/x264-10bit/ usr/bin/nightingale
- cat <<\EOF> usr/bin/nightingale
- #!/bin/sh
- usr="`pwd`"
- export LD_LIBRARY_PATH="$usr/lib/nightingale/xulrunner:$LD_LIBRARY_PATH"
- export GST_PLUGIN_PATH="$usr/lib/x86_64-linux-gnu/gstreamer-0.10:$usr/lib/nightingale/gst-plugins"
- export GST_PLUGIN_SCANNER="$usr/lib/x86_64-linux-gnu/gstreamer0.10/gstreamer-0.10/gst-plugin-scanner"
- "$usr/lib/nightingale/nightingale-bin" $*
- EOF
- chmod a+x usr/bin/nightingale |
This means what, that the ppa packaging is broken? |
The gstreamer plugins aren't build in my PPA. But I've fixed it. The packages libcurl3-gnutls and libhogweed2 are dependencies of the troublesome plugins, but they're not installed with the gstreamer packages. app: Nightingale
ingredients:
packages:
- nightingale
- libcurl3-gnutls
- libhogweed2
dist: trusty
sources:
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
ppas:
- djcj/nightingale
script:
- sudo apt-get install -y libglib2.0-bin
- rm -rf usr/lib/x86_64-linux-gnu/x264-10bit/ usr/bin/nightingale
- cat <<\EOF> usr/bin/nightingale
- #!/bin/sh
- usr="`pwd`"
- export LD_LIBRARY_PATH="$usr/lib/nightingale/xulrunner:$LD_LIBRARY_PATH"
- export GST_PLUGIN_PATH="$usr/lib/x86_64-linux-gnu/gstreamer-0.10:$usr/lib/nightingale/gst-plugins"
- export GST_PLUGIN_SCANNER="$usr/lib/x86_64-linux-gnu/gstreamer0.10/gstreamer-0.10/gst-plugin-scanner"
- "$usr/lib/nightingale/nightingale-bin" $*
- EOF
- chmod a+x usr/bin/nightingale Now I'm also starting nightingale-bin directly instead of its wrapper script. |
Should I open a pull request? |
Yes please. 👍 |
Nightingale uses gstreamer. Maybe there are some issues with the plugins and their dependencies not being tracked correctly?
The text was updated successfully, but these errors were encountered: