It is currently Sat Mar 25, 2023 12:23 pm
All times are UTC + 8 hours

Phantom MPEG files and gapless playback

The UPnP Media Server V2 App can turn your NAS into your home's multimedia streaming server.
As long as you have devices that support UPnP or DLNA (for example, SONY BRAVIA TV, SAMSUNG TV or PlayStation 3),
you can directly browse and stream the media files stored on your NAS.

Re: Phantom MPEG files and gapless playback

Postby Nazar78 » Thu Mar 16, 2023 1:48 pm

You're almost there, only need to fix the volume bind mappings.

You'll need to prepend the correct root paths, note that you can use either /volume1/8TB (case sensitive) or /share/8TB (binded from /volume1).
To simplify things making it less confusing, setup the almost same name mappings. So I assumed your path mappings are as below:

Code: Select all
For audio (host-path:container-path):
   -v /share/8TB/Disks:/share/8TB/Jukebox #volume bind
   -e MINIDLNA_MEDIA_DIR_1=A,/share/8TB/Jukebox #env

For video (host-path:container-path):
   -v /share/Video:/share/Video #volume bind
   -e MINIDLNA_MEDIA_DIR_1=V,/share/Video #env


When you do the mappings via Portainer, ensure the "Bind" is selected, else it will expect a pre-existing docker volume. You can add more minidlna mappings by increasing the DIR_#=A/V iteration.

I tried to do an attachment of the folder list from ADM, but the it said the board was full.
Use any free image hosting like https://imgbb.com/ then post the image link(s) here.

Don't forget to also map your minidlna root folder where the config and cache are, if not they'll be place within the container and lost together with the container if you destroy the container/image. The "/etc/localtime" ensure that the container timezone matches the host.

Code: Select all
   -v /etc/localtime:/etc/localtime:ro
   -v /share/Docker/MiniDLNA:/minidlna
AS5304T - 16GB DDR4 - [Internal: 4x10TB Toshiba RAID10, External 5 Bay USB3: 4x2TB Seagate RAID5 + 480GB Intel SSD for external read cache and Apps] ADM-OS on 2GB RAM
When posting, consider checking the box "Notify me when a reply is posted" to get faster response.
User avatar
Nazar78
 
Posts: 1209
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore

Re: Phantom MPEG files and gapless playback

Postby MoritzTheCat » Sat Mar 18, 2023 10:22 am

Hi Nazar,

Thanks again very much for your help.

Last night, my friend and I were able to eventually get the Portainer container up and running with some trial and error syntax on the volume binds.

From a folder navigation perspective, it's working as I had hoped. No more phantom MPEG files - it's very similar to my previous DLNA implementation.

Gapless playback is still not functioning at the moment, but I'm thinking of trying some of the other miniDLNA Docker images in new containers to see if I can resolve that issue in the future.

Folder artwork is a bit hit and miss, but I think I know what it should be named to make it display consistently going forward.

It appears though that the container is not starting "from scratch" (my definition) on each edit.

Question: is there a way to refresh EVERYTHING in a container in Portainer without deleting it and retyping everything back in? I get the feeling there is a cache or index being built behind the scenes of the folder contents that is not starting blank and rebuilding (or appending) each time out since my changes to folder contents (adding in folder/cover art) is not being reflected after a container edit.
MoritzTheCat
 
Posts: 7
Joined: Tue Mar 14, 2023 11:43 am

Re: Phantom MPEG files and gapless playback

Postby Nazar78 » Sat Mar 18, 2023 3:37 pm

Stop the container, delete the volume bind contents of /share/Docker/MiniDLNA/* which contains art_cache (a folder) and files.db (a sqlite3 file), then start it back up.
AS5304T - 16GB DDR4 - [Internal: 4x10TB Toshiba RAID10, External 5 Bay USB3: 4x2TB Seagate RAID5 + 480GB Intel SSD for external read cache and Apps] ADM-OS on 2GB RAM
When posting, consider checking the box "Notify me when a reply is posted" to get faster response.
User avatar
Nazar78
 
Posts: 1209
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore

Previous

Return to UPnP Media Server 2

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron