.DEB package available for Debian/Ubuntu

For help and support with Linux specific issues

.DEB package available for Debian/Ubuntu

Postby paissad » Thu Feb 11, 2010 12:07 am

Hi all,
if you see that deb.paissad.org is down, please do use deb.paissad.net instead.
currently, there are some troubles with my web hosting service with "deb.paissad.org" that will be solved.

This topic contains many pages, and i guess most of people don't want to read all the pages !
But if ever you encounter problems during installations, please try a search before asking a question, thanks.


I've packaged the software for debian & ubuntu distributions, ....
I will also do my best to make the package available in ubuntu repositories as soon as all requirements are respected :)
Btw, i added some features to the software to make it more "linux and server friendly" ...

A) FEATURES:
1) init.d script,
2) logrotate the debug.log file
3) menu-icon available
4) PMS.conf and WEB.conf files won't be removed if you use apt-get remove ( they are considered as conffiles, .... only apt-get purge will remove them)
5) ...

B) INSTALLATION
Just follow one of automatic or manual installation ;)

AUTOMATIC INSTALLATION
I wrote a script in order to install pms-linux, all its dependencies .... so that newbies or lazy people do not get much troubles ...
Run this command
Code: Select all
wget -q --no-check-certificate https://svn.paissad.net/misc/stuffs/install_PMS.sh -O /tmp/install_PMS.sh && bash /tmp/install_PMS.sh

If you get troubles when running the script .. let me know

MANUAL INSTALLATION
The software and its source is available in this repository , add it to your /etc/apt/sources.list file
Code: Select all
deb http://deb.paissad.org/ unstable main contrib non-free
deb-src http://deb.paissad.org/ unstable main contrib

Get the public gpg key
Code: Select all
wget -q -O- http://deb.paissad.org/public-key.asc | sudo apt-key add -

Please, send me a personal message if ever you encounter problems while downloading the key .. or if the server is down
Thanks.

Depends(requirements): mplayer, mencoder, ffmpeg, openjdk-6-jre
Recommends: vlc, dcraw, tsmuxer, libmediainfo0, libzen0

In order to install libzen0 and libmediainfo0, you must add this repository to your /etc/apt/sources.list and get the key ...
Code: Select all
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9D8BC54

Replace YOUR_UBUNTU_VERSION with for example: lucid, karmic, jaunty, ....
Code: Select all
deb http://ppa.launchpad.net/shiki/mediainfo/ubuntu YOUR_UBUNTU_VERSION_HERE main

Code: Select all
sudo apt-get update
sudo apt-get install mplayer mencoder ffmpeg openjdk-6-jre vlc dcraw libmediainfo0 libzen0 tsmuxer pms-linux

C) RUN
Run it via the menu icon
Or run it via terminal or init.d script
Code: Select all
pms-linux

Code: Select all
sudo /etc/init.d/pms-linux start


D) NOTES:
Do not hesitate reading the manpage
Code: Select all
man pms-linux

You can see the brief changes i did by downloading the source.
Code: Select all
apt-get source pms-linux

NOTE:
I did not include tsMuxeR in the .DEB package knowing that the source code of that software is not available. Thus, i packaged tsMuxeR software into another DEB package ( tsmuxer ) which is available in my personal repository in non-free section. For information, pms-linux is available in section main of the repository !!
You should also take a look at this topic viewtopic.php?f=3&t=1508 in order to install latest version of mplayer,mencoder and so on.
The later, the better.

For people speaking french, they can read the ubuntu doc page
http://doc.ubuntu-fr.org/pms-linux
--------------------------------------------------------------------------------------------------------

IF MY PERSONAL SERVER IS DOWN FOR SOME REASON , JUST USE TEMPORARY THE PPA
LAUNCHPAD REPOSITORY WAITING I SOLVE THE PROBLEM ...
SO, THE FOLLOWING IS TOTALLY OPTIONAL, NO NEED TO FOLLOW THE INSTRUCTIONS
BELOW IF EVERYTHING ABOVE WORKED PERFECTLY ! (goodbye then ... :mrgreen: )

I decided to create it only because it rarely happens that my server to be down for some minutes or hours :oops:
But the tsmuxer package which at this moment is only available in my personal repository.
And most of the time, the software version in PPA repository is lower that the one in my personal repository
deb http://ppa.launchpad.net/paissad/pms-linux/ubuntu lucid main
deb-src http://ppa.launchpad.net/paissad/pms-linux/ubuntu lucid main

Get the PPA key following this command:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8A72660B

---------------------------------------------------------------------------------------------------------
Last edited by paissad on Mon Feb 07, 2011 4:10 pm, edited 55 times in total.
Best regards,
http://blog.paissad.org
http://twitter.com/paissad
viewtopic.php?f=3&t=5589
viewtopic.php?f=3&t=5612
viewtopic.php?f=3&t=6004
User avatar
paissad
 
Posts: 138
Joined: Wed Feb 10, 2010 11:52 pm
  • Website
Top

Re: .DEB package available for Debian/Ubuntu

Postby paissad » Thu Feb 11, 2010 12:35 am

Btw, i would be glad if debian/ubuntu users tell me about some bugs ... i've been testing the .deb for for 2 weeks now, but i don't guarantee it to be bugs free.
Suggestions are welcomed too, of course !
i would be glad too, if there a kind & motivated person who would like to translate the french ubuntu doc http://doc.ubuntu-fr.org/pms-linux to english in http://doc.ubuntu.com/
Best regards,
http://blog.paissad.org
http://twitter.com/paissad
viewtopic.php?f=3&t=5589
viewtopic.php?f=3&t=5612
viewtopic.php?f=3&t=6004
User avatar
paissad
 
