Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Jolla as a Mediaserver ?

    Reply
    cvp | # 1 | 2014-07-24, 14:54 | Report

    Is it possible that to reveal Jolla smartphone as a media server?

    I wanted to send my music files on my Marantz AV receiver. Only the Android Marantz program does not have the function. However, I can make search a Media Server.
    The Sailfish program "upnpplayer" cant also send out any files from the smartphone.
    Therefore, I am looking for a way to reveal the smartphone itself as a media server.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nieldk | # 2 | 2014-07-24, 15:34 | Report

    https://openrepos.net/content/nieldk/minidlna

    for howto: http://www.htpcbeginner.com/install-...imate-guide/3/

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to For This Useful Post:
    sombrer0, zlatko

     
    cvp | # 3 | 2014-07-26, 21:48 | Report

    hmm, i install minidlna, but cant find the .minidlna or minidlna.conf on jolla. do i need to install something exept minidlna from open repos ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nieldk | # 4 | 2014-07-27, 05:33 | Report

    Originally Posted by cvp View Post
    hmm, i install minidlna, but cant find the .minidlna or minidlna.conf on jolla. do i need to install something exept minidlna from open repos ?
    create /etc/minidlna.conf which contains this

    Code:
    media_dir=V,/home/nemo/Videos
    media_dir=P,/home/nemo/Pictures
    media_dir=A,/home/nemo/Music
    
    friendly_name=My DLNA Server
    start from terminal (as normal 'nemo' user

    Code:
    $ minidlnad -R
    The '-R' option is to tell minidlna to rescan media

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by nieldk; 2014-07-27 at 08:04.

     
    cvp | # 5 | 2014-07-27, 07:26 | Report

    thanks for help.

    the command "minidlna -R" with or withoit -R is it not working. I get:

    bash: minidlna: command not found

    if i type minid and press Tab, there find only minidlnad (with "d" on the end).

    and yes i am sure that i install minidlna from open repos


    EDIT: ok solved... its "minidlnad -R" now my av receiver find my Phone and can stream the files VERY Cool, and thank you very much for "minidlna"

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by cvp; 2014-07-27 at 07:41.
    The Following User Says Thank You to cvp For This Useful Post:

     
    zlatko | # 6 | 2014-07-27, 10:15 | Report

    I can not get it to work. After I run "minidlnad -R" i do not see any process connected with DLNA running on Jolla.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cvp | # 7 | 2014-07-27, 10:44 | Report

    you dont see any process, but you dont get any error massage like command not found or so.!
    But if you restart the av receiver and check if there is a ne mediaplayer aviable, than you find your Jolla as the name what you have choosen. If you use upnpplayer for Sailfish, than you need kick/delete the existing av receiver from the list and put a new one into, than you will listed your jolla phone in the mediaplayer list on the app.

    her is my minidlna.conf, check if you have the same information on your config file:
    Originally Posted by
    # port for HTTP (descriptions, SOAP, media transfer) traffic
    port=8200

    # network interfaces to serve, comma delimited
    #network_interface=eth0

    # specify the user account name or uid to run as
    user=nemo

    # set this to the directory you want scanned.
    # * if you want multiple directories, you can have multiple media_dir= lines
    # * if you want to restrict a media_dir to specific content types, you
    # can prepend the types, followed by a comma, to the directory:
    # + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
    # + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
    # + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
    # + "PV" for pictures and video (eg. media_dir=AV,/home/jmaggard/digital_camera)
    media_dir=V,/home/nemo/Videos
    media_dir=P,/home/nemo/Pictures
    media_dir=A,/home/nemo/Music

    # set this if you want to customize the name that shows up on your clients
    friendly_name=Jolla DLNA Server

    # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
    db_dir=/home/nemo/.minidlna

    # set this if you would like to specify the directory where you want MiniDLNA to store its log file
    #log_dir=/var/log

    # set this to change the verbosity of the information that is logged
    # each section can use a different level: off, fatal, error, warn, info, or debug
    #log_level=general,artwork,database,inotify,scanne r,metadata,http,ssdp,tivo=warn

    # this should be a list of file names to check for when searching for album art
    # note: names should be delimited with a forward slash ("/")
    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

    # set this to no to disable inotify monitoring to automatically discover new files
    # note: the default is yes
    inotify=yes

    # set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
    enable_tivo=no

    # set this to strictly adhere to DLNA standards.
    # * This will allow server-side downscaling of very large JPEG images,
    # which may hurt JPEG serving performance on (at least) Sony DLNA products.
    strict_dlna=no

    # default presentation url is http address on port 80
    #presentation_url=http://www.mylan/index.php

    # notify interval in seconds. default is 895 seconds.
    notify_interval=895

    # serial and model number the daemon will report to clients
    # in its XML description
    serial=12345678
    model_number=1

    # specify the path to the MiniSSDPd socket
    #minissdpdsocket=/var/run/minissdpd.sock

    # use different container as root of the tree
    # possible values:
    # + "." - use standard container (this is the default)
    # + "B" - "Browse Directory"
    # + "M" - "Music"
    # + "V" - "Video"
    # + "P" - "Pictures"
    # if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
    #root_container=.
    so you can read, friendly_name=Jolla DLNA Server, this you will find than on the av receiver or upnpplayer.

    to stop the Service you type the command in Terminal:
    killall minidlnad

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by cvp; 2014-07-27 at 10:47.

     
    zlatko | # 8 | 2014-07-27, 11:01 | Report

    I run minidlna i debug mode and found it was issue with permissions: both
    Code:
    /var/cache/minidlna
    and
    Code:
    /var/run/minidlna
    were with owner root. I tried running the application as root - all worked fine. Then I just changed the permission to nemo and now I can run it in user mode. Thank you @nieldk!

    @cvp when DLNA server is running - there is a process You can not have something running just like that

    Code:
    [nemo@Jolla ~]$ ps ax|grep mini
    11438 ?        Ssl    0:00 minidlnad -R
    11456 pts/0    S+     0:00 grep mini

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nieldk | # 9 | 2014-07-27, 15:01 | Report

    good feedback ,i will update package

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to For This Useful Post:
    sombrer0

     
vBulletin® Version 3.8.8
Normal Logout