home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Area 51 - Testing Area
Centralised database in My Video, My Pictures and folder settings
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="hkjensen" data-source="post: 1130798" data-attributes="member: 52267"><p>Movie with filename "C'est Pas Moi, Je Le Jure! (2008).mkv" get imported and saved as "\C''est Pas Moi, Je Le Jure! (2008)" in table files</p><p>When movie is selected in MP (view: title index) Mp can't find file "C''est Pas Moi, Je Le Jure! (2008).mkv"</p><p></p><p>Also for GetMovieTitlesByGenre</p><p></p><p>The query should be changed to :</p><p> var query = (from sql in _connection.movieinfoes</p><p> join s3 in _connection.genrelinkmovies on sql.idMovie equals s3.idMovie</p><p> join s4 in _connection.genres on s3.idGenre equals s4.idGenre</p><p> where s4.strGenre == strGenre</p><p> orderby sql.strTitle ascending</p><p> select sql).ToList();</p><p></p><p>The all movies with f.ex genre "Horror" get listet and not only movies with only genre "Horror"</p><p>sql.strGenre = "Horror / Sci-Fi" dos not get selected with current query</p><p>where sql.strGenre == strGenre //|| sql.strGenre.Contains(strGenre) //like?</p><p>The Contains(strGenre) could work but using the genrelinkmovies should be faster</p></blockquote><p></p>
[QUOTE="hkjensen, post: 1130798, member: 52267"] Movie with filename "C'est Pas Moi, Je Le Jure! (2008).mkv" get imported and saved as "\C''est Pas Moi, Je Le Jure! (2008)" in table files When movie is selected in MP (view: title index) Mp can't find file "C''est Pas Moi, Je Le Jure! (2008).mkv" Also for GetMovieTitlesByGenre The query should be changed to : var query = (from sql in _connection.movieinfoes join s3 in _connection.genrelinkmovies on sql.idMovie equals s3.idMovie join s4 in _connection.genres on s3.idGenre equals s4.idGenre where s4.strGenre == strGenre orderby sql.strTitle ascending select sql).ToList(); The all movies with f.ex genre "Horror" get listet and not only movies with only genre "Horror" sql.strGenre = "Horror / Sci-Fi" dos not get selected with current query where sql.strGenre == strGenre //|| sql.strGenre.Contains(strGenre) //like? The Contains(strGenre) could work but using the genrelinkmovies should be faster [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
Centralised database in My Video, My Pictures and folder settings
Contact us
RSS
Top
Bottom