Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minidlna does not index all files #16

Open
djaenecke opened this issue Feb 22, 2018 · 10 comments
Open

minidlna does not index all files #16

djaenecke opened this issue Feb 22, 2018 · 10 comments

Comments

@djaenecke
Copy link

I have a directory with 2377 mp3 files, but minidlna will only index 799 of them. There are no errors in the log for specific files (log level warn). There is this SQL error but I am not sure if it is related, since it is shown after scanning has finished:

sql.c:117: warn: sql_get_int_field: step failed: SQL logic error or missing database
SELECT (select count(distinct DETAIL_ID) from OBJECTS o left join DETAILS d on (o.DETAIL_ID = d.ID) where (OBJECT_ID glob '*$*') and (o.CLASS like "item.audioItem%" and REF_ID is NULL)) + (select count(*) from OBJECTS o left join DETAILS d on (o.DETAIL_ID = d.ID) where (OBJECT_ID = '*') and (o.CLASS like "item.audioItem%" and REF_ID is NULL))

All files and directories are readable by the minidlna user.
The problem occures in 1.1.5 and 1.2.1.

Any idea how to find out why these files are ignored (and how to fix it)?

@VBota1
Copy link

VBota1 commented Mar 24, 2018

I found out that it has a problems with some file names. I think it's a bug but I'm not sure on what.

@mu88
Copy link

mu88 commented Feb 9, 2024

@VBota1 did you ever solve this issue? I'm also having trouble with files containing special chars like [ or ä.

I'm using 1.0.2.r43 on a ASUSTOR NAS

@VBota1
Copy link

VBota1 commented Feb 10, 2024

I did not solve it. I just wrote a script and renamed the files. I'm no longer using Minidlna (I don't need it anymore).

@Spider84
Copy link

Can anyone post here some examples of filenames to check this bug?
I can try to fix it.

@mu88
Copy link

mu88 commented Feb 11, 2024

This is my test file test7.m3u which does not contain any items in MiniDLNA:

#EXTM3U
#EXTINF:196,Dean Lewis - Be Alright [Explicit]
#EXTVLCOPT:file-caching=1000
Dean%20Lewis/Be%20Alright/01-01-Be%20Alright.mp3
#EXTINF:196,Dean Lewis - Be Alright
#EXTVLCOPT:file-caching=1000
Dean%20Lewis/Be%20Alright/01-01-Be%20Alright.mp3
#EXTINF:196,Dean Lewis - Be Älright [Explicit]
#EXTVLCOPT:file-caching=1000
Dean%20Lewis/Be%20Alright/01-01-Be%20Älright.mp3
#EXTINF:196,Dean Lewis - Be Älright
#EXTVLCOPT:file-caching=1000
Dean%20Lewis/Be%20Alright/01-01-Be%20Älright.mp3

@VBota1
Copy link

VBota1 commented Feb 11, 2024

Ștefan Hrușcă - Rugă pentru părinți
Ștefan Hrușcă - La săvârșitu' lumii
Pasărea Phoenix - Țiganiada
Béla Kamocsa
Zoly Kovács
Totuși sînt ca voi sau Floarea stîncilor (EP, vinil 7", 1969)
Tuareg/Mr. G's Promises single, vinil 7", 1988
Ciocîrlia/Perestroika (single/promo, vinil 7", 1990)
Vino, Țepeș! album de studio, CD, 2014

@Spider84
Copy link

This is my test file test7.m3u which does not contain any items in MiniDLNA:

#EXTM3U
#EXTINF:196,Dean Lewis - Be Alright [Explicit]
#EXTVLCOPT:file-caching=1000
Dean%20Lewis/Be%20Alright/01-01-Be%20Alright.mp3

This file too? O_o

@Spider84
Copy link

Hi. Can you send me some files? I can't reproduce the bug.
https://spider_vc.t.me/ or email: 🕷🕷.vc (spider 😁)

@mu88
Copy link

mu88 commented Feb 12, 2024

This is my test file test7.m3u which does not contain any items in MiniDLNA:

#EXTM3U
#EXTINF:196,Dean Lewis - Be Alright [Explicit]
#EXTVLCOPT:file-caching=1000
Dean%20Lewis/Be%20Alright/01-01-Be%20Alright.mp3

This file too? O_o

Yes, this one fails, too :( I'm not on Telegram, but I wrote you an email - hope you received it 🤞🏻

@Spider84
Copy link

Ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants