Coder Social home page Coder Social logo

zoodevio_videolibrary's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

zoodevio_videolibrary's Issues

File Structure being incorrectly added to DB

Currently, what happens is you select a file to be the root. Stuff happens. And the database gets all the folders added correctly. However, the entries in the table are incorrect. The "Parent ID" field is always being set to '0' except for the parent folder which is correctly being set at -1.

Likely application side problem.

Thumbnail support - in DB or in files?

Hi all,

Did we agree to support thumbnails through the database, or through a directory of files somewhere? We can do either, but I think the files directory thing would be easier, provided we make sure Zoodevio clears/creates that directory on setting the library root.

Please respond with prefs, and I'll implement.

Control Sizing based on parent container

The gridview needs to stretch to two sizes depending on which windows are open. Currently the control stretches outside of it's parent, it needs to not get larger then the container and stretch wider when the metadata window closes.

Database cannot handle input files with apostrophes

File names aren't sanitized in/out of the database. Will have to add a handler.

Example from SetLibraryRoot:
1 12:00:00 AM', '11/6/2015 6:15:18 PM')insert into files (path, date_added, date_edited) values ('G:\Videos\Gossip Girl\Season 1\Gossip Girl - S1E06 - The Handmaiden's Tale.avi', '1/1/0001 12:00:00 AM', '11/6/2015 6:15:18 PM')System.Data.SQLite.SQLiteException (0x80004005): SQLite error near "s": syntax error at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain) at System.Data.SQLite.SQLiteCommand.BuildNextCommand() at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at Zoodevio.DataModel.Database.SimpleInsertQuery(String table, String[] rows, String[] data) in C:\Users\Max Zimon\Documents\GitHubVisualStudio\Zoodevio_VideoLibrary\Zoodevio\DataModel\Database.cs:line 144Files table addition failed: G:\Videos\Gossip Girl\Season 1\Gossip Girl - S1E06 - The Handmaiden's Tale.avi

Note the apostrophe in "Handmaiden's." Other files in this format (video name - episode code - name) add correctly.

File Structure not being generated application side

Currently, with the application not correctly writing the files to DB, you have to set this problem up manually. Modify folder parent ID values in the DB to reflect their parents correctly. Then click the force hierarchy context menu button.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.