Comments (4)
fixed in 2c3a7c5
Thanks to found it.
from universalmediaserver.
You're welcome.
After looking at the table, I'd propose to modify the primary key of AUDIOTRACKS
using the tuple (FILEID, ID) leaving LANG out. The two SQL statements in the supporting class are using only "FILEID" and "FILEID, ID" as parameter.
from universalmediaserver.
I think that was for video file audiotrack language to allow same file and id with different lang ? IDK
from universalmediaserver.
I don't mind the LANG field! I think indexes have to match the query to be taken into account.
- One query has as WHERE parameter
fileid
and will use the index generated by the FOREIGN_KEY constraint. - The other query stepping through the audiotracks uses
fileid
andID
and will most likely not match the PRIMARY_KEY constraint because the index spans over 3 fields (fileid, id, lang).
I proposed to change
CONSTRAINT + TABLE_NAME + PK_MARKER + PRIMARY_KEY + "(" + COL_FILEID + COMMA + COL_ID + COMMA + COL_LANG + ")" + COMMA +
into
CONSTRAINT + TABLE_NAME + PK_MARKER + PRIMARY_KEY + "(" + COL_FILEID + COMMA + COL_ID + ")" + COMMA +
from universalmediaserver.
Related Issues (20)
- Discoverd a couple of bugs in 13.7.0 HOT 6
- Marking media played entirely, UMS 13.6.0 HOT 1
- Please provide patch level updates for security vulnerabilities to ensure users safety HOT 3
- TV Series should check on alternative titles HOT 1
- UMS Web player no audio output HOT 3
- Incorrect video time Samsung-CD HOT 2
- Pigasus.conf issue. HOT 3
- Samsung TV #4114 and #4039 bug Solved HOT 6
- Happy 5th anniversary with UMS, SurfaceS! HOT 1
- Samsung D5500 no supported vp09 encoded mp4 files
- 3 TV found on my network at start? HOT 7
- Add ability to shut down computer from web settings HOT 8
- Add link to the forums in the links section HOT 1
- Checking whether correct java version is installed in the system that is compatible with maven version HOT 1
- Navigation Settings tab blank HOT 3
- NullPointerException thrown on 13.7.0 when trying to play an avi video HOT 3
- Web Player issue, internally and externally HOT 1
- v14 : JDK API Handler with limited functionality HOT 10
- Updating svn binaries. HOT 5
- Unable to load Java Runtime Environment on MacOS Sonoma 14.1.1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universalmediaserver.