chocolateboy wrote:Time to update this?
Done!
Still waiting for SubJunk about adding this info to official site
chocolateboy wrote:Time to update this?
happy.neko wrote:Init.d script (not recommended)
/etc/init.d/ps3mediaserver
/etc/default/ps3mediaserver (startup options)
ps3mediaserver (1.50.2+svn1092+mplayer34587-2) oneiric; urgency=low
* Don't mux all audio tracks with tsmuxer by default
ps3mediaserver (1.50.2+svn1092+mplayer34587-1) oneiric; urgency=low
* New upstream release 1.50.2+svn1092 (https://code.google.com/p/ps3mediaserver/source/list)
* Make sure daemon is started with system locale (thanks, carlettod)
* Option to use LPCM for audio when streaming with mencoder and tsmuxer (https://github.com/ps3mediaserver/ps3mediaserver/pull/10)
arrrghhh wrote:happy.neko wrote:Init.d script (not recommended)
/etc/init.d/ps3mediaserver
/etc/default/ps3mediaserver (startup options)
Sweet, thanks for this!
However, I'm confused by this part - one of the main reasons for installing from a repo (besides the automatic updates) would be to get an init.d script so it can easily run at boot (my server is headless, so the directions on how to add PS3MediaServer to startup using "Startup Applications" is useless).
So what's the deal? How can I use your repo on a headless server? Why is it not recommended to use the init.d script? I noticed on paissad's, I used to be able to reliably start/stop and find the status of PS3MediaServer using the upstart scripts, but ever since paissad went to 1.50 I've had issues. Perhaps this is a PS3MediaServer bug and not a bug with the init script?
I'd be curious to know. Having a reliable upstart script for PS3MediaServer would be fantastic. Thanks!!
chocolateboy wrote:One other thing: is there a repo for this build? I have a small patch (I know there's deb-src, but...).
sudo apt-get install quiltalias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"
d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done
if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then
# if in Debian packaging tree with unset $QUILT_PATCHES
QUILT_PATCHES="debian/patches"
QUILT_PATCH_OPTS="--reject-format=unified"
QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto"
QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33"
if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi
fi
apt-get source ps3mediaserver
cd ps3mediaserver-XXX
dquilt new my-new-patch.patch
dquilt add first-modified-file-in-patch
dquilt add second-modified-file-in-patch
..
<now edit added files>
...
dquilt refresh
debchange -v new-versiondpkg-buildpackage -S -sadpkg-buildpackagehappy.neko wrote:Init.d startup is disabled by default to prevent users' confusion when two conflicting server instances (headless and started from GUI) are running.
You can enable automatic headless startup, just edit /etc/default/ps3mediaserver and change PS3MS_START="0" to "1". Make sure you have working /root/.config/ps3mediaserver/PMS.conf if you plan to run it under root.
happy.neko wrote:chocolateboy wrote:One other thing: is there a repo for this build? I have a small patch (I know there's deb-src, but...).
Sadly no. But it relatively easy to modify source package...
Return to Linux Specific Support
Users browsing this forum: Google [Bot] and 8 guests