Posts: 138
Joined: Wed Feb 10, 2010 11:52 pm
  • Website
Top

Re: .DEB package available for Debian/Ubuntu

Postby Craftkiller » Thu Feb 11, 2010 12:39 am

I would like to thank you for your efforts, I am install right now on my headless debian server..... heres to hoping it works!

Edit: appears to be working great out of box.... I didn't both to change /etc/PMS.conf before running it though so I must say I was quite surprised when my ps3 had access to my entire HDD =)

Edit: ran fine out of box, automatically set up to run at start up, easiest set up I could imagine... Thank you sir! Now I can play my FLACs on my ps3 without maintaining a pre-converted collection of mp3s
Craftkiller
 
Posts: 2
Joined: Thu Feb 11, 2010 12:38 am
Top

Re: .DEB package available for Debian/Ubuntu

Postby paissad » Thu Feb 11, 2010 1:10 am

To Craftkiller:
thanks for your post :oops:
I hope that will be quite useful :)
Best regards,
http://blog.paissad.org
http://twitter.com/paissad
viewtopic.php?f=3&t=5589
viewtopic.php?f=3&t=5612
viewtopic.php?f=3&t=6004
User avatar
paissad
 
Posts: 138
Joined: Wed Feb 10, 2010 11:52 pm
  • Website
Top

Re: .DEB package available for Debian/Ubuntu

Postby Flame060 » Thu Feb 11, 2010 4:01 am

Cheers. I'm just starting to learn about linux. Just installed it last weekend, and getting the basics down. This is pretty helpful. Thanks.
Flame060
 
Posts: 12
Joined: Tue Sep 01, 2009 7:51 am
Top

Re: .DEB package available for Debian/Ubuntu

Postby WorldOfHurt » Thu Feb 11, 2010 1:27 pm

Good work! :)

It's nice to finally have this thing packaged for debian rather than leaving the un-initiated to work it out for themselves.

If you are looking for suggestions, one that comes to mind is to include basic customisation support in the apt installer - for instance to add some source folder definitions to the PMS.conf file?

But that would really be gold-plating it 8-)
User avatar
WorldOfHurt
 
Posts: 240
Joined: Thu Mar 19, 2009 10:49 pm
Location: Winchester, UK
Top

Re: .DEB package available for Debian/Ubuntu

Postby paissad » Fri Feb 12, 2010 11:39 am

If you are looking for suggestions, one that comes to mind is to include basic customisation support in the apt installer - for instance to add some source folder definitions to the PMS.conf file?

But that would really be gold-plating it


Currently, ubuntu-motu developpers asked me to split the package , i'm working on it.
And if everything's ok, maybe the package could be available for lucid lynx ... ( i have to hurry up :?)
Btw i will consider your suggestion about "add source folder during apt installer"

Thanks
Best regards,
http://blog.paissad.org
http://twitter.com/paissad
viewtopic.php?f=3&t=5589
viewtopic.php?f=3&t=5612
viewtopic.php?f=3&t=6004
User avatar
paissad
 
Posts: 138
Joined: Wed Feb 10, 2010 11:52 pm
  • Website
Top

Re: .DEB package available for Debian/Ubuntu

Postby Flame060 » Sat Feb 13, 2010 7:31 am

I'm not sure if it's just my linux-newbie showing, but when I defined a destination as to where to look for media, it doesn't affect what I have on the PS3 side of things. It just gives me the root folders as starting options. I'll tinker with it a bit, but I may get a quick answer from here.
Flame060
 
Posts: 12
Joined: Tue Sep 01, 2009 7:51 am
Top

Re: .DEB package available for Debian/Ubuntu

Postby paissad » Sat Feb 13, 2010 11:07 am

Flame060 wrote:I'm not sure if it's just my linux-newbie showing, but when I defined a destination as to where to look for media, it doesn't affect what I have on the PS3 side of things. It just gives me the root folders as starting options. I'll tinker with it a bit, but I may get a quick answer from here.


Hi, in your PMS.conf, you must specify the folders to shares by their absolute paths, separate each folder by a comma, and escape each slash "/" by a backslash "\", here is te folder option in my PMS.conf for example
folders = \/media\/sharing-server\/share_1,\/media\/sharing-server\/share_2,\/media\/sharing-server\/Tchargements_share_3,\/media\/sharing-server\/Documents\/Paissad_ZIK


Btw, i will modiy the package and make users choose their sharing folders during installation :)
Best regards,
http://blog.paissad.org
http://twitter.com/paissad
viewtopic.php?f=3&t=5589
viewtopic.php?f=3&t=5612
viewtopic.php?f=3&t=6004
User avatar
paissad
 
Posts: 138
Joined: Wed Feb 10, 2010 11:52 pm
  • Website
Top

Re: .DEB package available for Debian/Ubuntu

Postby AlphaMale » Sat Feb 13, 2010 12:57 pm

Hi, does your .deb package work in i386 Debian Etch (version 4) or do I need Debian Lenny? Or does this not matter and will it work on both distro's?
Also, does the package contain the multi-threaded versions of the mplayer binaries? (mplayer-mt, mencoder-mt and/or ffmpeg-mt)
If not, are you planning to include them so people with multi-core cpu's can try them out?

thanks.
AlphaMale
 
Posts: 55
Joined: Sun Jan 24, 2010 2:43 pm
Top

Next

Return to Linux Specific Support

Who is online

Users browsing this forum: No registered users and 3 guests