User avatar
DPi
Posts: 41
Joined: Sun Mar 17, 2019 2:38 pm
Location: Spain
Contact: Website

MiniDLNA and the USBs

Wed Apr 10, 2019 2:09 pm

Recently, I've installed MiniDLNA in my RPi, but when I am going to use a USB... What happens? Nothing.
Simply, nothing. I've tried some tutorials on the web, topics on other forums... but nothing. I know that MiniDLNA (or ReadyMedia) are very very out-of-date, but I don't find another updated and that works on the RPi
Thanks!
The rule for the RPi: sudo apt update :D
My English will be bad (I'm from Spain ;) )

User avatar
topguy
Posts: 6995
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 2:28 pm

but when I am going to use a USB...
Maybe tell us "how" you use the USB...

User avatar
DPi
Posts: 41
Joined: Sun Mar 17, 2019 2:38 pm
Location: Spain
Contact: Website

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 2:56 pm

Ohh... sorry, a USB Stick to have the media.
The rule for the RPi: sudo apt update :D
My English will be bad (I'm from Spain ;) )

User avatar
B.Goode
Posts: 11236
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 3:05 pm

DPi wrote:
Wed Apr 10, 2019 2:56 pm
Ohh... sorry, a USB Stick to have the media.

Meaning that stick already contains the files you hope to serve?


What Operating System is running on your RPi?

Is the usb stick correctly detected and mounted by the Operating System?

Can you navigate around the directories on the usb stick directly from the shell (command line) prompt on the RPi? (Or the GUI file manager.)

(Because the Operating System can only serve, via other applications, files that it can already 'see'.)

User avatar
DPi
Posts: 41
Joined: Sun Mar 17, 2019 2:38 pm
Location: Spain
Contact: Website

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 3:11 pm

Meaning that stick already contains the files you hope to serve?
Yes
What Operating System is running on your RPi?
Raspbian
Is the usb stick correctly detected and mounted by the Operating System?
Yes, I can access to the USB and read and write files. But when I change the config file of MiniDLNA (ReadyMedia) to the USB don't work. Like the directory doesn't exist.
The rule for the RPi: sudo apt update :D
My English will be bad (I'm from Spain ;) )

User avatar
B.Goode
Posts: 11236
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 3:38 pm

Where does Raspbian report that it has mounted your media files? (What would you type to list them?)

How have you modified miniDLNA or its configuration to incorporate those files?
Last edited by B.Goode on Wed Apr 10, 2019 4:47 pm, edited 1 time in total.

User avatar
default_user8
Posts: 680
Joined: Mon Nov 18, 2013 3:11 am

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 4:05 pm

DPi wrote:
Wed Apr 10, 2019 2:09 pm
Recently, I've installed MiniDLNA in my RPi, but when I am going to use a USB... What happens? Nothing.
Simply, nothing. I've tried some tutorials on the web, topics on other forums... but nothing. I know that MiniDLNA (or ReadyMedia) are very very out-of-date, but I don't find another updated and that works on the RPi
Thanks!
Not to divert from your original topic, but what's wrong with the DLNA server in plex media server or Kodi's DLNA server? Both are current, and would probably solve your usb issue, Plex would certainly make it easier to curate your media collection.
Two heads are better than one, unless one's a goat head.

User avatar
DPi
Posts: 41
Joined: Sun Mar 17, 2019 2:38 pm
Location: Spain
Contact: Website

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 7:04 pm

B.Goode wrote:
Wed Apr 10, 2019 3:38 pm
Where does Raspbian report that it has mounted your media files? (What would you type to list them?)

How have you modified miniDLNA or its configuration to incorporate those files?
I've changed the minidlna.conf file with this line:

Code: Select all

...
media_dir=V,/media/pi/USB1-D/Files/Videos
...
To know if it's mounted i've used the command 'mount' and it reports this about my USB Stick:

Code: Select all

/media/pi/USB1-D type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
The rule for the RPi: sudo apt update :D
My English will be bad (I'm from Spain ;) )

User avatar
DPi
Posts: 41
Joined: Sun Mar 17, 2019 2:38 pm
Location: Spain
Contact: Website

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 7:06 pm

default_user8 wrote:
Wed Apr 10, 2019 4:05 pm
DPi wrote:
Wed Apr 10, 2019 2:09 pm
Recently, I've installed MiniDLNA in my RPi, but when I am going to use a USB... What happens? Nothing.
Simply, nothing. I've tried some tutorials on the web, topics on other forums... but nothing. I know that MiniDLNA (or ReadyMedia) are very very out-of-date, but I don't find another updated and that works on the RPi
Thanks!
Not to divert from your original topic, but what's wrong with the DLNA server in plex media server or Kodi's DLNA server? Both are current, and would probably solve your usb issue, Plex would certainly make it easier to curate your media collection.
I think about it but one of the computer that I like to use to see my files, can't use Plex; but thanks for your help
The rule for the RPi: sudo apt update :D
My English will be bad (I'm from Spain ;) )

User avatar
DPi
Posts: 41
Joined: Sun Mar 17, 2019 2:38 pm
Location: Spain
Contact: Website

Re: MiniDLNA and the USBs

Wed Apr 10, 2019 7:16 pm

After use advanced options for the command mount, I've seen that the device USB are mounted into the folder '/dev/sda1' but it has got a ""friendly name"" called /home/pi but really it's a type of shortcut to /dev/sda1/.
I've tried with some photos, videos and music and it works to me. It goes more slowly, but it works.
I've changed the minidlna.conf file and now is:

Code: Select all

media_dir=P,/dev/sda1/Files/Photos
media_dir=V,/dev/sda1/Files/Videos
media_dir=A,/dev/sda1/Files/Music
Thanks to everybody. :D
The rule for the RPi: sudo apt update :D
My English will be bad (I'm from Spain ;) )

Return to “General discussion”