Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 53

Thread: Guide to Installing and Running MiniDLNA on an Ubuntu Server

  1. #41
    Join Date
    Oct 2012
    Beans
    12

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    stupid question...

    what to do with this code. lol...
    an u plzzz tell me step by step process.

  2. #42
    Join Date
    Oct 2007
    Location
    Lancashire, UK
    Beans
    41
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    Quote Originally Posted by ssreesanth View Post
    stupid question...

    what to do with this code. lol...
    an u plzzz tell me step by step process.
    That's a sysvinit script by the look of it, so you can do the following...

    1) Put the contents into a file /etc/init.d/minidlna
    e.g. if you like a GUI text editor...
    Code:
    gksu gedit /etc/init.d/minidlna
    2) Run the following
    Code:
    sudo update-rc.d minidlna defaults 91
    HTH,
    Craig
    Last edited by craigchambers; November 16th, 2012 at 11:03 AM.

  3. #43
    Join Date
    Jan 2008
    Location
    USA
    Beans
    751
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    It doesn't do on-the-fly-transcode. Does it?

    I see there is a minidlna-trancode which is work in progress but no easy to stable install.
    Amor cuerdo, no es Amor.

  4. #44
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    Quote Originally Posted by donniezazen View Post
    It doesn't do on-the-fly-transcode. Does it?

    I see there is a minidlna-trancode which is work in progress but no easy to stable install.
    That utility looks like it only transcodes raw photo images.

  5. #45
    Join Date
    Oct 2007
    Location
    Lancashire, UK
    Beans
    41
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    Quote Originally Posted by cariboo907 View Post
    That utility looks like it only transcodes raw photo images.
    As stated on the linked site, it's a selection of parts of Hieroun's transcode patch. The original was linked on the page...
    http://sourceforge.net/tracker/index...3&atid=1121518

    The readme from Hiroun's patch starts with
    Note for transcode patch

    1. Options

    This patch supports transcoding for both Video and Audio using mencoder/ffmpeg as transcoder.
    Also other encoders can be used using shell script.
    I've never used it as I started with miniDLNA at the same time as I started ripping my DVDs for my TV, so I simply used a supported format, but I've read that it works.

    /Craig

  6. #46
    Join Date
    Dec 2007
    Beans
    65

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    Im hoping someone here can help as I';ve been reading this thread to get minidlna started.

    I installed with the ppa on ubuntu 12.04 This is what I get on startup in the log

    Code:
    [2012/12/02 17:58:49] minidlna.c:888: warn: Starting MiniDLNA version 1.24.1-stedy [SQLite 3.7.9].
    [2012/12/02 17:58:49] sql.c:41: error: SQL ERROR 8 [attempt to write a readonly database]
    pragma default_cache_size = 8192;
    [2012/12/02 17:58:49] minidlna.c:989: warn: HTTP listening on port 8200
    [2012/12/02 17:58:49] inotify.c:91: error: inotify_add_watch(/media/Storage/movies) [Permission denied]
    [2012/12/02 17:58:49] inotify.c:91: error: inotify_add_watch(/media/Storage/tvshows) [Permission denied]
    [2012/12/02 17:58:49] minidlna.c:1199: debug: HTTP connection from 192.168.1.104:65147
    [2012/12/02 17:58:50] minidlna.c:1199: debug: HTTP connection from 192.168.1.104:13722
    [2012/12/02 17:58:51] minidlna.c:1199: debug: HTTP connection from 192.168.1.104:31834

    I checked the permissions on the folders and they open but to double check I ran
    Code:
    sudo 777 /media/Storage/tvshows
    sudo 777 /media/Storage/movies
    Im at a loss here. any suggestions?

  7. #47
    Join Date
    Oct 2007
    Location
    Lancashire, UK
    Beans
    41
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    Quote Originally Posted by neuman1812 View Post
    This is what I get on startup in the log

    Code:
    [2012/12/02 17:58:49] sql.c:41: error: SQL ERROR 8 [attempt to write a readonly database]
    I checked the permissions on the folders and they open but to double check I ran
    Code:
    sudo 777 /media/Storage/tvshows
    I presume that you mean 'sudo chmod 777'.

    Are you running miniDLNA manually? You are getting permission problems which suggests that this is the case.

    MiniDLNA is designed to be run as a daemon (like, for example, the Apache web server), which means that it is usually run with escalated permissions by a startup script.
    Running it as a manual process is more of a debug usage, as running any server manually is.

    In your case the database is causing an error, as is adding an inotify watch (not reading the folders). The DB is not generally stored in the media location, but it seems to default on the Ubuntu package to /var/lib/minidlna/files.db (or it could be /var/cache/minidlna/files.db as this is the config file suggestion).

    Can you see if the database file exists and what the permissions are on the file?

    The start-up script forces the user to minidlna, and that is the owner and group on my file.

    If you want to run manually or without the escalated permissions required to write to the standard locations, you will have to configure the db to a writeable directory either in your config file, or as a command line parameter.

    HTH,
    Craig
    Last edited by craigchambers; December 5th, 2012 at 10:22 AM. Reason: Understood the issue better

  8. #48
    Join Date
    Feb 2008
    Location
    Auckland, Nueva Zelanda
    Beans
    247
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    Hi all, maybe someone of you can help me out.

    I've installed minidlna and was using it without any issues until a couple of days ago.
    Everything seems to work fine except two things:
    1) if I want to watch a video that has subtitles inserted directly in the file (not as separate file), the subtitles don't show at all in the TV. Because of this problem I ran it manually and I found that I get an error, which takes me to the next point
    2) I get a parsing error in line 1, which is the port. I didn't touch anything here and it's all default. However I don't know what the problem could be or how to check it.

    I'm running Minidlna version 1.0.25

    The only thing that I installed a couple of days ago was Webmin and the minidlna module.

    Can anybody help?

  9. #49
    Join Date
    Oct 2007
    Location
    Lancashire, UK
    Beans
    41
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    Quote Originally Posted by Tosh78 View Post
    I've installed minidlna and was using it without any issues until a couple of days ago.
    1) Embedded subtitles don't show at all in the TV.
    Is this a new problem since you upgraded? Subtitle support is generally client side. My Sonys don't support them at all (embedded or in an SRT file).

    2) I ran it manually and I get a parsing error in line 1, which is the port.
    Did you stop the existing minidlna daemon?

    The only thing that I installed a couple of days ago was Webmin and the minidlna module.
    I found webmin a lot more trouble than it was worth in time saving (YMMV). Did the minidlna module also pull in a repository version of minidlna that up/downgraded your existing install?
    Did it overwrite your existing config file. Did it change the init script?

    HTH,
    Craig
    Last edited by craigchambers; January 14th, 2013 at 02:26 PM.

  10. #50
    Join Date
    Nov 2006
    Beans
    297

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    ubuntu 12.10

    Used sudo service minidlna force-reload

    parsing error :

    parsing error file /etc/minidlna.conf line 34 : /home/***/.minidlna/cache

    Also the streaming device smp-n200 sony is saying a whole bunch of directories that arent there
    eg: music album,allmusic,artist,genre,playlists

    Used// tail -20f /var/log/minidlna.log and got

    [2013/01/22 15:54:50] scanner.c:727: warn: Scanning /home/***/Pictures
    [2013/01/22 15:54:50] scanner.c:798: warn: Scanning /home/***/Pictures finished (16 files)!
    [2013/01/22 15:54:50] playlist.c:125: warn: Parsing playlists...
    [2013/01/22 15:58:28] minidlna.c:155: warn: received signal 15, good-bye
    [2013/01/22 16:06:34] minidlna.c:898: warn: Starting MiniDLNA version 1.0.24 [SQLite 3.7.13].
    [2013/01/22 16:06:34] minidlna.c:926: warn: Creating new database...
    [2013/01/22 16:06:34] scanner.c:727: warn: Scanning /home/***/Music
    [2013/01/22 16:06:34] scanner.c:798: warn: Scanning /home/***/Music finished (0 files)!
    [2013/01/22 16:06:34] scanner.c:727: warn: Scanning /home/***/Pictures
    [2013/01/22 16:06:34] minidlna.c:1006: warn: HTTP listening on port 8200
    [2013/01/22 16:06:34] scanner.c:798: warn: Scanning /home/***/Pictures finished (8 files)!
    [2013/01/22 16:06:34] scanner.c:727: warn: Scanning /home/***/Videos
    [2013/01/22 16:06:34] scanner.c:798: warn: Scanning /home/***/Videos finished (8 files)!
    [2013/01/22 16:06:34] scanner.c:727: warn: Scanning /home/***/Pictures
    [2013/01/22 16:06:34] scanner.c:798: warn: Scanning /home/***/Pictures finished (16 files)!
    [2013/01/22 16:06:34] playlist.c:125: warn: Parsing playlists...
    [2013/01/22 16:08:58] minidlna.c:155: warn: received signal 15, good-bye
    [2013/01/22 16:08:59] minidlna.c:898: warn: Starting MiniDLNA version 1.0.24 [SQLite 3.7.13].
    [2013/01/22 16:08:59] minidlna.c:1006: warn: HTTP listening on port 8200
    [2013/01/22 16:11:39] minidlna.c:155: warn: received signal 15, good-bye

Page 5 of 6 FirstFirst ... 3456 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •