// Path: app/src/main/java/com/mitechlt/tvportal/play/databases/FavoritesTable.java
// public class FavoritesTable extends SQLiteOpenHelper {
// 
//     public static final String TABLE_FAVORITES = "favorites";
//     public static final String COLUMN_ID = "_id";
//     public static final String COLUMN_TYPE = "type";
//     public static final String COLUMN_TITLE = "title";
//     public static final String COLUMN_LINK = "link";
//     public static final String COLUMN_IMAGE = "image";
//     public static final String COLUMN_RATING = "rating";
// 
//     private static final String DATABASE_NAME = "favorites.db";
//     private static final int DATABASE_VERSION = 3;
// 
//     private static final String DATABASE_CREATE = "create table "
//             + TABLE_FAVORITES + "("
//             + COLUMN_ID + " integer primary key autoincrement, "
//             + COLUMN_TITLE + " text not null, "
//             + COLUMN_LINK + " text not null, "
//             + COLUMN_IMAGE + " text not null, "
//             + COLUMN_TYPE + " text not null, "
//             + COLUMN_RATING + " integer);";
// 
//     public FavoritesTable(Context context) {
//         super(context, DATABASE_NAME, null, DATABASE_VERSION);
//     }
// 
//     @Override
//     public void onCreate(SQLiteDatabase database) {
//         database.execSQL(DATABASE_CREATE);
//     }
// 
//     @Override
//     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
//         Log.w(FavoritesTable.class.getName(),
//                 "Upgrading database from version " + oldVersion + " to "
//                         + newVersion + ", which will destroy all old data"
//         );
//         db.execSQL("DROP TABLE IF EXISTS " + TABLE_FAVORITES);
//         onCreate(db);
//     }
// 
// }
// 
// Path: app/src/main/java/com/mitechlt/tvportal/play/databases/RecentTable.java
// public class RecentTable extends SQLiteOpenHelper {
// 
//     public static final String TABLE_RECENTS = "recents";
//     public static final String COLUMN_ID = "_id";
//     public static final String COLUMN_TYPE = "type";
//     public static final String COLUMN_TITLE = "title";
//     public static final String COLUMN_LINK = "link";
//     public static final String COLUMN_SEASON = "season";
//     public static final String COLUMN_EPISODE = "episode";
//     public static final String COLUMN_IMAGE = "image";
//     public static final String COLUMN_NUM_SEASONS = "num_seasons";
//     public static final String COLUMN_NUM_EPISODES = "num_episodes";
//     public static final String COLUMN_RATING = "rating";
// 
//     private static final String DATABASE_NAME = "recents.db";
//     private static final int DATABASE_VERSION = 2;
// 
//     private static final String DATABASE_CREATE = "create table "
//             + TABLE_RECENTS + "("
//             + COLUMN_ID + " integer primary key autoincrement, "
//             + COLUMN_TITLE + " text not null, "
//             + COLUMN_LINK + " text not null, "
//             + COLUMN_TYPE + " text not null, "
//             + COLUMN_NUM_EPISODES + " text not null, "
//             + COLUMN_NUM_SEASONS + " text not null, "
//             + COLUMN_EPISODE + " text, "
//             + COLUMN_SEASON + " text, "
//             + COLUMN_IMAGE + " text not null, "
//             + COLUMN_RATING + " integer);";
// 
//     public RecentTable(Context context) {
//         super(context, DATABASE_NAME, null, DATABASE_VERSION);
//     }
// 
//     @Override
//     public void onCreate(SQLiteDatabase database) {
//         database.execSQL(DATABASE_CREATE);
//     }
// 
//     @Override
//     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
//         Log.w(RecentTable.class.getName(),
//                 "Upgrading database from version " + oldVersion + " to "
//                         + newVersion + ", which will destroy all old data"
//         );
//         db.execSQL("DROP TABLE IF EXISTS " + TABLE_RECENTS);
//         onCreate(db);
//     }
// 
// }


