Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: DLNA problems with Samsung TV and Ubuntu

  1. #31
    Join Date
    Sep 2009
    Location
    London
    Beans
    1,126

    Unhappy Re: DLNA problems with Samsung TV and Ubuntu

    Quote Originally Posted by Bone Down View Post
    I am at a loss at this point, but you could give this thread a look and see if anything contained within might help you out.

    maybe try running
    Code:
    sudo minidlna -R
    This should rescan your media directories for new/old media (which it should be doing automatically).
    And this is what it states...

    HTML Code:
    server@server:~$ sudo minidlna -R
    [sudo] password for server: 
    Media directory not accessible! [/Media/Baroni]
    Media directory not accessible! [/Media/Chiara]
    Media directory not accessible! [/Media/Configs]
    Media directory not accessible! [/Media/Monsters]
    Media directory not accessible! [/Media/Resource]
    Media directory not accessible! [/Media/Shared]
    Media directory not accessible! [/Media/Teaching]
    server@server:~$

  2. #32
    Join Date
    Dec 2005
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: DLNA problems with Samsung TV and Ubuntu

    Quote Originally Posted by Jonners59 View Post
    And this is what it states...

    HTML Code:
    server@server:~$ sudo minidlna -R
    [sudo] password for server: 
    Media directory not accessible! [/Media/Baroni]
    Media directory not accessible! [/Media/Chiara]
    Media directory not accessible! [/Media/Configs]
    Media directory not accessible! [/Media/Monsters]
    Media directory not accessible! [/Media/Resource]
    Media directory not accessible! [/Media/Shared]
    Media directory not accessible! [/Media/Teaching]
    server@server:~$
    run this command and post up the results.
    Code:
    ls -la
    I am curious under what user miniDLNA is running as.
    Also did you download and install putty for your convenience? Putty would run on your laptop so that you can SSH into your linux box from the comfort of your sofa.
    Ubuntu 5.10 Kernel 2.6.12-10.26 <in the beginning>
    Ubuntu 10.10 Kernel Linux 2.6.35-23-generic-pae<I am back,2010.10.08>

  3. #33
    Join Date
    Sep 2009
    Location
    London
    Beans
    1,126

    Talking Re: DLNA problems with Samsung TV and Ubuntu

    Quote Originally Posted by Bone Down View Post
    run this command and post up the results.
    Code:
    ls -la
    I am curious under what user miniDLNA is running as.
    Also did you download and install putty for your convenience? Putty would run on your laptop so that you can SSH into your linux box from the comfort of your sofa.
    It works, IT BEEEEEPing WORKS!!!

    I did a search for all miniDNLA and put it all in the trash - knowing I could easily restore it.

    Then I tried the new link and install

    http://www.richtechnologies.com/?p=206

    HTML Code:
    This is what I did to share my MythTV media with the Sony BDP-S570:
     Add the unofficial MiniDLNA Ubuntu PPA:
            sudo add-apt-repository ppa:stedy6/stedy-minidna
    Update the APT package index:
            sudo apt-get update
    Install MiniDLNA:
            sudo apt-get install minidlna
    Edit the /etc/minidlna.conf file:
            sudo vi /etc/minidlna.conf
    
    Ensure the following in the config
    port=8200
    
    [QUOTE]media_dir=A,"directory for music"
    media_dir=P,"directory for Pictures"
    media_dir=V,"directory for Videos"
    media_dir=V,"directory for Recordings"[/QUOTE]
    
    or
    
    [QUOTE]media_dir="directory for all media"[/QUOTE]
    
    friendly_name=DLNA Server    [QUOTE]or whatever you want to call it[/QUOTE]
    album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
    inotify=yes
    enable_tivo=no
    strict_dlna=no
    notify_interval=900
    serial=12345678
    model_number=1
     
    Restart the MiniDLNA server, removing the existing media list:
            sudo /etc/init.d/minidlna stop
            sudo rm -r /tmp/minidlna
             sudo /etc/init.d/minidlna start:D:D:D:D
    Then create the auto start script:

    Code:
    #!/bin/sh
    
    # chkconfig: 345 99 10
    # description: Startup/shutdown script for MiniDLNA daemon
    #
    # $Id: minidlna.init.d.script,v 1.2 2009/07/02 00:33:15 jmaggard Exp $
    # MiniUPnP project
    # author: Thomas Bernard
    # website: http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
    
    MINIDLNA=/usr/sbin/minidlna
    ARGS='-f /etc/minidlna.conf'
    
    test -f $MINIDLNA || exit 0
    
    . /lib/lsb/init-functions
    
    case "$1" in
    start)  log_daemon_msg "Starting minidlna" "minidlna"
            start-stop-daemon --start --quiet --pidfile /var/run/minidlna.pid --startas $MINIDLNA -- $ARGS $LSBNAMES
            log_end_msg $?
            ;;
    stop)   log_daemon_msg "Stopping minidlna" "minidlna"
            start-stop-daemon --stop --quiet --pidfile /var/run/minidlna.pid
            log_end_msg $?
            ;;
    restart|reload|force-reload)
            log_daemon_msg "Restarting minidlna" "minidlna"
            start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/minidlna.pid
            start-stop-daemon --start --quiet --pidfile /var/run/minidlna.pid --startas $MINIDLNA -- $ARGS $LSBNAMES
            log_end_msg $?
            ;;
    *)      log_action_msg "Usage: /etc/init.d/minidlna {start|stop|restart|reload|force-reload}"
            exit 2
            ;;
    esac
    exit 0
    Make executable. I just open the hosting folder/directory using "Open as Administrator" then seklect the file/scropt and do a left click for properties and tick the "Execute" tab.

    The pain is all over!!!!

    PS, no I did not install Putty.... How do I, please???
    Last edited by Jonners59; March 11th, 2011 at 08:40 PM.

  4. #34
    Join Date
    Dec 2005
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: DLNA problems with Samsung TV and Ubuntu

    Quote Originally Posted by Jonners59 View Post
    It works, IT BEEEEEPing WORKS!!!

    I did a search for all miniDNLA and put it all in the trash - knowing I could easily restore it.

    Then I tried the new link and install

    http://www.richtechnologies.com/?p=206

    HTML Code:
    This is what I did to share my MythTV media with the Sony BDP-S570:
     Add the unofficial MiniDLNA Ubuntu PPA:
            sudo add-apt-repository ppa:stedy6/stedy-minidnaUpdate the APT package index:
            sudo apt-get updateInstall MiniDLNA:
            sudo apt-get install minidlnaEdit the /etc/minidlna.conf file:
            sudo vi /etc/minidlna.conf port=8200
    network_interface=eth0
    media_dir=A,/var/lib/mythtv/music
    media_dir=P,/var/lib/mythtv/pictures
    media_dir=V,/var/lib/mythtv/videos
    media_dir=V,/var/lib/mythtv/recordings
    friendly_name=MythTV DLNA Server
    album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
    inotify=yes
    enable_tivo=no
    strict_dlna=no
    notify_interval=900
    serial=12345678
    model_number=1
     
    Restart the MiniDLNA server, removing the existing media list:
            sudo /etc/init.d/minidlna stop
                       sudo rm -r /tmp/minidlna
                       sudo /etc/init.d/minidlna start:D:D:D:D
    The pain is all over!!!!

    PS, no I did not install Putty.... How do I, please???
    glorious what a fine moment. PUTTY is located here I just heard about something called 'screen' I am going to look into it, but I have utilized putty for over a decade now its simple and it works.
    Ubuntu 5.10 Kernel 2.6.12-10.26 <in the beginning>
    Ubuntu 10.10 Kernel Linux 2.6.35-23-generic-pae<I am back,2010.10.08>

  5. #35
    Join Date
    Jun 2008
    Beans
    30

    Re: DLNA problems with Samsung TV and Ubuntu

    I'm glad you got things to work. I decided to take your brute force method and apply it to my situation. Sure enough, now it autostarts! So I'm done too.

  6. #36
    Join Date
    Sep 2009
    Location
    London
    Beans
    1,126

    Re: DLNA problems with Samsung TV and Ubuntu

    Chuffed I was of service... Have a great Chrimbo

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

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
  •