DURATION_SECONDS field in database is emtpy

Post your Server Bug Report
sekisushai
Posts: 12
Joined: 08 Feb 2016, 00:14
Has thanked: 0
Been thanked: 6 times

DURATION_SECONDS field in database is emtpy

Unread post by sekisushai »

Code: Select all

=========================================================================================
     VERSION:      MADSONIC 6.1 | BUILD: 8550
     OS:           RASPBIAN JETTY
     SYSTEM:       SERVER RASPBERRY PI
     INSTALLER:    DEB
     JAVA:         ORACLE JDK 1.8
     DESCRIPTION:  DATABASE DURATIONS_SECONDS FIELD EMPTY
     REPRODUCIBLE: YES
    =========================================================================================
Hello,
I'm running Madsonic on a rasperry pi with raspbian jetty.
ffmpeg is deprecated by avconv on this distribution.

I've noticed that when I'm scanning my media folders, the database is not filled entirely for the MUSIC type.
Especially, I suspect the FFmpeg parser fails to fill the field "DURATION_SECONDS" for all my music (flac files).


Thus, when I start to play a song with the html player, the logs warns me :

Code: Select all

 WARN 	StreamController 	Unknown duration for Title. Unable to estimate transcoded size.
Moreover, the duration indicated by the player is wrong, and the player stops as soon as the transcoding process is finished..

Any idea how to fix this ?
Post Reply