import com.mitechlt.tvportal.play.databases.FavoritesTable;
import com.mitechlt.tvportal.play.databases.RecentTable;
    public final static String LAST_WATCHED_SEASON_1 = "last_watched_season_1";

    public final static String LAST_WATCHED_EPISODE_1 = "last_watched_episode_1";

    public final static String LAST_WATCHED_SEASON_2 = "last_watched_season_2";

    public final static String LAST_WATCHED_EPISODE_2 = "last_watched_episode_2";

    //google analytics id
    public final static String GA_PROPERTY_ID = "UA-51779131-1";

    public final static String MOBFOX_AD_ID = "faac43911a78fc8c4abee5d3240b79ef";

    public final static String BANNER_AD_UNIT_ID = "ca-app-pub-3835186866229262/6645856032";

    public final static String INTERSTITIAL_AD_UNIT_ID = "ca-app-pub-3835186866229262/2891164033";

    public final static String TEST_DEVICE_ID_1 = "A67F4255A67458D42E12695CDA84EB78";

    public final static String TEST_DEVICE_ID_2 = "34F64524C97707B4";

    public final static String REVMOB_AD_ID = "53347dee00b628f37bc0b657";


    public final static String SORT_ORDER_FAVORITE = "sort_order_favorite";
    public final static String SORT_FAVORITE_DEFAULT = FavoritesTable.COLUMN_ID;
    public final static String SORT_FAVORITE_MOVIES_AZ = FavoritesTable.COLUMN_TYPE + ", " + FavoritesTable.COLUMN_TITLE + " COLLATE NOCASE ASC";
    public final static String SORT_FAVORITE_TV_SHOWS_AZ = FavoritesTable.COLUMN_TYPE + " DESC" + ", " + FavoritesTable.COLUMN_TITLE + " COLLATE NOCASE ASC";

    public final static String SORT_ORDER_RECENT = "sort_order_recent";
// Path: app/src/main/java/com/mitechlt/tvportal/play/databases/FavoritesTable.java
// public class FavoritesTable extends SQLiteOpenHelper {
// 
//     public static final String TABLE_FAVORITES = "favorites";
//     public static final String COLUMN_ID = "_id";
//     public static final String COLUMN_TYPE = "type";
//     public static final String COLUMN_TITLE = "title";
//     public static final String COLUMN_LINK = "link";
//     public static final String COLUMN_IMAGE = "image";
//     public static final String COLUMN_RATING = "rating";
// 
//     private static final String DATABASE_NAME = "favorites.db";
//     private static final int DATABASE_VERSION = 3;
// 
//     private static final String DATABASE_CREATE = "create table "
//             + TABLE_FAVORITES + "("
//             + COLUMN_ID + " integer primary key autoincrement, "
//             + COLUMN_TITLE + " text not null, "
//             + COLUMN_LINK + " text not null, "
//             + COLUMN_IMAGE + " text not null, "
//             + COLUMN_TYPE + " text not null, "
//             + COLUMN_RATING + " integer);";
// 
//     public FavoritesTable(Context context) {
//         super(context, DATABASE_NAME, null, DATABASE_VERSION);
//     }
// 
//     @Override
//     public void onCreate(SQLiteDatabase database) {
//         database.execSQL(DATABASE_CREATE);
//     }
// 
//     @Override
//     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
//         Log.w(FavoritesTable.class.getName(),
//                 "Upgrading database from version " + oldVersion + " to "
//                         + newVersion + ", which will destroy all old data"
//         );
//         db.execSQL("DROP TABLE IF EXISTS " + TABLE_FAVORITES);
//         onCreate(db);
//     }
// 
// }
// 
// Path: app/src/main/java/com/mitechlt/tvportal/play/databases/RecentTable.java
// public class RecentTable extends SQLiteOpenHelper {
// 
//     public static final String TABLE_RECENTS = "recents";
//     public static final String COLUMN_ID = "_id";
//     public static final String COLUMN_TYPE = "type";
//     public static final String COLUMN_TITLE = "title";
//     public static final String COLUMN_LINK = "link";
//     public static final String COLUMN_SEASON = "season";
//     public static final String COLUMN_EPISODE = "episode";
//     public static final String COLUMN_IMAGE = "image";
//     public static final String COLUMN_NUM_SEASONS = "num_seasons";
//     public static final String COLUMN_NUM_EPISODES = "num_episodes";
//     public static final String COLUMN_RATING = "rating";
// 
//     private static final String DATABASE_NAME = "recents.db";
//     private static final int DATABASE_VERSION = 2;
// 
//     private static final String DATABASE_CREATE = "create table "
//             + TABLE_RECENTS + "("
//             + COLUMN_ID + " integer primary key autoincrement, "
//             + COLUMN_TITLE + " text not null, "
//             + COLUMN_LINK + " text not null, "
//             + COLUMN_TYPE + " text not null, "
//             + COLUMN_NUM_EPISODES + " text not null, "
//             + COLUMN_NUM_SEASONS + " text not null, "
//             + COLUMN_EPISODE + " text, "
//             + COLUMN_SEASON + " text, "
//             + COLUMN_IMAGE + " text not null, "
//             + COLUMN_RATING + " integer);";
// 
//     public RecentTable(Context context) {
//         super(context, DATABASE_NAME, null, DATABASE_VERSION);
//     }
// 
//     @Override
//     public void onCreate(SQLiteDatabase database) {
//         database.execSQL(DATABASE_CREATE);
//     }
// 
//     @Override
//     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
//         Log.w(RecentTable.class.getName(),
//                 "Upgrading database from version " + oldVersion + " to "
//                         + newVersion + ", which will destroy all old data"
//         );
//         db.execSQL("DROP TABLE IF EXISTS " + TABLE_RECENTS);
//         onCreate(db);
//     }
// 
// }


// Path: app/src/main/java/com/mitechlt/tvportal/play/utils/Config.java
import com.mitechlt.tvportal.play.databases.FavoritesTable;
import com.mitechlt.tvportal.play.databases.RecentTable;

    public final static String LAST_WATCHED_SEASON_1 = "last_watched_season_1";

    public final static String LAST_WATCHED_EPISODE_1 = "last_watched_episode_1";

    public final static String LAST_WATCHED_SEASON_2 = "last_watched_season_2";

    public final static String LAST_WATCHED_EPISODE_2 = "last_watched_episode_2";

    //google analytics id
    public final static String GA_PROPERTY_ID = "UA-51779131-1";

    public final static String MOBFOX_AD_ID = "faac43911a78fc8c4abee5d3240b79ef";

    public final static String BANNER_AD_UNIT_ID = "ca-app-pub-3835186866229262/6645856032";

    public final static String INTERSTITIAL_AD_UNIT_ID = "ca-app-pub-3835186866229262/2891164033";

    public final static String TEST_DEVICE_ID_1 = "A67F4255A67458D42E12695CDA84EB78";

    public final static String TEST_DEVICE_ID_2 = "34F64524C97707B4";

    public final static String REVMOB_AD_ID = "53347dee00b628f37bc0b657";


    public final static String SORT_ORDER_FAVORITE = "sort_order_favorite";
    public final static String SORT_FAVORITE_DEFAULT = FavoritesTable.COLUMN_ID;
    public final static String SORT_FAVORITE_MOVIES_AZ = FavoritesTable.COLUMN_TYPE + ", " + FavoritesTable.COLUMN_TITLE + " COLLATE NOCASE ASC";
    public final static String SORT_FAVORITE_TV_SHOWS_AZ = FavoritesTable.COLUMN_TYPE + " DESC" + ", " + FavoritesTable.COLUMN_TITLE + " COLLATE NOCASE ASC";

    public final static String SORT_ORDER_RECENT = "sort_order_recent";
    public final static String SORT_RECENT_DEFAULT = RecentTable.COLUMN_ID;