[
  {
    "path": ".github/workflows/notify.yml",
    "content": "name: Notify on Telegram\n\non:\n  fork:\n  push:\n  release:\n  issue_comment:\n    types: created\n  watch:\n    types: started\n  pull_request_review_comment:\n    types: created\n  pull_request:\n    types: [opened, closed, reopened]\n  issues:\n    types: [opened, pinned, closed, reopened]\njobs:\n  notify:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Notify the commit on Telegram.\n        uses: EverythingSuckz/github-telegram-notify@v1.1.2\n        with:\n          bot_token: '${{ secrets.BOT_TOKEN }}'\n          chat_id: '${{ secrets.CHAT_ID }}'\n"
  },
  {
    "path": ".gitignore",
    "content": "*.iml\n.gradle\n/local.properties\n/.idea/caches\n/.idea/libraries\n/.idea/modules.xml\n/.idea/workspace.xml\n/.idea/navEditor.xml\n/.idea/assetWizardSettings.xml\n.DS_Store\n/build\n/captures\n.externalNativeBuild\n.cxx\nlocal.properties\n"
  },
  {
    "path": ".idea/.gitignore",
    "content": "# Default ignored files\n/shelf/\n/workspace.xml\n"
  },
  {
    "path": ".idea/.name",
    "content": "Thunder"
  },
  {
    "path": ".idea/compiler.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"CompilerConfiguration\">\n    <bytecodeTargetLevel target=\"11\" />\n  </component>\n</project>"
  },
  {
    "path": ".idea/deploymentTargetDropDown.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"deploymentTargetDropDown\">\n    <targetSelectedWithDropDown>\n      <Target>\n        <type value=\"QUICK_BOOT_TARGET\" />\n        <deviceKey>\n          <Key>\n            <type value=\"VIRTUAL_DEVICE_PATH\" />\n            <value value=\"C:\\Users\\Dharurkar\\.android\\avd\\API_22_Lollipop.avd\" />\n          </Key>\n        </deviceKey>\n      </Target>\n    </targetSelectedWithDropDown>\n    <timeTargetWasSelectedWithDropDown value=\"2022-11-09T05:54:52.708456200Z\" />\n    <runningDeviceTargetsSelectedWithDialog>\n      <Target>\n        <type value=\"RUNNING_DEVICE_TARGET\" />\n        <deviceKey>\n          <Key>\n            <type value=\"SERIAL_NUMBER\" />\n            <value value=\"89JBFIUWJJAMPJW4\" />\n          </Key>\n        </deviceKey>\n      </Target>\n    </runningDeviceTargetsSelectedWithDialog>\n    <targetsSelectedWithDialog>\n      <Target>\n        <type value=\"QUICK_BOOT_TARGET\" />\n        <deviceKey>\n          <Key>\n            <type value=\"VIRTUAL_DEVICE_PATH\" />\n            <value value=\"C:\\Users\\Dharurkar\\.android\\avd\\API_22_Lollipop.avd\" />\n          </Key>\n        </deviceKey>\n      </Target>\n    </targetsSelectedWithDialog>\n  </component>\n</project>"
  },
  {
    "path": ".idea/gradle.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"GradleMigrationSettings\" migrationVersion=\"1\" />\n  <component name=\"GradleSettings\">\n    <option name=\"linkedExternalProjectsSettings\">\n      <GradleProjectSettings>\n        <option name=\"testRunner\" value=\"GRADLE\" />\n        <option name=\"distributionType\" value=\"DEFAULT_WRAPPED\" />\n        <option name=\"externalProjectPath\" value=\"$PROJECT_DIR$\" />\n        <option name=\"modules\">\n          <set>\n            <option value=\"$PROJECT_DIR$\" />\n            <option value=\"$PROJECT_DIR$/app\" />\n          </set>\n        </option>\n      </GradleProjectSettings>\n    </option>\n  </component>\n</project>"
  },
  {
    "path": ".idea/misc.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"DesignSurface\">\n    <option name=\"filePathToZoomLevelMap\">\n      <map>\n        <entry key=\"..\\:/Users/Dharurkar/.gradle/caches/transforms-3/7d41eb0fdd2514ef525c52d7d95226d6/transformed/exoplayer-ui-2.18.1/res/layout/exo_player_control_view.xml\" value=\"0.2375\" />\n        <entry key=\"..\\:/Users/Dharurkar/.gradle/caches/transforms-3/7d41eb0fdd2514ef525c52d7d95226d6/transformed/exoplayer-ui-2.18.1/res/layout/exo_styled_player_control_view.xml\" value=\"0.2375\" />\n        <entry key=\"..\\:/Users/Dharurkar/.gradle/caches/transforms-3/7d41eb0fdd2514ef525c52d7d95226d6/transformed/exoplayer-ui-2.18.1/res/layout/exo_styled_player_view.xml\" value=\"0.19495510902094912\" />\n        <entry key=\"..\\:/Users/Dharurkar/.gradle/caches/transforms-3/7d41eb0fdd2514ef525c52d7d95226d6/transformed/exoplayer-ui-2.18.1/res/layout/exo_styled_settings_list.xml\" value=\"0.19495510902094912\" />\n        <entry key=\"..\\:/Users/Dharurkar/.gradle/caches/transforms-3/7d41eb0fdd2514ef525c52d7d95226d6/transformed/exoplayer-ui-2.18.1/res/layout/exo_styled_settings_list_item.xml\" value=\"0.19495510902094912\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/color/episode_item_bg_color.xml\" value=\"0.1555\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable-v24/gradient_bottom_top_bg.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable-v24/home-48px.xml\" value=\"0.2015\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable-v24/ic_launcher_foreground.xml\" value=\"0.2015\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable-v24/search-48px.xml\" value=\"0.1525\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable-v24/settings-48px.xml\" value=\"0.1525\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable-v24/tab_bg_color.xml\" value=\"0.1555\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/bottom_navigation_background.xml\" value=\"0.1525\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/bottom_navigation_bottom_selector.xml\" value=\"0.2015\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/bottom_navigation_color_selector.xml\" value=\"0.1525\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/bottom_navigation_item_background.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/bottom_navigation_selector.xml\" value=\"0.2015\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/controls_gradient.xml\" value=\"0.2255\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/discord.xml\" value=\"0.2305\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/divider.xml\" value=\"0.2255\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/github.xml\" value=\"0.2295\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/gradient_bottom_top_bg.xml\" value=\"0.2255\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/gradient_top_bottom_bg.xml\" value=\"0.2255\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic__7279a.xml\" value=\"0.189\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_add.xml\" value=\"0.2475\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_add_fill0_wght400_grad0_opsz48.xml\" value=\"0.234\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_baseline_crop_free_24.xml\" value=\"0.197\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_baseline_delete_outline_24.xml\" value=\"0.2305\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_baseline_info_24.xml\" value=\"0.2305\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_baseline_navigate_next_24.xml\" value=\"0.1385\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_baseline_play_arrow_24.xml\" value=\"0.209\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_baseline_refresh_24.xml\" value=\"0.2305\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_baseline_save_alt_24.xml\" value=\"0.167\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_baseline_video_library_24.xml\" value=\"0.1385\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_download.xml\" value=\"0.1385\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_edit.xml\" value=\"0.235\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_github.xml\" value=\"0.217\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_launcher_background.xml\" value=\"0.1525\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_list.xml\" value=\"0.2475\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_next.xml\" value=\"0.2185\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_outline_change_circle_24.xml\" value=\"0.2475\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_play.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/ic_play_rounded.xml\" value=\"0.1395\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/index_link_bg.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/media_item_selector.xml\" value=\"0.152\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/outline_bolt_24.xml\" value=\"0.2305\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/oval.xml\" value=\"0.131\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/play_button.xml\" value=\"0.209\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/play_shape.xml\" value=\"0.2185\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/rounded_controls_background.xml\" value=\"0.215\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/rounded_corner_labels.xml\" value=\"0.215\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/rounded_corners.xml\" value=\"0.215\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/search_bg.xml\" value=\"0.129\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/splash_background.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/splash_bg_gradient.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/splash_logo_round.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/switch_ios_selector.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/switch_ios_track.xml\" value=\"0.131\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/tab_indicator_bg.xml\" value=\"0.2475\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/tab_item_selector.xml\" value=\"0.1555\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/tab_layout_bg.xml\" value=\"0.2465\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/tabs_selector.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/telegram.xml\" value=\"0.2305\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/tmdb.xml\" value=\"0.109\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/drawable/toptobottomgradient.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/act.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_home.xml\" value=\"0.6\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_home2.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_index_layout.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_main.xml\" value=\"0.176\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_main2.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_new_player.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_player.xml\" value=\"0.20625\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_player2.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_player_textureview.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_recycler_view_layout.xml\" value=\"0.44510978043912175\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_settings.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_splash_screen.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/activity_video_playing.xml\" value=\"0.176\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/content_player.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/controls.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/custom_controls.xml\" value=\"0.2375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/custom_exo_player_controls.xml\" value=\"0.23645833333333333\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/custom_exo_styled_player_control_view.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/custom_player_activity.xml\" value=\"0.23645833333333333\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/dialog_filename_item.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/dialog_source_selection.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/dropdown_item.xml\" value=\"0.4\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/episode_item.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/exo_player_control_view.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/exo_player_controller.xml\" value=\"0.29270833333333335\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/exo_player_styled_view.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/exo_styled_player_control_view.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/exo_styled_player_view.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/exo_styled_settings_list.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/file_item.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_about.xml\" value=\"0.4\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_add_index.xml\" value=\"0.4\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_add_index2.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_change_tmdb.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_custom_file_list_dialog.xml\" value=\"0.176\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_episode_details.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_episode_details_new.xml\" value=\"0.3787375415282392\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_files_library.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_first.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_home.xml\" value=\"0.18244013683010263\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_library.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_main.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_manage_database.xml\" value=\"0.40390243902439027\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_manage_indexes.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_movie_details.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_movie_details_new.xml\" value=\"0.4\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_movie_library.xml\" value=\"0.16782006920415224\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_new_settings.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_search.xml\" value=\"0.1612576064908722\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_season_details.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_season_details_new.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_second.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_settings.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_settings_new.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_show_details_new.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_src.xml\" value=\"0.18084651560495937\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_t_v_shows_library.xml\" value=\"0.18084651560495937\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_tv_show_details.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_tv_shows_library.xml\" value=\"0.22453703703703703\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_update_app.xml\" value=\"0.4\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/fragment_video_player.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/genreforsearch.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/header_media_details.xml\" value=\"0.4\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/home_item.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/index_item.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/item_feed_header.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/item_folder_type.xml\" value=\"0.6\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/item_index.xml\" value=\"0.4\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/item_index_type.xml\" value=\"0.536\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/media_item.xml\" value=\"0.72\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/movie_item_banner.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/movie_item_layout.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/movie_item_library.xml\" value=\"0.8800000000000001\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/movie_item_recycler.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/my_activity_player.xml\" value=\"0.2375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/player_controller.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/recyclerviewindex.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/refresh_time_dialog.xml\" value=\"0.264\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/settings_activity.xml\" value=\"0.2375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/track_selection_dialog.xml\" value=\"0.22239583333333332\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/tvshow_item.xml\" value=\"0.6\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/videoplayer.xml\" value=\"0.176\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/yt_overlay.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/layout/yt_seconds_view.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/menu/bottom_navigation_menu.xml\" value=\"0.2234375\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml\" value=\"0.114\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/mipmap-anydpi-v26/splash_logo.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/mipmap-anydpi-v26/splash_logo_round.xml\" value=\"0.1\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/xml/root_preferences.xml\" value=\"0.2\" />\n        <entry key=\"..\\:/Users/Dharurkar/AndroidStudioProjects/MyApplication3/app/src/main/res/xml/selector.xml\" value=\"0.2234375\" />\n      </map>\n    </option>\n  </component>\n  <component name=\"ProjectRootManager\" version=\"2\" languageLevel=\"JDK_11\" default=\"true\" project-jdk-name=\"Android Studio default JDK\" project-jdk-type=\"JavaSDK\">\n    <output url=\"file://$PROJECT_DIR$/build/classes\" />\n  </component>\n  <component name=\"ProjectType\">\n    <option name=\"id\" value=\"Android\" />\n  </component>\n</project>"
  },
  {
    "path": ".idea/vcs.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"VcsDirectoryMappings\">\n    <mapping directory=\"$PROJECT_DIR$\" vcs=\"Git\" />\n  </component>\n</project>"
  },
  {
    "path": "LICENSE.md",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition movies associated with source movies for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source movies, a statement of the\nadditional terms that apply to those movies, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source movie to most effectively\nstate the exclusion of warranty; and each movie should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<https://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<https://www.gnu.org/licenses/why-not-lgpl.html>.\n"
  },
  {
    "path": "README.md",
    "content": "### **⚡ Thunder** :\n\nAn Android app to stream and download your media stored in Google Drive in an Awesome way !!\n\n<p align=\"center\">\n<a href=\"https://github.com/anujd64/Thunder/releases\"><img src=\"https://img.shields.io/github/downloads/anujd64/Thunder/total?color=%233DDC84&logo=android&logoColor=%23fff&style=for-the-badge\"></a>\n</p>\n\nIf you feel like supporting me :\n\n<a href=\"https://www.buymeacoffee.com/anujd\"><img src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=anujd&button_colour=FF5F5F&font_colour=ffffff&font_family=Cookie&outline_colour=000000&coffee_colour=FFDD00\" /></a>\n\n### **🔘 Getting Started** :\n\nLet's say you have a bunch of movies or tv shows lying around in your Drive \nWhat you need to do is : \n1. Generate an index for the shared drive/folder\n2. Deploy to Cloudflare (All instructions on the [Google Drive Index](https://gitlab.com/GoogleDriveIndex/Google-Drive-Index) its super easy)\n3. Add the index link to movies folder link ( and username/password if you configured that for index ) in the settings tab, wait until it's done adding  \n\nThere you go you have your media Library which sources movies from Drive.\n(Probably will add video demo soon)\n\n### **📱 Screenshots** :\n\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/Home.png?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/Home2.png?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/Library-Movies.png?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/Library-TV.png?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/MovieDetails.png?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/TVDetails.png?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/TVDetailsBottom.jpg?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/TVSeasonDetails.jpg?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/TVEpisodeList.jpg?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n<img src=\"https://github.com/anujd64/Thunder/blob/main/Screenshots/TVEpisodeDetails.png?raw=true\" style=\"width: 23%;margin:16px;\" />&nbsp;&nbsp;\n\n\n### **🔥 Features** :\n\n- Stream and Download media directly\n- Now Supports adding tv show folders too!!\n- Supports Google Drive Index (Recommended) , GO Index , MapleIndex\n- No Ads whatsoever\n- Cool UI\n- You can change Subtitle & Audio tracks while streaming \n- If your phone hardware supports it you can stream it whatever it maybe HDR, HDR10, Dolby Vision\n- The app was made to solve a tiny problem with amazing projects like Plex and Jellyfin which cannot use Drive as a source directly\n\n\n\n### **🛠️ To Do** :\n\n- [x] Add support for Shows\n- [x] Add animations\n- [ ] Better Player UI\n- [ ] Remember Playback Position \n- [ ] Add Sort to Library\n- [ ] Browse by genre \n\n\n### **📋 Notes** :\n\n- Added support GOIndex and Maple's GDindex (GOIndex is unreliable try refreshing if movies aren't added)\n\n- Currently video is only hardware decoded (I think) That's why HEVC content may or may not play at all\n\n- Does not directly interact with Drive rather scrapes the index for movies. The index does the talking to the Drive api\n\n- Sub-folders of current folder are searched now but if the folder has too many sub folders it will take longer to scan\n\n- Even if your movies aren't correctly named there is an alternative algorithm which might just extract necessary info\n\n- Media movies with no TMDB info are also shown in the library\n\n- Rarely some movies may be mislabled if there is another movie of same name on TMDB\n\n- Naming of the movies does matter it's better if your movies are named like this\n\t```\n\tmovie.2049.2160p.whatever\n\tmovie.returns.2099.2160p.whatever\n- TV show are recognized based on the naming of an episode file so every episode must be named like this (probably will work if naming follows Scene naming conventions):\n\t```\n\tShow Name S01 E01\n\tShow.Name.S01.E01.2160p.whatever\n\n- Ideally your folder should contain movie movies only like\n\n\t``` \n\t📂Movies\n\t\t└───movie.name.2049.2160p.garbage\n\t\t└───movie.returns.2069.2160p.whatever\n\t\t└───movie.returns.again.?.2099.2160p.whatever\n\t\t└───📂Subfolder <- this folder will be scanned too\n\t\t\n- If you want to request a feature create an issue with request feature tag\n\t\t\n\n## Dependencies:\n- Glide\n- [FuzzyWuzzy](https://github.com/xdrop/fuzzywuzzy)\n- Room DB\n- Exoplayer\n- BlurView\n\nSpecial Thanks to:  \n[Google Drive Index](https://gitlab.com/GoogleDriveIndex/Google-Drive-Index)  \n[Bhadoo-Index-Scraper](https://github.com/sanjit-sinha/Bhadoo-Index-Scraper)\n\n###To build your Own:\n\nSet the \"TMDB_API_KEY\" and put one or more FanArt API keys in the KEYS array inside the Constants class.\n\nHere's a guide to build your own apk using github by [dishapatel1010](https://github.com/dishapatel010) : https://github.com/dishapatel010/Thunder/tree/Build\n\n### WANT TO CONTRIBUTE ?\n\nAll contributions are welcome also request new features and report any bugs or issue at discord/telegram.\n[Discord](https://discord.gg/Y8h26bAm) & [Telegram](https://t.me/+qbLDmvEgC65lMWI1)\n\n## DISCLAIMER\n\n* Thunder only scrapes links from various drive indexes provided by user. \n\n* Thunder or its developer doesn't host any of the contents, it uses TMDB Api to fetch info. \n\n\n![Visitor count](https://shields-io-visitor-counter.herokuapp.com/badge?page=anujd64.Thunder)\n\n"
  },
  {
    "path": "Screenshots/test",
    "content": "\n"
  },
  {
    "path": "app/.gitignore",
    "content": "/build"
  },
  {
    "path": "app/build.gradle",
    "content": "plugins {\n    id 'com.android.application'\n}\n\n\nandroid {\n    compileSdk 32\n\n    defaultConfig {\n        applicationId \"com.theflexproject.thunder\"\n        minSdk 21\n        targetSdk 32\n        versionCode 1\n        versionName \"1.0.7\"\n\n        testInstrumentationRunner \"androidx.test.runner.AndroidJUnitRunner\"\n        javaCompileOptions {\n            annotationProcessorOptions {\n                arguments += [\"room.schemaLocation\": \"$projectDir/schemas\".toString()]\n            }\n        }\n    }\n\n    buildTypes {\n        release {\n            minifyEnabled false\n            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'\n        }\n    }\n    compileOptions {\n\n\n\n\n        coreLibraryDesugaringEnabled true\n\n\n\n\n\n        sourceCompatibility JavaVersion.VERSION_1_8\n        targetCompatibility JavaVersion.VERSION_1_8\n    }\n    buildFeatures {\n        viewBinding true\n    }\n    lint {\n    baseline = file(\"lint-baseline.xml\")\n}\n    lintOptions { \n    checkReleaseBuilds false\n}\n}\n\n\ndependencies {\n\n    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'\n\n\n    implementation 'androidx.appcompat:appcompat:1.5.1'\n    implementation 'com.google.android.material:material:1.7.0'\n    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'\n    implementation 'androidx.room:room-common:2.4.3'\n    implementation 'androidx.room:room-runtime:2.4.3'\n    implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1'\n    implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'\n    implementation 'androidx.navigation:navigation-fragment:2.5.3'\n    implementation 'androidx.navigation:navigation-ui:2.5.3'\n    testImplementation 'junit:junit:4.13.2'\n    androidTestImplementation 'androidx.test.ext:junit:1.1.3'\n    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'\n    implementation 'com.google.code.gson:gson:2.9.1'\n    implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'\n    annotationProcessor 'androidx.room:room-compiler:2.4.3'\n    implementation 'com.google.android.material:material:1.7.0'\n    implementation 'com.github.bumptech.glide:glide:4.13.2'\n    annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2'\n    implementation 'com.google.android.exoplayer:exoplayer:2.18.1'\n    implementation fileTree(dir: \"libs\", include: [\"extension-*.aar\"])\n    implementation 'com.github.Dimezis:BlurView:version-2.0.2'\n    implementation 'me.xdrop:fuzzywuzzy:1.4.0'\n    implementation 'jp.wasabeef:glide-transformations:4.3.0'\n    implementation \"androidx.work:work-runtime:2.7.1\"\n\n    implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.1'\n\n    implementation 'org.apache.commons:commons-text:1.9'\n\n\n}\n"
  },
  {
    "path": "app/proguard-rules.pro",
    "content": "# Add project specific ProGuard rules here.\n# You can control the set of applied configuration files using the\n# proguardFiles setting in build.gradle.\n#\n# For more details, see\n#   http://developer.android.com/guide/developing/tools/proguard.html\n\n# If your project uses WebView with JS, uncomment the following\n# and specify the fully qualified class name to the JavaScript interface\n# class:\n#-keepclassmembers class fqcn.of.javascript.interface.for.webview {\n#   public *;\n#}\n\n# Uncomment this to preserve the line number information for\n# debugging stack traces.\n#-keepattributes SourceFile,LineNumberTable\n\n# If you keep the line number information, uncomment this to\n# hide the original source file name.\n#-renamesourcefileattribute SourceFile"
  },
  {
    "path": "app/schemas/com.example.myapplication.AppDatabase/5.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 5,\n    \"identityHash\": \"e7e8f2094f612b155f61f46396c10450\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'e7e8f2094f612b155f61f46396c10450')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.example.myapplication.database.AppDatabase/10.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 10,\n    \"identityHash\": \"a3191ca2c9aec41d6069b616bb985e84\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'a3191ca2c9aec41d6069b616bb985e84')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/10.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 10,\n    \"identityHash\": \"a3191ca2c9aec41d6069b616bb985e84\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'a3191ca2c9aec41d6069b616bb985e84')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/11.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 11,\n    \"identityHash\": \"dc2b4b8434670c24490e48c6d3f709de\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `type` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'dc2b4b8434670c24490e48c6d3f709de')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/12.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 12,\n    \"identityHash\": \"8f3e141fb570a3206f81f4dbd6f7f241\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `type` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '8f3e141fb570a3206f81f4dbd6f7f241')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/13.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 13,\n    \"identityHash\": \"e5ffc1c9484edf1b54be13fe8145052d\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `type` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'e5ffc1c9484edf1b54be13fe8145052d')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/14.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 14,\n    \"identityHash\": \"d5ae92f3371d6e4ee02a9de4fad13d0e\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `type` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'd5ae92f3371d6e4ee02a9de4fad13d0e')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/15.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 15,\n    \"identityHash\": \"f5918f60ec7ae38a4c4862d9ae41a9f6\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'f5918f60ec7ae38a4c4862d9ae41a9f6')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/16.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 16,\n    \"identityHash\": \"f5918f60ec7ae38a4c4862d9ae41a9f6\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'f5918f60ec7ae38a4c4862d9ae41a9f6')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/17.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 17,\n    \"identityHash\": \"c6828cd08c7bdbfe17209d6d425a34ca\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` TEXT NOT NULL, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, PRIMARY KEY(`_id`))\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"_id\"\n          ],\n          \"autoGenerate\": false\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c6828cd08c7bdbfe17209d6d425a34ca')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/18.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 18,\n    \"identityHash\": \"e52e100e7bfc5d329c82081604154530\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `first_air_date` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_language` TEXT, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `seasons` TEXT, `status` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'e52e100e7bfc5d329c82081604154530')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/19.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 19,\n    \"identityHash\": \"e52e100e7bfc5d329c82081604154530\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `first_air_date` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_language` TEXT, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `seasons` TEXT, `status` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'e52e100e7bfc5d329c82081604154530')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/20.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 20,\n    \"identityHash\": \"8279f91be4c0d700c1f0aec994bd5375\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `urlString` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '8279f91be4c0d700c1f0aec994bd5375')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/21.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 21,\n    \"identityHash\": \"6c4feea74dfccbdfe2c6552af9c5354f\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '6c4feea74dfccbdfe2c6552af9c5354f')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/22.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 22,\n    \"identityHash\": \"d115ad8a61aa31d89423122f4aa92bef\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'd115ad8a61aa31d89423122f4aa92bef')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/23.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 23,\n    \"identityHash\": \"a0bbc978153e637904929ea13844473e\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'a0bbc978153e637904929ea13844473e')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/24.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 24,\n    \"identityHash\": \"561cb3fd64265ed78934319e2c94bd96\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '561cb3fd64265ed78934319e2c94bd96')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/25.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 25,\n    \"identityHash\": \"2be09190b63be5b52ac6c0e6c5356be3\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `logo_path` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `logo_path` TEXT DEFAULT '', `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '2be09190b63be5b52ac6c0e6c5356be3')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/26.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 26,\n    \"identityHash\": \"99fb2eb83ccb2c0c2666022170d6c67f\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `logo_path` TEXT DEFAULT '', `disabled` INTEGER NOT NULL DEFAULT 0, `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `logo_path` TEXT DEFAULT '', `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `disabled` INTEGER NOT NULL DEFAULT 0, `gd_id` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '99fb2eb83ccb2c0c2666022170d6c67f')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/27.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 27,\n    \"identityHash\": \"4cf471989e9c84dd1effa1f15216c613\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `logo_path` TEXT DEFAULT '', `disabled` INTEGER NOT NULL DEFAULT 0, `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT, `disabled` INTEGER NOT NULL DEFAULT 0)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `logo_path` TEXT DEFAULT '', `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `disabled` INTEGER NOT NULL DEFAULT 0, `gd_id` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '4cf471989e9c84dd1effa1f15216c613')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/28.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 28,\n    \"identityHash\": \"f68d7cbfd2ddff4cce4a16c128a6a157\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `logo_path` TEXT DEFAULT '', `index_id` INTEGER NOT NULL DEFAULT 0, `disabled` INTEGER NOT NULL DEFAULT 0, `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"index_id\",\n            \"columnName\": \"index_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT, `disabled` INTEGER NOT NULL DEFAULT 0)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `logo_path` TEXT DEFAULT '', `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER DEFAULT 0, `size` TEXT, `urlString` TEXT, `index_id` INTEGER NOT NULL DEFAULT 0, `disabled` INTEGER NOT NULL DEFAULT 0, `gd_id` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"index_id\",\n            \"columnName\": \"index_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'f68d7cbfd2ddff4cce4a16c128a6a157')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/29.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 29,\n    \"identityHash\": \"c6309fec0dd689975366aaf8744427ff\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER NOT NULL, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `logo_path` TEXT DEFAULT '', `index_id` INTEGER NOT NULL DEFAULT 0, `addToList` INTEGER NOT NULL DEFAULT 0, `disabled` INTEGER NOT NULL DEFAULT 0, `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"index_id\",\n            \"columnName\": \"index_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"addToList\",\n            \"columnName\": \"addToList\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT, `disabled` INTEGER NOT NULL DEFAULT 0)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `addToList` INTEGER NOT NULL DEFAULT 0, `logo_path` TEXT DEFAULT '', `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"addToList\",\n            \"columnName\": \"addToList\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER NOT NULL, `size` TEXT, `urlString` TEXT, `index_id` INTEGER NOT NULL DEFAULT 0, `disabled` INTEGER NOT NULL DEFAULT 0, `gd_id` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"index_id\",\n            \"columnName\": \"index_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c6309fec0dd689975366aaf8744427ff')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/30.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 30,\n    \"identityHash\": \"2e3e519f236c609767841a095fe5bd36\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT, `code` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"code\",\n            \"columnName\": \"code\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Movie\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileidForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `gd_id` TEXT DEFAULT '', `logo_path` TEXT DEFAULT '', `index_id` INTEGER NOT NULL DEFAULT 0, `addToList` INTEGER NOT NULL DEFAULT 0, `disabled` INTEGER NOT NULL DEFAULT 0, `Played` INTEGER NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `budget` INTEGER NOT NULL, `genres` TEXT, `homepage` TEXT, `id` INTEGER NOT NULL, `imdb_id` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `revenue` INTEGER NOT NULL, `runtime` INTEGER NOT NULL, `status` TEXT, `tagline` TEXT, `title` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileidForDB\",\n            \"columnName\": \"fileidForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"index_id\",\n            \"columnName\": \"index_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"addToList\",\n            \"columnName\": \"addToList\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"budget\",\n            \"columnName\": \"budget\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"imdb_id\",\n            \"columnName\": \"imdb_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"revenue\",\n            \"columnName\": \"revenue\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileidForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT, `indexType` TEXT, `folderType` TEXT, `disabled` INTEGER NOT NULL DEFAULT 0)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"indexType\",\n            \"columnName\": \"indexType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"folderType\",\n            \"columnName\": \"folderType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShow\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `addToList` INTEGER NOT NULL DEFAULT 0, `logo_path` TEXT DEFAULT '', `homepage` TEXT, `first_air_date` TEXT, `id` INTEGER NOT NULL, `in_production` INTEGER NOT NULL, `last_air_date` TEXT, `name` TEXT, `number_of_episodes` INTEGER NOT NULL, `number_of_seasons` INTEGER NOT NULL, `original_name` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `original_language` TEXT, `poster_path` TEXT, `status` TEXT, `seasons` TEXT, `tagline` TEXT, `type` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, `genres` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"addToList\",\n            \"columnName\": \"addToList\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"logo_path\",\n            \"columnName\": \"logo_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"homepage\",\n            \"columnName\": \"homepage\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"first_air_date\",\n            \"columnName\": \"first_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"in_production\",\n            \"columnName\": \"in_production\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"last_air_date\",\n            \"columnName\": \"last_air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"number_of_episodes\",\n            \"columnName\": \"number_of_episodes\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"number_of_seasons\",\n            \"columnName\": \"number_of_seasons\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_name\",\n            \"columnName\": \"original_name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"status\",\n            \"columnName\": \"status\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"seasons\",\n            \"columnName\": \"seasons\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"tagline\",\n            \"columnName\": \"tagline\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"type\",\n            \"columnName\": \"type\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"genres\",\n            \"columnName\": \"genres\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"TVShowSeasonDetails\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idfordb` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `_id` TEXT, `air_date` TEXT, `episodes` TEXT, `name` TEXT, `overview` TEXT, `id` INTEGER NOT NULL, `poster_path` TEXT, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idfordb\",\n            \"columnName\": \"idfordb\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"_id\",\n            \"columnName\": \"_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episodes\",\n            \"columnName\": \"episodes\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idfordb\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"Episode\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`idForDB` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fileName` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `index_id` INTEGER NOT NULL DEFAULT 0, `disabled` INTEGER NOT NULL DEFAULT 0, `gd_id` TEXT DEFAULT '', `Played` INTEGER NOT NULL, `season_id` INTEGER NOT NULL, `air_date` TEXT, `episode_number` INTEGER NOT NULL, `id` INTEGER NOT NULL, `name` TEXT, `overview` TEXT, `production_code` TEXT, `runtime` INTEGER NOT NULL, `season_number` INTEGER NOT NULL, `show_id` INTEGER NOT NULL, `still_path` TEXT, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"idForDB\",\n            \"columnName\": \"idForDB\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"fileName\",\n            \"columnName\": \"fileName\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"index_id\",\n            \"columnName\": \"index_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"disabled\",\n            \"columnName\": \"disabled\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true,\n            \"defaultValue\": \"0\"\n          },\n          {\n            \"fieldPath\": \"gd_id\",\n            \"columnName\": \"gd_id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false,\n            \"defaultValue\": \"''\"\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_id\",\n            \"columnName\": \"season_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"air_date\",\n            \"columnName\": \"air_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"episode_number\",\n            \"columnName\": \"episode_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"production_code\",\n            \"columnName\": \"production_code\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"runtime\",\n            \"columnName\": \"runtime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"season_number\",\n            \"columnName\": \"season_number\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"show_id\",\n            \"columnName\": \"show_id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"still_path\",\n            \"columnName\": \"still_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"idForDB\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '2e3e519f236c609767841a095fe5bd36')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/5.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 5,\n    \"identityHash\": \"871dacadfe3b813019c74fcaff8c4237\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL, PRIMARY KEY(`urlString`))\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"urlString\"\n          ],\n          \"autoGenerate\": false\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '871dacadfe3b813019c74fcaff8c4237')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/6.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 6,\n    \"identityHash\": \"e7e8f2094f612b155f61f46396c10450\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'e7e8f2094f612b155f61f46396c10450')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/7.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 7,\n    \"identityHash\": \"a3191ca2c9aec41d6069b616bb985e84\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'a3191ca2c9aec41d6069b616bb985e84')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/8.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 8,\n    \"identityHash\": \"f4bba22419bf9b41ada2d7c30d66c102\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `genre_ids` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"genre_ids\",\n            \"columnName\": \"genre_ids\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'f4bba22419bf9b41ada2d7c30d66c102')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/schemas/com.theflexproject.thunder.database.AppDatabase/9.json",
    "content": "{\n  \"formatVersion\": 1,\n  \"database\": {\n    \"version\": 9,\n    \"identityHash\": \"a3191ca2c9aec41d6069b616bb985e84\",\n    \"entities\": [\n      {\n        \"tableName\": \"ResFormat\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `data` TEXT, `nextPageToken` TEXT, `curPageIndex` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"data\",\n            \"columnName\": \"data\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"nextPageToken\",\n            \"columnName\": \"nextPageToken\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"curPageIndex\",\n            \"columnName\": \"curPageIndex\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"File\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`fileid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` TEXT, `name` TEXT, `mimeType` TEXT, `modifiedTime` INTEGER, `size` TEXT, `urlString` TEXT, `Played` INTEGER NOT NULL, `title` TEXT, `adult` INTEGER NOT NULL, `backdrop_path` TEXT, `original_language` TEXT, `original_title` TEXT, `overview` TEXT, `popularity` REAL NOT NULL, `poster_path` TEXT, `release_date` TEXT, `video` INTEGER NOT NULL, `vote_average` REAL NOT NULL, `vote_count` INTEGER NOT NULL)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"fileid\",\n            \"columnName\": \"fileid\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"name\",\n            \"columnName\": \"name\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"mimeType\",\n            \"columnName\": \"mimeType\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"modifiedTime\",\n            \"columnName\": \"modifiedTime\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"size\",\n            \"columnName\": \"size\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"urlString\",\n            \"columnName\": \"urlString\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"Played\",\n            \"columnName\": \"Played\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"title\",\n            \"columnName\": \"title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"adult\",\n            \"columnName\": \"adult\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"backdrop_path\",\n            \"columnName\": \"backdrop_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_language\",\n            \"columnName\": \"original_language\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"original_title\",\n            \"columnName\": \"original_title\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"overview\",\n            \"columnName\": \"overview\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"popularity\",\n            \"columnName\": \"popularity\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"poster_path\",\n            \"columnName\": \"poster_path\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"release_date\",\n            \"columnName\": \"release_date\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"video\",\n            \"columnName\": \"video\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_average\",\n            \"columnName\": \"vote_average\",\n            \"affinity\": \"REAL\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"vote_count\",\n            \"columnName\": \"vote_count\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"fileid\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      },\n      {\n        \"tableName\": \"IndexLink\",\n        \"createSql\": \"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `link` TEXT, `username` TEXT, `password` TEXT)\",\n        \"fields\": [\n          {\n            \"fieldPath\": \"id\",\n            \"columnName\": \"id\",\n            \"affinity\": \"INTEGER\",\n            \"notNull\": true\n          },\n          {\n            \"fieldPath\": \"link\",\n            \"columnName\": \"link\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"username\",\n            \"columnName\": \"username\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          },\n          {\n            \"fieldPath\": \"password\",\n            \"columnName\": \"password\",\n            \"affinity\": \"TEXT\",\n            \"notNull\": false\n          }\n        ],\n        \"primaryKey\": {\n          \"columnNames\": [\n            \"id\"\n          ],\n          \"autoGenerate\": true\n        },\n        \"indices\": [],\n        \"foreignKeys\": []\n      }\n    ],\n    \"views\": [],\n    \"setupQueries\": [\n      \"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)\",\n      \"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'a3191ca2c9aec41d6069b616bb985e84')\"\n    ]\n  }\n}"
  },
  {
    "path": "app/src/androidTest/java/com/theflexproject/thunder/ExampleInstrumentedTest.java",
    "content": "package com.theflexproject.thunder;\n\nimport static org.junit.Assert.assertEquals;\n\nimport android.content.Context;\n\nimport androidx.test.ext.junit.runners.AndroidJUnit4;\nimport androidx.test.platform.app.InstrumentationRegistry;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\n\n/**\n * Instrumented test, which will execute on an Android device.\n *\n * @see <a href=\"http://d.android.com/tools/testing\">Testing documentation</a>\n */\n@RunWith(AndroidJUnit4.class)\npublic class ExampleInstrumentedTest {\n    @Test\n    public void useAppContext() {\n        // Context of the app under test.\n        Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();\n        assertEquals(\"com.example.myapplication\", appContext.getPackageName());\n    }\n}"
  },
  {
    "path": "app/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    package=\"com.theflexproject.thunder\">\n\n    <uses-feature\n        android:name=\"android.software.leanback\"\n        android:required=\"false\" />\n    <uses-feature\n        android:name=\"android.hardware.touchscreen\"\n        android:required=\"false\" />\n\n    <uses-permission android:name=\"android.permission.INTERNET\" />\n    <uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />\n    <uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />\n    <uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />\n\n    <application\n        android:allowBackup=\"true\"\n        android:dataExtractionRules=\"@xml/data_extraction_rules\"\n        android:fullBackupContent=\"@xml/backup_rules\"\n        android:icon=\"@mipmap/ic_launcher\"\n        android:label=\"@string/app_name\"\n        android:requestLegacyExternalStorage=\"true\"\n        android:roundIcon=\"@mipmap/ic_launcher_round\"\n        android:supportsRtl=\"true\"\n        android:theme=\"@style/Theme.MyApplication\"\n        android:usesCleartextTraffic=\"true\"\n        tools:targetApi=\"31\"\n        android:banner=\"@mipmap/banner\">\n        <activity\n            android:name=\".SplashScreenActivity\"\n            android:theme=\"@style/SplashTheme\"\n            android:exported=\"true\">\n            <intent-filter>\n                <action android:name=\"android.intent.action.MAIN\" />\n                <category android:name=\"android.intent.category.LAUNCHER\" />\n                <category android:name=\"android.intent.category.LEANBACK_LAUNCHER\" />\n            </intent-filter>\n        </activity>\n        <activity\n            android:name=\".MainActivity\"\n            android:configChanges=\"keyboard|keyboardHidden|navigation|orientation|screenSize|screenLayout|smallestScreenSize|uiMode\"\n            android:exported=\"true\">\n        </activity>\n        <activity\n            android:name=\".player.PlayerActivity\"\n            android:configChanges=\"keyboard|keyboardHidden|navigation|orientation|screenSize|screenLayout|smallestScreenSize|uiMode\"\n            android:exported=\"true\"\n            android:launchMode=\"singleTask\"\n            android:supportsPictureInPicture=\"true\" />\n    </application>\n\n</manifest>"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/Constants.java",
    "content": "package com.theflexproject.thunder;\n\nimport java.util.Random;\n\npublic class Constants {\n    public static final String TMDB_GET_REQUEST_BASE_URL =\"https://api.themoviedb.org/3/search/movie?api_key=\";\n    public static final String TMDB_BASE_URL = \"https://api.themoviedb.org/3/\";\n    public static final String TMDB_IMAGE_BASE_URL = \"https://image.tmdb.org/t/p/w500\";\n    public static final String TMDB_BACKDROP_IMAGE_BASE_URL = \"https://image.tmdb.org/t/p/w1280\";\n    public static final String FANART_IMAGE_BASE_URL = \"https://webservice.fanart.tv/v3/\";\n    public static final String TMDB_API_KEY = \"\";\n    public static final String SIMPLE_PROGRAM_DOWNLOAD_API = \"https://geolocation.zindex.eu.org/generate.json?id=\";\n    public static final String CF_CACHE_TOKEN = \"\";\n\n    public static String getFanartApiKey(){\n        final String[] KEYS = {\n                \"\",\n                \"\",\n                \"\"};\n        Random random = new Random();\n        int index = random.nextInt(KEYS.length);\n        return KEYS[index];\n    }\n\n\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/MainActivity.java",
    "content": "package com.theflexproject.thunder;\n\nimport static com.theflexproject.thunder.utils.UpdateUtils.checkForUpdates;\n\nimport android.content.Context;\nimport android.content.SharedPreferences;\nimport android.graphics.Color;\nimport android.graphics.drawable.Drawable;\nimport android.os.Bundle;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.view.ViewOutlineProvider;\nimport android.view.WindowManager;\n\nimport androidx.appcompat.app.AppCompatActivity;\nimport androidx.room.Room;\nimport androidx.work.Constraints;\nimport androidx.work.NetworkType;\nimport androidx.work.OneTimeWorkRequest;\nimport androidx.work.WorkManager;\n\nimport com.google.android.material.bottomnavigation.BottomNavigationView;\nimport com.theflexproject.thunder.database.AppDatabase;\nimport com.theflexproject.thunder.fragments.HomeFragment;\nimport com.theflexproject.thunder.fragments.LibraryFragment;\nimport com.theflexproject.thunder.fragments.SearchFragment;\nimport com.theflexproject.thunder.fragments.SettingsFragment;\nimport com.theflexproject.thunder.utils.RefreshWorker;\n\nimport java.util.Calendar;\nimport java.util.concurrent.TimeUnit;\n\nimport eightbitlab.com.blurview.BlurView;\nimport eightbitlab.com.blurview.RenderScriptBlur;\n\n\npublic class MainActivity extends AppCompatActivity {\n\n    BottomNavigationView bottomNavigationView;\n    HomeFragment homeFragment = new HomeFragment();\n    SearchFragment searchFragment = new SearchFragment();\n    LibraryFragment libraryFragment = new LibraryFragment();\n    SettingsFragment settingsFragment = new SettingsFragment();\n\n    BlurView blurView;\n    ViewGroup rootView;\n    View decorView;\n\n    public static Context context;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        requestWindowFeature(1);\n        setContentView(R.layout.activity_main);\n        context = getApplicationContext();\n\n        initWidgets();\n\n        setUpBottomNavigationView();\n\n        getSupportFragmentManager().beginTransaction().replace(R.id.container , homeFragment).commit();\n\n        checkForUpdates(this);\n\n        AppDatabase db = Room.databaseBuilder(getApplicationContext() ,\n                        AppDatabase.class , \"MyToDos\")\n//                .fallbackToDestructiveMigration()\n                .build();\n\n\n        //refresh index if set\n        SharedPreferences sharedPreferences = getSharedPreferences(\"Settings\", Context.MODE_PRIVATE);\n        boolean savedREF = sharedPreferences.getBoolean(\"REFRESH_SETTING\", false);\n        int savedTime = sharedPreferences.getInt(\"REFRESH_TIME\", 0);\n        if(savedREF){\n            scheduleWork(savedTime,0);\n//            WorkManager.getInstance(context).cancelAllWork();\n//            OneTimeWorkRequest impWork = new OneTimeWorkRequest.Builder(RefreshWorker.class)\n//                    .setInitialDelay(8,TimeUnit.HOURS)\n//                    .build();\n//            PeriodicWorkRequest periodicWork = new PeriodicWorkRequest.Builder(RefreshWorker.class, 24, TimeUnit.HOURS)\n//                    .setInitialDelay(24,TimeUnit.HOURS)\n//                    .build();\n//            WorkManager.getInstance(this).enqueue(impWork);\n        }\n\n\n\n\n    }\n\n\n    @Override\n    public void onBackPressed() {\n        if (getSupportFragmentManager().getBackStackEntryCount() > 0)\n            getSupportFragmentManager().popBackStackImmediate();\n        else super.onBackPressed();\n    }\n\n    private void initWidgets() {\n        blurView = findViewById(R.id.blurView);\n        decorView = getWindow().getDecorView();\n        rootView = decorView.findViewById(android.R.id.content);\n        bottomNavigationView = findViewById(R.id.bottom_navigation);\n\n        blurBottom();\n    }\n\n    private void setUpBottomNavigationView() {\n        bottomNavigationView.setOnItemSelectedListener(item -> {\n            if(item.getItemId()==R.id.homeFragment){\n                getSupportFragmentManager()\n                        .beginTransaction()\n                        .setCustomAnimations(R.anim.from_right,R.anim.to_left,R.anim.from_left,R.anim.to_right)\n                        .replace(R.id.container , homeFragment)\n                        .commit();\n                return true;\n            }else if(item.getItemId()==R.id.searchFragment){\n                getSupportFragmentManager()\n                        .beginTransaction()\n                        .setCustomAnimations(R.anim.from_right,R.anim.to_left,R.anim.from_left,R.anim.to_right)\n                        .replace(R.id.container , searchFragment)\n                        .commit();\n                return true;\n            }else if(item.getItemId()==R.id.libraryFragment){\n                getSupportFragmentManager()\n                        .beginTransaction()\n                        .setCustomAnimations(R.anim.from_right,R.anim.to_left,R.anim.from_left,R.anim.to_right)\n                        .replace(R.id.container , libraryFragment)\n                        .commit();\n                return true;\n            }else if(item.getItemId()==R.id.settingsFragment){\n                getSupportFragmentManager()\n                        .beginTransaction()\n                        .setCustomAnimations(R.anim.from_right,R.anim.to_left,R.anim.from_left,R.anim.to_right)\n                        .replace(R.id.container , settingsFragment)\n                        .commit();\n                return true;\n            }\n            return false;\n        });\n\n    }\n\n    private void blurBottom() {\n\n        getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS , WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);\n        getWindow().setStatusBarColor(Color.TRANSPARENT);\n        final float radius = 12f;\n        final Drawable windowBackground = getWindow().getDecorView().getBackground();\n\n        blurView.setupWith(rootView , new RenderScriptBlur(this))\n                .setFrameClearDrawable(windowBackground)\n                .setBlurRadius(radius);\n        blurView.setOutlineProvider(ViewOutlineProvider.BACKGROUND);\n        blurView.setClipToOutline(true);\n\n\n    }\n\n    private void scheduleWork(int hour, int minute) {\n        Calendar calendar = Calendar.getInstance();\n        long nowMillis = calendar.getTimeInMillis();\n\n        if(calendar.get(Calendar.HOUR_OF_DAY) > hour ||\n                (calendar.get(Calendar.HOUR_OF_DAY) == hour && calendar.get(Calendar.MINUTE)+1 >= minute)) {\n            calendar.add(Calendar.DAY_OF_MONTH, 1);\n        }\n\n        calendar.set(Calendar.HOUR_OF_DAY,hour);\n        calendar.set(Calendar.MINUTE,minute);\n\n        calendar.set(Calendar.SECOND,0);\n        calendar.set(Calendar.MILLISECOND,0);\n        long diff = calendar.getTimeInMillis() - nowMillis;\n\n        WorkManager mWorkManager = WorkManager.getInstance(context);\n        Constraints constraints = new Constraints.Builder()\n                .setRequiredNetworkType(NetworkType.CONNECTED)\n                .build();\n        mWorkManager.cancelAllWork();\n        OneTimeWorkRequest mRequest = new OneTimeWorkRequest.Builder(RefreshWorker.class)\n                .setConstraints(constraints)\n                .setInitialDelay(diff,TimeUnit.MILLISECONDS)\n                .build();\n        mWorkManager.enqueue(mRequest);\n\n    }\n\n}\n\n\n\n\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/SplashScreenActivity.java",
    "content": "package com.theflexproject.thunder;\n\nimport android.content.Intent;\nimport android.os.Bundle;\n\nimport androidx.appcompat.app.AppCompatActivity;\n\n\npublic class SplashScreenActivity extends AppCompatActivity {\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        startActivity(new Intent(SplashScreenActivity.this, MainActivity.class));\n        finish();\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/ArchivedAdapters/HomeItemAdapter.java",
    "content": "//package com.theflexproject.thunder.adapter;\n//\n//import android.content.Context;\n//import android.view.LayoutInflater;\n//import android.view.View;\n//import android.view.ViewGroup;\n//import android.view.animation.Animation;\n//import android.view.animation.AnimationUtils;\n//import android.widget.TextView;\n//\n//import androidx.annotation.NonNull;\n//import androidx.fragment.app.FragmentActivity;\n//import androidx.recyclerview.widget.LinearLayoutManager;\n//import androidx.recyclerview.widget.RecyclerView;\n//\n//import com.theflexproject.thunder.R;\n//import com.theflexproject.thunder.fragments.MovieDetailsFragment;\n//import com.theflexproject.thunder.fragments.TvShowDetailsFragment;\n//import com.theflexproject.thunder.model.Movie;\n//import com.theflexproject.thunder.model.TVShowInfo.TVShow;\n//import com.theflexproject.thunder.utils.Pair;\n//import com.theflexproject.thunder.utils.PairMovies;\n//import com.theflexproject.thunder.utils.PairTvShows;\n//\n//import java.util.ArrayList;\n//import java.util.List;\n//\n//public class HomeItemAdapter extends RecyclerView.Adapter<HomeItemAdapter.HomeItemAdapterHolder> {\n//\n//\n//    Context context;\n//    private RecyclerView.RecycledViewPool viewPool = new RecyclerView.RecycledViewPool();\n//\n//    List<Pair> pairList;\n//    List<PairMovies> pairMoviesList = new ArrayList<>();\n//    List<PairTvShows> pairTvShowsList  = new ArrayList<>();\n//    int cutList;\n//\n//    List<Movie> mediaList;\n//    MovieRecyclerAdapter.OnItemClickListener listenerMovieItem;\n//    MovieRecyclerAdapter movieRecyclerAdapter;\n//\n//    List<TVShow> tvShowList;\n//    TVShowRecyclerAdapter.OnItemClickListener listenerTvItem;\n//    TVShowRecyclerAdapter tvShowRecyclerAdapter;\n//\n//\n//    public HomeItemAdapter(Context context , List<Pair> pairList , int cutList) {\n//        this.context = context;\n//        this.pairList = pairList;\n//        this.cutList = cutList;\n//        for (int i = 0; i < pairList.size(); i++) {\n//            if (i < cutList) {\n//                pairMoviesList.add((PairMovies) pairList.get(i));\n//            } else {\n//                pairTvShowsList.add((PairTvShows) pairList.get(i));\n//            }\n//        }\n//    }\n//\n//    @NonNull\n//    @Override\n//    public HomeItemAdapterHolder onCreateViewHolder(@NonNull ViewGroup parent , int viewType) {\n//        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.home_item , parent , false);\n//        return new HomeItemAdapterHolder(view);\n//    }\n//\n//    @Override\n//    public void onBindViewHolder(@NonNull HomeItemAdapterHolder holder , int position) {\n//            if(position<cutList){\n//                mediaList = pairMoviesList.get(position).getmediaList();\n//\n//                holder.recyclerTitle.setText(pairMoviesList.get(position).getRecyclerTitle());\n//                ScaleCenterItemLayoutManager linearLayoutManager = new ScaleCenterItemLayoutManager(holder.recyclerView.getContext() , LinearLayoutManager.HORIZONTAL , false);\n//                linearLayoutManager.setInitialPrefetchItemCount(mediaList.size());\n//\n//\n//                listenerMovieItem = new MovieRecyclerAdapter.OnItemClickListener() {\n//                    @Override\n//                    public void onClick(View view , int moviePosition) {\n//                        MovieDetailsFragment movieDetailsFragment = new MovieDetailsFragment(mediaList.get(moviePosition).getId());\n//                        ((FragmentActivity) context).getSupportFragmentManager().beginTransaction()\n//                                .setCustomAnimations(R.anim.fade_in , R.anim.fade_out , R.anim.fade_in , R.anim.fade_out)\n//                                .add(R.id.container , movieDetailsFragment).addToBackStack(null).commit();\n//                    }\n//                };\n//                movieRecyclerAdapter = new MovieRecyclerAdapter(holder.recyclerView.getContext() , mediaList , listenerMovieItem);\n//                holder.recyclerView.setLayoutManager(linearLayoutManager);\n//                holder.recyclerView.setAdapter(movieRecyclerAdapter);\n//                holder.recyclerView.setRecycledViewPool(viewPool);\n//                movieRecyclerAdapter.notifyDataSetChanged();\n//            }else if(position<pairList.size()){\n//\n//                tvShowList = pairTvShowsList.get(position-pairMoviesList.size()).getTvShowList();\n//\n//                holder.recyclerTitle.setText(pairTvShowsList.get(position-pairMoviesList.size()).getRecyclerTitle());\n//                ScaleCenterItemLayoutManager linearLayoutManager1 = new ScaleCenterItemLayoutManager(holder.recyclerView.getContext() , LinearLayoutManager.HORIZONTAL , false);\n//                linearLayoutManager1.setInitialPrefetchItemCount(tvShowList.size());\n//\n//                listenerTvItem = new TVShowRecyclerAdapter.OnItemClickListener() {\n//                    @Override\n//                    public void onClick(View view , int tvShowPosition) {\n//                        TvShowDetailsFragment tvShowDetailsFragment = new TvShowDetailsFragment(tvShowList.get(tvShowPosition).getId());\n//                        ((FragmentActivity) context).getSupportFragmentManager().beginTransaction()\n//                                .setCustomAnimations(R.anim.fade_in , R.anim.fade_out , R.anim.fade_in , R.anim.fade_out)\n//                                .add(R.id.container , tvShowDetailsFragment).addToBackStack(null).commit();\n//                    }\n//                };\n//\n//                tvShowRecyclerAdapter = new TVShowRecyclerAdapter(holder.recyclerView.getContext() , tvShowList , listenerTvItem);\n//                holder.recyclerView.setLayoutManager(linearLayoutManager1);\n//                holder.recyclerView.setAdapter(tvShowRecyclerAdapter);\n//                holder.recyclerView.setRecycledViewPool(viewPool);\n//                tvShowRecyclerAdapter.notifyDataSetChanged();\n//            }\n//    }\n//\n//    @Override\n//    public int getItemCount() {\n//        return pairList.size();\n//    }\n//\n//\n//    class HomeItemAdapterHolder extends RecyclerView.ViewHolder implements View.OnClickListener {\n//\n//        TextView recyclerTitle;\n//        RecyclerView recyclerView;\n//\n//        public HomeItemAdapterHolder(@NonNull View itemView) {\n//            super(itemView);\n//            recyclerTitle = itemView.findViewById(R.id.recyclerTitleInHomeItem);\n//            recyclerView = itemView.findViewById(R.id.recyclerInHomeItem);\n//\n//            itemView.setOnClickListener(this);\n//        }\n//\n//        @Override\n//        public void onClick(View v) {\n//        }\n//    }\n//\n//    private void setAnimation(View itemView , int position) {\n//        Animation popIn = AnimationUtils.loadAnimation(context , R.anim.pop_in);\n//        itemView.startAnimation(popIn);\n//    }\n//\n//\n//}\n//\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/ArchivedAdapters/MovieRecyclerAdapter.java",
    "content": "//package com.theflexproject.thunder.adapter;\n//\n//import static com.theflexproject.thunder.Constants.TMDB_IMAGE_BASE_URL;\n//\n//import android.content.Context;\n//import android.graphics.Color;\n//import android.graphics.drawable.ColorDrawable;\n//import android.view.LayoutInflater;\n//import android.view.View;\n//import android.view.ViewGroup;\n//import android.widget.ImageView;\n//import android.widget.TextView;\n//\n//import androidx.annotation.NonNull;\n//import androidx.recyclerview.widget.RecyclerView;\n//\n//import com.bumptech.glide.Glide;\n//import com.bumptech.glide.load.resource.bitmap.RoundedCorners;\n//import com.bumptech.glide.request.RequestOptions;\n//import com.theflexproject.thunder.model.Movie;\n//import com.theflexproject.thunder.R;\n//\n//import java.util.List;\n//\n//public class MovieRecyclerAdapter extends RecyclerView.Adapter<MovieRecyclerAdapter.MovieRecyclerHolder> {\n//\n//    Context context;\n//    List<Movie> mediaList;\n//    private OnItemClickListener listener;\n//\n//    public MovieRecyclerAdapter(Context context, List<Movie> mediaList, OnItemClickListener listener) {\n//        this.context = context;\n//        this.mediaList = mediaList;\n//        this.listener= listener;\n//    }\n//\n//    @NonNull\n//    @Override\n//    public MovieRecyclerHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n//        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.movie_item_recycler, parent, false);\n//        return new MovieRecyclerHolder(view);\n//    }\n//\n//    @Override\n//    public void onBindViewHolder(@NonNull MovieRecyclerHolder holder, int position) {\n//        holder.name.setText(mediaList.get(position).getTitle());\n//\n//        Glide.with(context)\n//                .load(TMDB_IMAGE_BASE_URL+mediaList.get(position).getPoster_path())\n//                .placeholder(new ColorDrawable(Color.BLACK))\n//                .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n//                .into(holder.poster);\n//    }\n//\n//    @Override\n//    public int getItemCount() {\n//        return (mediaList==null)?0:mediaList.size();\n//    }\n//\n//    public class MovieRecyclerHolder extends RecyclerView.ViewHolder implements View.OnClickListener{\n//\n//        TextView name;\n//        ImageView poster;\n//        public MovieRecyclerHolder(@NonNull View itemView) {\n//            super(itemView);\n//            name = itemView.findViewById(R.id.movieName);\n//            poster= itemView.findViewById(R.id.moviePoster2);\n//            itemView.setOnClickListener(this);\n//        }\n//\n//\n//        @Override\n//        public void onClick(View v) {\n//            listener.onClick(v,getAbsoluteAdapterPosition());\n//        }\n//\n//    }\n//    public interface OnItemClickListener {\n//        public void onClick(View view, int position);\n//    }\n//}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/ArchivedAdapters/MovieRecyclerAdapterLibrary.java",
    "content": "//package com.theflexproject.thunder.adapter;\n//\n//import android.content.Context;\n//import android.graphics.Color;\n//import android.graphics.drawable.ColorDrawable;\n//import android.view.LayoutInflater;\n//import android.view.View;\n//import android.view.ViewGroup;\n//import android.view.animation.Animation;\n//import android.view.animation.AnimationUtils;\n//import android.widget.ImageView;\n//import android.widget.TextView;\n//\n//import androidx.annotation.NonNull;\n//import androidx.recyclerview.widget.RecyclerView;\n//\n//import com.bumptech.glide.Glide;\n//import com.bumptech.glide.load.resource.bitmap.RoundedCorners;\n//import com.bumptech.glide.request.RequestOptions;\n//import com.theflexproject.thunder.Constants;\n//import com.theflexproject.thunder.R;\n//import com.theflexproject.thunder.model.Movie;\n//\n//import java.util.List;\n//\n//\n//\n//public class MovieRecyclerAdapterLibrary extends RecyclerView.Adapter<MovieRecyclerAdapterLibrary.MovieRecyclerAdapterLibraryHolder> {\n//\n//    Context context;\n//    List<Movie> mediaList;\n//    private MovieRecyclerAdapterLibrary.OnItemClickListener listener;\n//\n//    public MovieRecyclerAdapterLibrary(Context context, List<Movie> mediaList, MovieRecyclerAdapterLibrary.OnItemClickListener listener) {\n//        this.context = context;\n//        this.mediaList = mediaList;\n//        this.listener= listener;\n//    }\n//\n//    @NonNull\n//    @Override\n//    public MovieRecyclerAdapterLibraryHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n//        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.movie_item_library, parent, false);\n//        return new MovieRecyclerAdapterLibraryHolder(view);\n//    }\n//\n//    @Override\n//    public void onBindViewHolder(@NonNull MovieRecyclerAdapterLibraryHolder holder, int position) {\n//        if(mediaList.get(position).getTitle()!=null){\n//            holder.name.setText(mediaList.get(position).getTitle());\n//            Glide.with(context)\n//                    .load(Constants.TMDB_IMAGE_BASE_URL+mediaList.get(position).getPoster_path())\n//                    .placeholder(new ColorDrawable(Color.BLACK))\n//                    .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n//                    .into(holder.poster);\n//        }else{\n//            holder.name.setText(mediaList.get(position).getFileName());\n//            Glide.with(context).clear(holder.poster);\n//        }\n//\n//        String year = mediaList.get(position).getRelease_date();\n//        if(year!=null&&year.length()>4) {\n//            holder.movieYear.setVisibility(View.VISIBLE);\n//            holder.movieYear.setText(year.substring(0,year.indexOf('-')));\n//        }else {\n//            holder.movieYear.setVisibility(View.VISIBLE);\n//            holder.movieYear.setText(year);\n//        }\n//\n//        setAnimation(holder.itemView,position);\n//\n//    }\n//\n//\n//\n//    @Override\n//    public int getItemCount() {\n//        return (mediaList==null)?0:mediaList.size();\n//    }\n//\n//\n//\n//    public class MovieRecyclerAdapterLibraryHolder extends RecyclerView.ViewHolder implements View.OnClickListener{\n//\n//        TextView name;\n//        ImageView poster;\n//        TextView movieYear;\n//        public MovieRecyclerAdapterLibraryHolder(@NonNull View itemView) {\n//            super(itemView);\n//            name = itemView.findViewById(R.id.movieName);\n//            poster= itemView.findViewById(R.id.moviePoster2);\n//            movieYear = itemView.findViewById(R.id.movieYear);\n//            itemView.setOnClickListener(this);\n//        }\n//\n//        @Override\n//        public void onClick(View v) {\n//            listener.onClick(v,getAbsoluteAdapterPosition());\n//        }\n//    }\n//    public interface OnItemClickListener {\n//        public void onClick(View view, int position);\n//    }\n//\n//\n//    private void setAnimation(View itemView , int position){\n//        Animation popIn = AnimationUtils.loadAnimation(context,R.anim.pop_in);\n//        itemView.startAnimation(popIn);\n//    }\n//}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/ArchivedAdapters/TVShowRecyclerAdapter.java",
    "content": "package com.theflexproject.thunder.adapter.ArchivedAdapters;\n\n//public class MediaAdapter extends RecyclerView.Adapter<TVShowRecyclerAdapter.TVShowRecyclerAdapterHolder> {\n//\n//    Context context;\n//    List<MyMedia> mediaList;\n//    private TVShowRecyclerAdapter.OnItemClickListener listener;\n//\n////    List<TVShow> tvShowList;\n////    List<TVShowSeasonDetails> seasonsList;\n////    boolean isSeason;\n//\n//    public TVShowRecyclerAdapter(Context context, List<MyMedia> mediaList, TVShowRecyclerAdapter.OnItemClickListener listener) {\n//        this.context = context;\n//        this.mediaList = mediaList;\n//        this.listener= listener;\n//    }\n//\n////    public TVShowRecyclerAdapter(Context context, List<TVShowSeasonDetails> seasonsList, boolean isSeason, TVShowRecyclerAdapter.OnItemClickListener listener) {\n////        //for using as season adapter\n////        this.isSeason =isSeason;\n////        this.context = context;\n////        this.seasonsList = seasonsList;\n////        this.listener= listener;\n////    }\n//\n//    @NonNull\n//    @Override\n//    public TVShowRecyclerAdapterHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n//        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.tvshow_item, parent, false);\n//        return new TVShowRecyclerAdapterHolder(view);\n//    }\n//\n//    @Override\n//    public void onBindViewHolder(@NonNull TVShowRecyclerAdapterHolder holder, int position) {\n//\n//        if(mediaList.get(position) instanceof TVShow){\n//            TVShow tvShow = ((TVShow)mediaList.get(position));\n//            if(tvShow.getName()!=null){\n//                holder.name.setText(tvShow.getName());\n//                Glide.with(context)\n//                        .load(Constants.TMDB_IMAGE_BASE_URL+tvShow.getPoster_path())\n//                        .placeholder(new ColorDrawable(Color.BLACK))\n//                        .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n//                        .into(holder.poster);\n//            }\n//        }\n//        if(mediaList.get(position) instanceof TVShowSeasonDetails){\n//            TVShowSeasonDetails tvShowSeason = ((TVShowSeasonDetails)mediaList.get(position));\n//            if(tvShowSeason.getName()!=null){\n//                holder.name.setText(tvShowSeason.getName());\n//                String poster_path =null;\n//                if(tvShowSeason.getPoster_path()!=null){\n//                    poster_path = tvShowSeason.getPoster_path();\n//                    Glide.with(context)\n//                            .load(Constants.TMDB_IMAGE_BASE_URL+poster_path)\n//                            .placeholder(new ColorDrawable(Color.BLACK))\n//                            .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n//                            .into(holder.poster);\n//                }\n//\n//            }\n//        }\n//\n//\n//        setAnimation(holder.itemView,position);\n//\n//    }\n//\n//\n//\n//    @Override\n//    public int getItemCount() {\n//        return mediaList.size();\n//    }\n//\n//\n//\n//    public class TVShowRecyclerAdapterHolder extends RecyclerView.ViewHolder implements View.OnClickListener{\n//\n//        TextView name;\n//        ImageView poster;\n//        public TVShowRecyclerAdapterHolder(@NonNull View itemView) {\n//            super(itemView);\n//            name = itemView.findViewById(R.id.tvShowName);\n//            poster= itemView.findViewById(R.id.tvShowPoster);\n//            itemView.setOnClickListener(this);\n//        }\n//\n//        @Override\n//        public void onClick(View v) {\n//            listener.onClick(v,getAbsoluteAdapterPosition());\n//        }\n//    }\n//    public interface OnItemClickListener {\n//        public void onClick(View view, int position);\n//    }\n//\n//\n//    private void setAnimation(View itemView , int position){\n//        Animation popIn = AnimationUtils.loadAnimation(context,R.anim.pop_in);\n//        itemView.startAnimation(popIn);\n//    }\n//}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/BannerRecyclerAdapter.java",
    "content": "package com.theflexproject.thunder.adapter;\n\nimport static com.theflexproject.thunder.Constants.TMDB_IMAGE_BASE_URL;\n\nimport android.content.Context;\nimport android.graphics.Color;\nimport android.graphics.drawable.ColorDrawable;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ImageView;\nimport android.widget.TextView;\n\nimport androidx.annotation.NonNull;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.bumptech.glide.Glide;\nimport com.bumptech.glide.load.resource.bitmap.RoundedCorners;\nimport com.bumptech.glide.request.RequestOptions;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.model.Movie;\n\nimport java.util.List;\n\npublic class BannerRecyclerAdapter extends RecyclerView.Adapter<BannerRecyclerAdapter.MovieViewHolder> {\n\n    Context context;\n    List<Movie> mediaList;\n    private BannerRecyclerAdapter.OnItemClickListener listener;\n    public BannerRecyclerAdapter(Context context, List<Movie> mediaList, BannerRecyclerAdapter.OnItemClickListener listener) {\n        this.context = context;\n        this.mediaList = mediaList;\n        this.listener = listener;\n    }\n\n    @NonNull\n    @Override\n    public MovieViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.movie_item_banner, parent, false);\n        return new MovieViewHolder(view);\n    }\n\n    @Override\n    public void onBindViewHolder(@NonNull MovieViewHolder holder, int position) {\n        if(mediaList.get(position).getBackdrop_path()!=null){\n            holder.name.setText(mediaList.get(position).getTitle());\n            Glide.with(context)\n                    .load(TMDB_IMAGE_BASE_URL +mediaList.get(position).getBackdrop_path())\n                    .placeholder(new ColorDrawable(Color.BLACK))\n                    .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n                    .into(holder.poster);\n        }\n    }\n\n    @Override\n    public int getItemCount() {\n        return (mediaList==null)?0:mediaList.size();\n    }\n\n    public class MovieViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener{\n\n        TextView name;\n        ImageView poster;\n        public MovieViewHolder(@NonNull View itemView) {\n            super(itemView);\n            name = itemView.findViewById(R.id.textView4);\n            poster= itemView.findViewById(R.id.moviePoster);\n            itemView.setOnClickListener(this);\n        }\n\n\n        @Override\n        public void onClick(View v) {\n            listener.onClick(v,getAbsoluteAdapterPosition());\n        }\n    }\n\n    public interface OnItemClickListener {\n        public void onClick(View view, int position);\n    }\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/EpisodeAdapter.java",
    "content": "package com.theflexproject.thunder.adapter;\n\nimport android.annotation.SuppressLint;\nimport android.app.Activity;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.SharedPreferences;\nimport android.graphics.Color;\nimport android.graphics.drawable.ColorDrawable;\nimport android.graphics.drawable.Drawable;\nimport android.net.Uri;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.view.ViewOutlineProvider;\nimport android.view.WindowManager;\nimport android.view.animation.Animation;\nimport android.view.animation.AnimationUtils;\nimport android.widget.Button;\nimport android.widget.ImageView;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.bumptech.glide.Glide;\nimport com.bumptech.glide.load.resource.bitmap.RoundedCorners;\nimport com.bumptech.glide.request.RequestOptions;\nimport com.theflexproject.thunder.Constants;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.player.PlayerActivity;\nimport com.theflexproject.thunder.utils.StringUtils;\n\nimport java.util.List;\n\nimport eightbitlab.com.blurview.BlurView;\nimport eightbitlab.com.blurview.RenderScriptBlur;\n\npublic class EpisodeAdapter extends RecyclerView.Adapter<EpisodeAdapter.EpisodeAdapterHolder> {\n\n    Context context;\n    List<Episode> episodeList;\n    private EpisodeAdapter.OnItemClickListener listener;\n\n    public EpisodeAdapter(Context context, List<Episode> episodeList, EpisodeAdapter.OnItemClickListener listener) {\n        this.context = context;\n        this.episodeList = episodeList;\n        this.listener= listener;\n    }\n\n    @NonNull\n    @Override\n    public EpisodeAdapterHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.episode_item, parent, false);\n        return new EpisodeAdapterHolder(view);\n    }\n\n    @Override\n    public void onBindViewHolder(@NonNull EpisodeAdapterHolder holder, @SuppressLint(\"RecyclerView\") int position) {\n        if(episodeList!=null){\n            Episode episode = episodeList.get(position);\n            if(episode.getEpisode_number()>9){\n                holder.episodeNumber.setText(\"E\"+episode.getEpisode_number());\n            }else {\n                holder.episodeNumber.setText(\"E0\"+episode.getEpisode_number());\n            }\n            if(episode.getSeason_number()>9){\n                holder.seasonNumber.setText(\"S\"+episode.getSeason_number());\n            }else {holder.seasonNumber.setText(\"S0\"+episode.getSeason_number());}\n            if(episode.getName()!=null){\n                holder.episodeName.setText(episode.getName());\n            }\n            if(episode.getStill_path()!=null){\n                Glide.with(context)\n                        .load(Constants.TMDB_IMAGE_BASE_URL+episode.getStill_path())\n                        .placeholder(new ColorDrawable(Color.BLACK))\n                        .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n                        .into(holder.episodeStill);\n            }\n            if(episode.getOverview()!=null){\n                holder.overview.setText(episode.getOverview());\n            }\n            if(episode.getRuntime()!=0){\n                String result = StringUtils.runtimeIntegerToString(episode.getRuntime());\n                holder.runtime.setVisibility(View.VISIBLE);\n                holder.runtime.setText(result);\n            }\n\n                holder.play.setOnClickListener(new View.OnClickListener() {\n                    @Override\n                    public void onClick(View view) {\n                        holder.playEpisode(episode);\n                    }\n                });\n\n        }\n\n\n\n\n        setAnimation(holder.itemView,position);\n\n    }\n\n\n\n    @Override\n    public int getItemCount() {\n        return episodeList.size();\n    }\n\n\n\n    public class EpisodeAdapterHolder extends RecyclerView.ViewHolder implements View.OnClickListener{\n        BlurView blurView;\n        ViewGroup rootView;\n        View decorView;\n\n        TextView episodeName;\n        ImageView episodeStill;\n        TextView seasonNumber;\n        TextView episodeNumber;\n        TextView runtime;\n        TextView overview;\n        Button play;\n\n        public EpisodeAdapterHolder(@NonNull View itemView) {\n            super(itemView);\n            blurView = itemView.findViewById(R.id.blurView3);\n            decorView =  ((Activity) context).getWindow().getDecorView();\n            rootView = decorView.findViewById(android.R.id.content);\n\n\n            episodeName = itemView.findViewById(R.id.episodeNameInItem);\n            episodeStill = itemView.findViewById(R.id.episodeStill);\n            seasonNumber = itemView.findViewById(R.id.seasonNumberInItem);\n            episodeNumber = itemView.findViewById(R.id.episodeNumberInItem);\n            runtime = itemView.findViewById(R.id.RuntimeInItem);\n            overview = itemView.findViewById(R.id.overviewDescInItem);\n\n            play = itemView.findViewById(R.id.playInEpisodeItem);\n\n            blurBottom();\n\n            itemView.setOnClickListener(this);\n        }\n\n        @Override\n        public void onClick(View v) {\n            listener.onClick(v,getAbsoluteAdapterPosition());\n        }\n\n        private void playEpisode(Episode episode){\n            SharedPreferences sharedPreferences = itemView.getContext().getSharedPreferences(\"Settings\" , Context.MODE_PRIVATE);\n            boolean savedEXT = sharedPreferences.getBoolean(\"EXTERNAL_SETTING\" , false);\n\n            if (savedEXT) {\n                //External Player\n                addToLastPlayed(episode.getId());\n                Intent intent = new Intent(Intent.ACTION_VIEW , Uri.parse(episode.getUrlString()));\n                intent.setDataAndType(Uri.parse(episode.getUrlString()) , \"video/*\");\n                itemView.getContext().startActivity(intent);\n            } else {\n                //Play video\n                addToLastPlayed(episode.getId());\n                Intent in = new Intent(itemView.getContext() , PlayerActivity.class);\n                in.putExtra(\"url\" , episode.getUrlString());\n                itemView.getContext().startActivity(in);\n                Toast.makeText(itemView.getContext() , \"Play\" , Toast.LENGTH_LONG).show();\n            }\n        }\n        private void addToLastPlayed(int id) {\n            Thread thread = new Thread(new Runnable() {\n                @Override\n                public void run() {\n                    DatabaseClient.getInstance(itemView.getContext()).getAppDatabase().episodeDao().updatePlayed(id);\n                }\n            });\n            thread.start();\n        }\n\n        void blurBottom(){\n\n            ((Activity) context).getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);\n            ((Activity) context).getWindow().setStatusBarColor(Color.TRANSPARENT);\n            final float radius = 5f;\n            final Drawable windowBackground = ((Activity) context).getWindow().getDecorView().getBackground();\n\n            blurView.setupWith(rootView, new RenderScriptBlur(context))\n                    .setFrameClearDrawable(windowBackground)\n                    .setBlurRadius(radius);\n            blurView.setOutlineProvider(ViewOutlineProvider.BACKGROUND);\n            blurView.setClipToOutline(true);\n        }\n\n    }\n    public interface OnItemClickListener {\n        public void onClick(View view, int position);\n    }\n\n\n    private void setAnimation(View itemView , int position){\n        Animation popIn = AnimationUtils.loadAnimation(context,R.anim.pop_in);\n        itemView.startAnimation(popIn);\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/FileItemAdapter.java",
    "content": "package com.theflexproject.thunder.adapter;\n\nimport static android.content.Context.DOWNLOAD_SERVICE;\n\nimport android.annotation.SuppressLint;\nimport android.app.Activity;\nimport android.app.DownloadManager;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.SharedPreferences;\nimport android.graphics.Color;\nimport android.graphics.drawable.Drawable;\nimport android.net.Uri;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.view.ViewOutlineProvider;\nimport android.view.WindowManager;\nimport android.view.animation.Animation;\nimport android.view.animation.AnimationUtils;\nimport android.widget.Button;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.appcompat.app.AppCompatActivity;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.fragments.ChangeTMDBFragment;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.player.PlayerActivity;\nimport com.theflexproject.thunder.utils.MovieQualityExtractor;\nimport com.theflexproject.thunder.utils.sizetoReadablesize;\n\nimport java.util.List;\n\nimport eightbitlab.com.blurview.BlurView;\nimport eightbitlab.com.blurview.RenderScriptBlur;\n\n\npublic class FileItemAdapter extends RecyclerView.Adapter<FileItemAdapter.FileItemAdapterHolder> {\n\n    Context context;\n    List<MyMedia> mediaList;\n//    private FileItemAdapter.OnItemClickListener listener;\n\n    public FileItemAdapter(Context context, List<MyMedia> mediaList) {\n        this.context = context;\n        this.mediaList = mediaList;\n//        this.listener= listener;\n    }\n\n    @NonNull\n    @Override\n    public FileItemAdapterHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.file_item, parent, false);\n        return new FileItemAdapterHolder(view);\n    }\n\n    @Override\n    public void onBindViewHolder(@NonNull FileItemAdapterHolder holder, @SuppressLint(\"RecyclerView\") int position) {\n\n        if (mediaList.get(position) instanceof Movie) {\n            if (((Movie)mediaList.get(position)).getUrlString() != null) {\n                String link = ((Movie) mediaList.get(position)).getUrlString();\n                if(!link.contains(\"proxy\")){\n                    holder.link.setText(link);\n                }\n\n                holder.fileName.setText(((Movie)mediaList.get(position)).getFileName());\n                holder.size.setText(sizetoReadablesize.humanReadableByteCountBin(Long.parseLong(((Movie)mediaList.get(position)).getSize())));\n            }\n            String qualityStr = MovieQualityExtractor.extractQualtiy(((Movie)mediaList.get(position)).getFileName());\n            if(qualityStr!=null){\n                holder.quality.setVisibility(View.VISIBLE);\n                holder.quality.setText(qualityStr);\n            }\n\n\n            holder.play.setOnClickListener(new View.OnClickListener() {\n                @Override\n                public void onClick(View v) {\n                    holder.playMedia(((Movie)mediaList.get(position)).getUrlString());\n                    addToLastPlayed();\n\n                }\n                private void addToLastPlayed() {\n                    Thread thread = new Thread(new Runnable() {\n                        @Override\n                        public void run() {\n                            DatabaseClient.getInstance(context).getAppDatabase().movieDao().updatePlayed(((Movie)mediaList.get(position)).getId());\n                        }\n                    });\n                    thread.start();\n                }\n            });\n\n\n            holder.download.setOnClickListener(new View.OnClickListener() {\n                @Override\n                public void onClick(View v) {\n                  holder.downloadMedia(((Movie)mediaList.get(position)).getUrlString());\n                }\n            });\n\n            holder.changeTMDB.setOnClickListener(new View.OnClickListener() {\n                @Override\n                public void onClick(View v) {\n                    holder.changeTMDBFragmet(mediaList.get(position));\n\n                }\n            });\n        }\n\n        if (mediaList.get(position) instanceof Episode) {\n            if (((Episode)mediaList.get(position)).getUrlString() != null) {\n                holder.link.setText(((Episode)mediaList.get(position)).getUrlString());\n                holder.fileName.setText(((Episode)mediaList.get(position)).getFileName());\n                holder.size.setText(sizetoReadablesize.humanReadableByteCountBin(Long.parseLong(((Episode)mediaList.get(position)).getSize())));\n            }\n            String qualityStr = MovieQualityExtractor.extractQualtiy(((Episode)mediaList.get(position)).getFileName());\n            if(qualityStr!=null){\n                holder.quality.setVisibility(View.VISIBLE);\n                holder.quality.setText(qualityStr);\n            }\n\n\n            holder.play.setOnClickListener(new View.OnClickListener() {\n                @Override\n                public void onClick(View v) {\n                    holder.playMedia(((Episode)mediaList.get(position)).getUrlString());\n                    addToLastPlayed();\n                }\n                private void addToLastPlayed() {\n                    Thread thread = new Thread(new Runnable() {\n                        @Override\n                        public void run() {\n                            DatabaseClient.getInstance(context).getAppDatabase().episodeDao().updatePlayed(((Episode)mediaList.get(position)).getId());\n                        }\n                    });\n                    thread.start();\n                }\n            });\n            holder.download.setOnClickListener(new View.OnClickListener() {\n                @Override\n                public void onClick(View v) {\n                    holder.downloadMedia(((Episode)mediaList.get(position)).getUrlString());\n                }\n            });\n\n            holder.changeTMDB.setVisibility(View.GONE);\n//            holder.changeTMDB.setOnClickListener(new View.OnClickListener() {\n//                @Override\n//                public void onClick(View v) {\n//                    holder.changeTMDBFragmet(mediaList.get(position));\n//\n//                }\n//            });\n        }\n\n\n\n\n        setAnimation(holder.itemView , position);\n\n        }\n\n\n\n    @Override\n        public int getItemCount () {\n            return mediaList.size();\n        }\n\n\n        public class FileItemAdapterHolder extends RecyclerView.ViewHolder{\n\n            BlurView blurView;\n            ViewGroup rootView;\n            View decorView;\n\n            TextView fileName;\n            TextView link;\n            TextView size;\n            TextView quality;\n            Button play;\n            Button download;\n            Button changeTMDB;\n            SharedPreferences sharedPreferences = context.getSharedPreferences(\"Settings\", Context.MODE_PRIVATE);\n            boolean savedEXT = sharedPreferences.getBoolean(\"EXTERNAL_SETTING\", false);\n\n\n            public FileItemAdapterHolder(@NonNull View itemView) {\n                super(itemView);\n                blurView = itemView.findViewById(R.id.blurView2);\n                decorView =  ((Activity) context).getWindow().getDecorView();\n                rootView = decorView.findViewById(android.R.id.content);\n\n                fileName = itemView.findViewById(R.id.fileNameInFileItem);\n                link = itemView.findViewById(R.id.fileLinkInFileItem);\n                size = itemView.findViewById(R.id.sizeTextInFileItem);\n                quality = itemView.findViewById(R.id.videoQualityTextInFileItem);\n                play = itemView.findViewById(R.id.playInFileItem);\n                download = itemView.findViewById(R.id.downloadInFileItem);\n                changeTMDB = itemView.findViewById(R.id.changeTMDBIdInFileItem);\n\n                blurBottom();\n//                itemView.setOnClickListener(this);\n            }\n\n\n            private void playMedia(String url) {\n                if (savedEXT) {\n                    //External Player\n                    Intent intent = new Intent(Intent.ACTION_VIEW , Uri.parse(url));\n                    intent.setDataAndType(Uri.parse(url) , \"video/*\");\n                    context.startActivity(intent);\n                } else {\n                    //Play video\n                    Intent in = new Intent(context , PlayerActivity.class);\n                    in.putExtra(\"url\" , (url));\n                    context.startActivity(in);\n                    Toast.makeText(context , \"Play\" , Toast.LENGTH_LONG).show();\n                }\n            }\n            private void downloadMedia(String url) {\n                DownloadManager manager = (DownloadManager) context.getSystemService(DOWNLOAD_SERVICE);\n                Uri uri = Uri.parse(url);\n                DownloadManager.Request request = new DownloadManager.Request(uri);\n                request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE)\n                        .setDescription(\"Downloading\");\n                long reference = manager.enqueue(request);\n                Toast.makeText(context,\"Download Started\",Toast.LENGTH_LONG).show();\n            }\n\n            private void blurBottom(){\n\n                ((Activity) context).getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);\n                ((Activity) context).getWindow().setStatusBarColor(Color.TRANSPARENT);\n                final float radius = 5f;\n                final Drawable windowBackground = ((Activity) context).getWindow().getDecorView().getBackground();\n\n                blurView.setupWith(rootView, new RenderScriptBlur(context))\n                        .setFrameClearDrawable(windowBackground)\n                        .setBlurRadius(radius);\n                blurView.setOutlineProvider(ViewOutlineProvider.BACKGROUND);\n                blurView.setClipToOutline(true);\n            }\n\n            public void changeTMDBFragmet(MyMedia myMedia) {\n                AppCompatActivity activity = (AppCompatActivity) itemView.getContext();\n                ChangeTMDBFragment changeTMDBFragment = new ChangeTMDBFragment(myMedia);\n\n                activity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,changeTMDBFragment).addToBackStack(null).commit();\n\n            }\n        }\n        public interface OnItemClickListener {\n            public void onClick(View view , int position);\n        }\n\n\n        private void setAnimation (View itemView ,int position){\n            Animation popIn = AnimationUtils.loadAnimation(context , R.anim.pop_in);\n            itemView.startAnimation(popIn);\n        }\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/FileItemDialogAdapter.java",
    "content": "package com.theflexproject.thunder.adapter;\n\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.TextView;\n\nimport androidx.annotation.NonNull;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.utils.MovieQualityExtractor;\n\nimport java.util.List;\n\npublic class FileItemDialogAdapter extends RecyclerView.Adapter<FileItemDialogAdapter.FileItemDialogAdapterViewHolder> {\n\n    List<MyMedia> mediaList;\n    private FileItemDialogAdapter.OnItemClickListener listener;\n\n    public FileItemDialogAdapter(List<MyMedia> mediaList , FileItemDialogAdapter.OnItemClickListener listener) {\n        this.mediaList = mediaList;\n        this.listener= listener;\n    }\n\n\n    @NonNull\n    @Override\n    public FileItemDialogAdapterViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.dialog_filename_item, parent, false);\n        return new FileItemDialogAdapterViewHolder(view);\n    }\n\n    @Override\n    public void onBindViewHolder(@NonNull FileItemDialogAdapterViewHolder holder , int position) {\n        if (mediaList.get(position) instanceof Movie) {\n            if (((Movie)mediaList.get(position)).getUrlString() != null) {\n                holder.fileName.setText(((Movie)mediaList.get(position)).getFileName());\n            }\n            String qualityStr = MovieQualityExtractor.extractQualtiy(((Movie)mediaList.get(position)).getFileName());\n            if(qualityStr!=null){\n                holder.quality.setVisibility(View.VISIBLE);\n                holder.quality.setText(qualityStr);\n            }\n        }\n\n        if (mediaList.get(position) instanceof Episode) {\n            if (((Episode)mediaList.get(position)).getUrlString() != null) {\n                holder.fileName.setText(((Episode)mediaList.get(position)).getFileName());\n            }\n            String qualityStr = MovieQualityExtractor.extractQualtiy(((Episode)mediaList.get(position)).getFileName());\n            if(qualityStr!=null){\n                holder.quality.setVisibility(View.VISIBLE);\n                holder.quality.setText(qualityStr);\n            }\n\n    }\n\n    }\n\n\n\n    @Override\n    public int getItemCount () {\n        return mediaList.size();\n    }\n\n\n    public class FileItemDialogAdapterViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener {\n\n        TextView fileName;\n        TextView quality;\n\n        public FileItemDialogAdapterViewHolder(@NonNull View itemView) {\n            super(itemView);\n\n\n\n            fileName = itemView.findViewById(R.id.fileName);\n            quality = itemView.findViewById(R.id.quality);\n                itemView.setOnClickListener(this);\n        }\n\n\n\n        @Override\n        public void onClick(View v) {listener.onClick(v,getAbsoluteAdapterPosition());}\n\n\n    }\n    public interface OnItemClickListener {\n        void onClick(View view , int position);\n    }\n\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/FragmentViewPagerAdapter.java",
    "content": "package com.theflexproject.thunder.adapter;\n\nimport androidx.annotation.NonNull;\nimport androidx.fragment.app.Fragment;\nimport androidx.viewpager2.adapter.FragmentStateAdapter;\n\nimport com.theflexproject.thunder.fragments.FilesLibraryFragment;\nimport com.theflexproject.thunder.fragments.MovieLibraryFragment;\nimport com.theflexproject.thunder.fragments.TvShowsLibraryFragment;\n\npublic class FragmentViewPagerAdapter extends FragmentStateAdapter {\n\n\n    public FragmentViewPagerAdapter(@NonNull Fragment fragment) {\n        super(fragment);\n    }\n\n    @NonNull\n    @Override\n    public Fragment createFragment(int position) {\n        if(position==0){\n                return new MovieLibraryFragment();\n        }else if(position==1){\n                return new TvShowsLibraryFragment();\n        }else {\n                return new FilesLibraryFragment();\n        }\n    }\n\n\n\n    @Override\n    public int getItemCount() {\n        return 3;\n    }\n\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/IndexAdapter.java",
    "content": "package com.theflexproject.thunder.adapter;\n\nimport static com.theflexproject.thunder.utils.IndexUtils.deleteIndex;\nimport static com.theflexproject.thunder.utils.IndexUtils.disableIndex;\nimport static com.theflexproject.thunder.utils.IndexUtils.enableIndex;\nimport static com.theflexproject.thunder.utils.IndexUtils.getNoOfMedia;\nimport static com.theflexproject.thunder.utils.IndexUtils.refreshIndex;\n\nimport android.content.Context;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ImageButton;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport androidx.appcompat.widget.SwitchCompat;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.model.IndexLink;\n\nimport java.util.List;\n\npublic class IndexAdapter extends RecyclerView.Adapter<IndexAdapter.IndexViewHolder> {\n\n    private Context mCtx;\n    private List<IndexLink> indexLinkList;\n\n    public IndexAdapter(Context mCtx , List<IndexLink> indexLinkList) {\n        this.mCtx = mCtx;\n        this.indexLinkList = indexLinkList;\n    }\n\n    @Override\n    public IndexViewHolder onCreateViewHolder(ViewGroup parent , int viewType) {\n        View view = LayoutInflater.from(mCtx).inflate(R.layout.index_item , parent , false);\n        return new IndexViewHolder(view);\n    }\n\n    @Override\n    public void onBindViewHolder(IndexViewHolder holder , int position) {\n        IndexLink t = indexLinkList.get(position);\n        holder.textViewLink.setText(t.getLink());\n//        holder.textViewUsername.setText(t.getUsername());\n//        holder.textViewPassword.setText(t.getPassword());\n\n        holder.indexType.setText(t.getIndexType());\n        holder.folderType.setText(t.getFolderType());\n\n        int noOfMedia = getNoOfMedia(holder.itemView.getContext(), t);\n        String s = noOfMedia+\" \"+t.getFolderType();\n        holder.noOfMedia.setText(s);\n\n\n\n//        if (t.getUsername().length() > 0 && t.getPassword().length() > 0) {\n//            holder.textViewUsername.setVisibility(View.VISIBLE);\n//            holder.textViewPassword.setVisibility(View.VISIBLE);\n//        }\n\n        holder.refreshIndex.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View view) {\n                Toast.makeText(view.getContext() , \"Refreshing...\",Toast.LENGTH_LONG).show();\n                refreshIndex(holder.itemView.getContext() , t);\n\n            }\n        });\n        holder.delete.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View view) {\n                if(!deleteIndex(holder.itemView.getContext(), t)){\n                    Toast.makeText(view.getContext() , \"Deleted\",Toast.LENGTH_LONG).show();\n                }\n            }\n        });\n\n        if(t.getDisabled()==1){\n            holder.enableIndex.setChecked(false);\n        }\n        holder.enableIndex.setOnCheckedChangeListener((buttonView , isChecked) -> {\n            if(!isChecked){\n                System.out.println(\"disable index pressed\");\n                disableIndex(holder.itemView.getContext(), t);\n            }\n            if(isChecked){\n                enableIndex(holder.itemView.getContext(), t);\n            }\n        });\n\n\n//        holder.actv.addTextChangedListener(new TextWatcher() {\n//\n//            @Override\n//            public void onTextChanged(CharSequence s, int start, int before, int count) {\n//                String changeTo =s.toString();\n//                 new Thread(new Runnable() {\n//                    @Override\n//                    public void run() {\n//                        if(changeTo.equals(\"GDIndex\")){\n//                            deleteIndex(t);\n//                            postRequestGDIndex(t.getLink(),t.getUsername(),t.getPassword(), !t.folderType.equals(\"Movies\"));\n//                        }if(changeTo.equals(\"GoIndex\")){\n//                            deleteIndex(t);\n//                            postRequestGoIndex(t.getLink(),t.getUsername(),t.getPassword(), !t.folderType.equals(\"Movies\"));\n//                        }if(changeTo.equals(\"Maple\")){\n//                            deleteIndex(t);\n//                            postRequestMapleIndex(t.getLink(),t.getUsername(),t.getPassword(), !t.folderType.equals(\"Movies\"));\n//                        }\n//                        if(changeTo.equals(\"SimpleProgram\")){\n//                            deleteIndex(t);\n//                            postRequestSimpleProgramIndex(t.getLink(),t.getUsername(),t.getPassword(), !t.folderType.equals(\"Movies\"));\n//                        }\n//                    }\n//                }).start();\n//\n//\n//            }\n//\n//            @Override\n//            public void beforeTextChanged(CharSequence s, int start, int count, int after) {\n//\n//            }\n//\n//            @Override\n//            public void afterTextChanged(Editable s) {\n//\n//            }\n//        });\n    }\n\n\n    @Override\n    public int getItemCount() {\n        if (indexLinkList == null) {\n            return 0;\n        }\n        return indexLinkList.size();\n    }\n\n\n    protected class IndexViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener {\n\n        TextView textViewLink, textViewUsername, textViewPassword, indexType, folderType, noOfMedia;\n        ImageButton refreshIndex;\n        ImageButton delete;\n        SwitchCompat enableIndex;\n\n\n\n        public IndexViewHolder(View itemView) {\n            super(itemView);\n            textViewLink = itemView.findViewById(R.id.textViewLink);\n            indexType = itemView.findViewById(R.id.indexTypeInIndexAdapter);\n            folderType = itemView.findViewById(R.id.folderTypeInIndexAdapter);\n            noOfMedia = itemView.findViewById(R.id.noOfMedia);\n            refreshIndex = itemView.findViewById(R.id.refreshButton);\n            delete = itemView.findViewById(R.id.deletebutton);\n            enableIndex = itemView.findViewById(R.id.enableIndexToggle);\n            itemView.setOnClickListener(this);\n        }\n\n\n        @Override\n        public void onClick(View v) {\n\n        }\n    }\n\n}\n\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/MediaAdapter.java",
    "content": "\npackage com.theflexproject.thunder.adapter;\n\nimport android.content.Context;\nimport android.graphics.Color;\nimport android.graphics.drawable.ColorDrawable;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.view.animation.Animation;\nimport android.view.animation.AnimationUtils;\nimport android.widget.ImageView;\nimport android.widget.TextView;\n\nimport androidx.annotation.NonNull;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.bumptech.glide.Glide;\nimport com.bumptech.glide.load.resource.bitmap.RoundedCorners;\nimport com.bumptech.glide.request.RequestOptions;\nimport com.theflexproject.thunder.Constants;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\n\nimport java.util.List;\n\npublic class MediaAdapter extends RecyclerView.Adapter<MediaAdapter.MediaAdapterHolder> {\n\n    Context context;\n    List<MyMedia> mediaList;\n    private MediaAdapter.OnItemClickListener listener;\n\n    public MediaAdapter(Context context, List<MyMedia> mediaList, MediaAdapter.OnItemClickListener listener) {\n        this.context = context;\n        this.mediaList = mediaList;\n        this.listener= listener;\n    }\n\n    @NonNull\n    @Override\n    public MediaAdapterHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.media_item, parent, false);\n        return new MediaAdapterHolder(view);\n    }\n\n    @Override\n    public void onBindViewHolder(@NonNull MediaAdapterHolder holder, int position) {\n        \n        if(mediaList.get(position) instanceof Movie) {\n            Movie movie = ((Movie)mediaList.get(position));\n            if(movie.getTitle()==null){\n                holder.name.setText(movie.getFileName());\n            } else holder.name.setText(movie.getTitle());\n\n            if(movie.getPoster_path()!=null){\n                Glide.with(context)\n                        .load(Constants.TMDB_IMAGE_BASE_URL+movie.getPoster_path())\n                        .placeholder(new ColorDrawable(Color.BLACK))\n                        .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n                        .into(holder.poster);\n            }\n\n            String year = movie.getRelease_date();\n            if(year!=null&&year.length()>4) {\n                holder.movieYear.setVisibility(View.VISIBLE);\n                holder.movieYear.setText(year.substring(0,year.indexOf('-')));\n            }else {\n                holder.movieYear.setVisibility(View.VISIBLE);\n                holder.movieYear.setText(year);\n            }\n\n        }\n        \n        \n        if(mediaList.get(position) instanceof TVShow){\n            TVShow tvShow = ((TVShow)mediaList.get(position));\n            if(tvShow.getName()!=null){\n                holder.name.setText(tvShow.getName());\n                Glide.with(context)\n                        .load(Constants.TMDB_IMAGE_BASE_URL+tvShow.getPoster_path())\n                        .placeholder(new ColorDrawable(Color.BLACK))\n                        .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n                        .into(holder.poster);\n            }\n        }\n        \n        \n        if(mediaList.get(position) instanceof TVShowSeasonDetails){\n            TVShowSeasonDetails tvShowSeason = ((TVShowSeasonDetails)mediaList.get(position));\n            if(tvShowSeason.getName()!=null){\n                holder.name.setText(tvShowSeason.getName());\n                String poster_path = tvShowSeason.getPoster_path();\n                if(poster_path!=null){\n                    Glide.with(context)\n                            .load(Constants.TMDB_IMAGE_BASE_URL+poster_path)\n                            .placeholder(new ColorDrawable(Color.BLACK))\n                            .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n                            .into(holder.poster);\n                }\n\n            }\n        }\n\n\n        setAnimation(holder.itemView,position);\n\n    }\n\n\n\n    @Override\n    public int getItemCount() {\n        return mediaList.size();\n    }\n\n\n\n    public class MediaAdapterHolder extends RecyclerView.ViewHolder implements View.OnClickListener{\n\n        TextView name;\n        ImageView poster;\n        TextView movieYear;\n\n        public MediaAdapterHolder(@NonNull View itemView) {\n            super(itemView);\n            name = itemView.findViewById(R.id.nameInMediaItem);\n            poster= itemView.findViewById(R.id.posterInMediaItem);\n            movieYear = itemView.findViewById(R.id.yearInMediaItem);\n\n            itemView.setOnClickListener(this);\n        }\n\n        @Override\n        public void onClick(View v) {\n            listener.onClick(v,getAbsoluteAdapterPosition());\n        }\n    }\n\n    \n    public interface OnItemClickListener {\n        public void onClick(View view, int position);\n    }\n\n    private void setAnimation(View itemView , int position){\n        Animation popIn = AnimationUtils.loadAnimation(context,R.anim.pop_in);\n        itemView.startAnimation(popIn);\n    }\n}\n//package com.theflexproject.thunder.adapter;\n//\n//import static com.theflexproject.thunder.Constants.TMDB_IMAGE_BASE_URL;\n//\n//import android.content.Context;\n//import android.graphics.Color;\n//import android.graphics.drawable.ColorDrawable;\n//import android.view.LayoutInflater;\n//import android.view.View;\n//import android.view.ViewGroup;\n//import android.widget.ImageView;\n//import android.widget.TextView;\n//\n//import androidx.annotation.NonNull;\n//import androidx.recyclerview.widget.RecyclerView;\n//\n//import com.bumptech.glide.Glide;\n//import com.bumptech.glide.load.resource.bitmap.RoundedCorners;\n//import com.bumptech.glide.request.RequestOptions;\n//import com.theflexproject.thunder.Constants;\n//import com.theflexproject.thunder.R;\n//import com.theflexproject.thunder.model.Movie;\n//import com.theflexproject.thunder.model.MyMedia;\n//import com.theflexproject.thunder.model.TVShowInfo.TVShow;\n//import com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\n//\n//import java.util.List;\n//\n//\n//public class MediaAdapter extends RecyclerView.Adapter<MediaAdapter.MediaAdapterHolder> {\n//\n//    Context context;\n//    List<MyMedia> mediaList;\n//    private OnItemClickListener listener;\n//\n//    public MediaAdapter(Context context, List<MyMedia> mediaList) {\n//        this.context = context;\n//        this.mediaList = mediaList;\n//        this.listener= listener;\n//    }\n//\n//    @NonNull\n//    @Override\n//    public MediaAdapterHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n//        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.media_item, parent, false);\n//        return new MediaAdapterHolder(view);\n//    }\n//\n//    @Override\n//    public void onBindViewHolder(@NonNull MediaAdapterHolder holder, int position) {\n//        if(mediaList!=null){\n//            try {\n//                if(((Movie)mediaList.get(position)).getTitle()!=null){\n//                    holder.name.setText(((Movie)mediaList.get(position)).getTitle());\n//                    Glide.with(context)\n//                            .load(TMDB_IMAGE_BASE_URL+((Movie)mediaList.get(position)).getPoster_path())\n//                            .placeholder(new ColorDrawable(Color.BLACK))\n//                            .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n//                            .into(holder.poster);\n//                }\n//                if(((TVShow)mediaList.get(position)).getNumber_of_seasons()>0){\n//                    holder.name.setText(((TVShow)mediaList.get(position)).getName());\n//                    Glide.with(context)\n//                            .load(Constants.TMDB_IMAGE_BASE_URL+((TVShow)mediaList.get(position)).getPoster_path())\n//                            .placeholder(new ColorDrawable(Color.BLACK))\n//                            .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n//                            .into(holder.poster);\n//                }\n//                else {\n//                    holder.name.setText(((TVShowSeasonDetails)mediaList.get(position)).getName());\n//                    Glide.with(context)\n//                            .load(Constants.TMDB_IMAGE_BASE_URL+((TVShowSeasonDetails)mediaList.get(position)).getPoster_path())\n//                            .placeholder(new ColorDrawable(Color.BLACK))\n//                            .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n//                            .into(holder.poster);\n//                }\n//            }catch (ClassCastException e){\n//                System.out.println(\"Exception class cast\");\n//            }\n//\n//        }\n//\n//\n//\n//    }\n//\n//    @Override\n//    public int getItemCount() {\n//        return (mediaList==null)?0:mediaList.size();\n//    }\n//\n//    public class MediaAdapterHolder extends RecyclerView.ViewHolder implements View.OnClickListener{\n//\n//        TextView name;\n//        ImageView poster;\n//        public MediaAdapterHolder(@NonNull View itemView) {\n//            super(itemView);\n//            name = itemView.findViewById(R.id.mediaName);\n//            poster= itemView.findViewById(R.id.mediaPoster);\n//            itemView.setOnClickListener(this);\n//        }\n//\n//\n//        @Override\n//        public void onClick(View v) {\n//            listener.onClick(v,getAbsoluteAdapterPosition());\n//        }\n//\n//    }\n//    public interface OnItemClickListener {\n//        public void onClick(View view, int position);\n//    }\n//}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/adapter/ScaleCenterItemLayoutManager.java",
    "content": "package com.theflexproject.thunder.adapter;\n\nimport android.content.Context;\nimport android.view.View;\n\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\n//public class ScaleCenterItemLayoutManager extends LinearLayoutManager {\n//    public ScaleCenterItemLayoutManager(Context context, int orientation, boolean reverseLayout) {\n//        super(context, orientation, reverseLayout);\n//    }\n//\n//    public ScaleCenterItemLayoutManager(Context context) {\n//        super(context);\n//    }\n//\n//    @Override\n//    public boolean checkLayoutParams(RecyclerView.LayoutParams lp) {\n//        lp.width=getWidth()/3;\n//        return true;\n//    }\n//    @Override\n//    public void onLayoutCompleted(RecyclerView.State state){\n//        super.onLayoutCompleted(state);\n//        scaleMiddleItem();\n//    }\n//\n//    @Override\n//    public int scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) {\n//        int scolled = super.scrollHorizontallyBy(dx, recycler, state);\n//        if(getOrientation()==RecyclerView.HORIZONTAL) {\n//            scaleMiddleItem();\n//            return scolled;\n//        }\n//        else return 0;\n//    }\n//    private void scaleMiddleItem(){\n//        float mid = getWidth()/2.0f;\n//        float d1 = 0.9f * mid;\n//        for (int i = 0; i < getChildCount(); i++) {\n//            View child = getChildAt(i);\n//            float childMid = (getDecoratedRight(child)+getDecoratedLeft(child))/0.2f;\n//            float d = Math.min(d1,Math.abs(mid-childMid));\n//            float scale = 1f - 0.15f * d/d1;\n//            child.setScaleX(scale);\n//            child.setScaleY(scale);\n//        }\n//    }\n//}\npublic class ScaleCenterItemLayoutManager extends LinearLayoutManager {\n\n    private final float mShrinkAmount = 0.15f;\n    private final float mShrinkDistance = 0.9f;\n\n    public ScaleCenterItemLayoutManager(Context context) {\n        super(context);\n    }\n\n    public ScaleCenterItemLayoutManager(Context context, int orientation, boolean reverseLayout) {\n        super(context, orientation, reverseLayout);\n    }\n\n    @Override\n    public int scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) {\n        int orientation = getOrientation();\n        if (orientation == HORIZONTAL) {\n            int scrolled = super.scrollHorizontallyBy(dx, recycler, state);\n\n            float midpoint = getWidth() / 2.f;\n            float d0 = 0.f;\n            float d1 = mShrinkDistance * midpoint;\n            float s0 = 1.f;\n            float s1 = 1.f - mShrinkAmount;\n            for (int i = 0; i < getChildCount(); i++) {\n                View child = getChildAt(i);\n                float childMidpoint =\n                        (getDecoratedRight(child) + getDecoratedLeft(child)) / 2.f;\n                float d = Math.min(d1, Math.abs(midpoint - childMidpoint));\n                float scale = s0 + (s1 - s0) * (d - d0) / (d1 - d0);\n                child.setScaleX(scale);\n                child.setScaleY(scale);\n            }\n            return scrolled;\n        } else {\n            return 0;\n        }\n\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/AppDatabase.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport androidx.room.AutoMigration;\nimport androidx.room.Database;\nimport androidx.room.RoomDatabase;\nimport androidx.room.TypeConverters;\n\nimport com.theflexproject.thunder.model.IndexLink;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.ResFormat;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\n\n@Database(entities = {ResFormat.class, Movie.class, IndexLink.class, TVShow.class, TVShowSeasonDetails.class, Episode.class},\n        version = 30, autoMigrations = { @AutoMigration(from = 23, to = 24),@AutoMigration(from = 24, to = 25),@AutoMigration(from = 25, to = 26),@AutoMigration(from = 26, to = 27),@AutoMigration(from = 27, to = 28),@AutoMigration(from = 28, to = 29),@AutoMigration(from = 29, to = 30)})\n@TypeConverters({Converters.class})\n\n\npublic abstract class AppDatabase extends RoomDatabase {\n\n    public abstract ResFormatDao resFormatDao();\n    public abstract MovieDao movieDao();\n    public abstract TVShowDao tvShowDao();\n    public abstract EpisodeDao episodeDao();\n    public abstract TVShowSeasonDetailsDao tvShowSeasonDetailsDao();\n    public abstract IndexLinksDao indexLinksDao();\n\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/Converters.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport android.util.Log;\n\nimport androidx.room.TypeConverter;\n\nimport com.google.gson.Gson;\nimport com.google.gson.GsonBuilder;\nimport com.theflexproject.thunder.model.Data;\nimport com.theflexproject.thunder.model.Genre;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.model.TVShowInfo.Season;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Date;\n\n\npublic class Converters {\n\n    @TypeConverter\n    public static Date fromTimestamp(Long value) {\n        return value == null ? null : new Date(value);\n    }\n\n    @TypeConverter\n    public static Long dateToTimestamp(Date date) {\n        return date == null ? null : date.getTime();\n    }\n\n\n    @TypeConverter\n    public static String fromData(Data data) {\n        return data.toString();\n    }\n\n    @TypeConverter\n    public static Data fromStringToData(String string) {\n        Gson gson = new Gson();\n        Data data = gson.fromJson(string , Data.class);\n        return data;\n    }\n\n//    @TypeConverter\n//    public static Long fromModifiedTime(Date date) {\n//        if(date==null) return null;\n//        return date.getTime();\n//    }\n//\n//    @TypeConverter\n//    public static Date fromLong(Long date) {\n//        if(date==null) return null;\n//        return new Date(date);\n//    }\n\n    @TypeConverter\n    public static String fromEpisodes(ArrayList<Episode> episodes) {\n        if (episodes == null) {\n            return null;\n        }\n        StringBuilder sb = new StringBuilder();\n        for (int i = 0; i < episodes.size(); i++) {\n            Episode e = episodes.get(i);\n            sb.append(e.toString());\n            sb.append(\"\\t\");\n        }\n        System.out.println(\"StringBuilder op\" + sb.toString());\n        return sb.toString();\n    }\n\n    @TypeConverter\n    public static ArrayList<Episode> fromStringToEpisodes(String episodesString) {\n        if (episodesString == null) {\n            return (null);\n        }\n//        Gson gson = new Gson();\n//        \"Mon Oct 10 22:07:31 GMT+05:30 2022\"\n//        Gson gson = new GsonBuilder().setDateFormat(\"E MMM dd HH:mm:ss 'Z' yyyy\").create();\n//        SimpleDateFormat df = new SimpleDateFormat(\"EE MMM dd HH:mm:ss zzzz yyyy\");\n\n        Gson gson = new GsonBuilder().setDateFormat(\"E MMM dd HH:mm:ss z yyyy\").create();\n//        ObjectMapper om = new ObjectMapper();\n\n//        ObjectMapper gson = new ObjectMapper();\n//        SimpleDateFormat df=new SimpleDateFormat(\"E MMM dd HH:mm:ss z yyyy\", Locale.US);\n//        gson.setDateFormat(df);\n\n        String[] arr = episodesString.split(\"\\t\");\n        ArrayList<Episode> episodes = new ArrayList<>();\n        try {\n            for (String s : arr) {\n\n                Episode episode = gson.fromJson(s ,Episode.class);\n//                Episode episode = gson.readValue(s , Episode.class);\n//                System.out.println(\"Episode inside For Loop\" + episode);\n                episodes.add(episode);\n            }\n        } catch (Exception e) {\n            System.out.println(\"episodesArr exception\" + e);\n        }\n//        System.out.println(\"episodesString in Converter\" + episodesString);\n//        System.out.println(\"episodesList in Converter\" + episodes);\n        return episodes;\n    }\n\n\n\n    @TypeConverter\n    public static String fromSeasons(ArrayList<Season> seasons) {\n        if (seasons == null) {\n            return null;\n        }\n        StringBuilder sb = new StringBuilder();\n        for (int i = 0; i < seasons.size(); i++) {\n            Season s = seasons.get(i);\n            sb.append(s.toString());\n            sb.append(\"\\t\");\n        }\n\n        System.out.println(\"StringBuilder op\" + sb.toString());\n\n        return sb.toString();\n    }\n\n    @TypeConverter\n    public static ArrayList<Season> fromStringToSeasons(String seasonsString) {\n        if (seasonsString == null) {\n            return (null);\n        }\n        Gson gson = new Gson();\n        String[] arr = seasonsString.split(\"\\t\");\n        ArrayList<Season> seasons = new ArrayList<>();\n        try {\n            for (String s : arr) {\n//                System.out.println(\"arr element inside For Loop\" + s);\n                Season season = gson.fromJson(s , Season.class);\n//                System.out.println(\"Season inside For Loop\" + season);\n                seasons.add(season);\n            }\n        } catch (Exception e) {\n            Log.i(\"SeasonJson\" , Arrays.toString(arr));\n        }\n        System.out.println(seasons);\n//        System.out.println(\"seasonString in Converter\" + seasonsString);\n        return seasons;\n    }\n\n    @TypeConverter\n    public static String fromGenreList(ArrayList<Genre> genres) {\n        if (genres == null) {\n            return null;\n        }\n        StringBuilder sb = new StringBuilder();\n        for (int i = 0; i < genres.size(); i++) {\n            Genre s = genres.get(i);\n            sb.append(s.toString());\n            sb.append(\"\\t\");\n        }\n\n\n\n        return sb.toString();\n    }\n\n    @TypeConverter\n    public static ArrayList<Genre> fromStringToGenres(String genresString) {\n        if (genresString == null) {\n            return (null);\n        }\n        Gson gson = new Gson();\n        String[] arr = genresString.split(\"\\t\");\n        ArrayList<Genre> genres = new ArrayList<>();\n\n        for (String s : arr) {\n            Genre genre = gson.fromJson(s , Genre.class);\n            genres.add(genre);\n        }\n        System.out.println(genres);\n        return genres;\n    }\n}\n\n\n\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/DatabaseClient.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport android.content.Context;\n\nimport androidx.room.Room;\n\npublic class DatabaseClient {\n\n    private Context mCtx;\n    private static DatabaseClient mInstance;\n\n    //our app database object\n    private AppDatabase appDatabase;\n\n    private DatabaseClient(Context mCtx) {\n        this.mCtx = mCtx;\n\n        //creating the app database with Room database builder\n        //MyToDos is the name of the database\n        appDatabase = Room.databaseBuilder(mCtx, AppDatabase.class, \"MyToDos\").build();\n    }\n\n    public static synchronized DatabaseClient getInstance(Context mCtx) {\n        if (mInstance == null) {\n            mInstance = new DatabaseClient(mCtx);\n        }\n        return mInstance;\n    }\n\n    public AppDatabase getAppDatabase() {\n        return appDatabase;\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/EpisodeDao.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport androidx.room.Dao;\nimport androidx.room.Delete;\nimport androidx.room.Insert;\nimport androidx.room.Query;\n\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\n\nimport java.util.List;\n\n@Dao\npublic interface EpisodeDao {\n    @Query(\"SELECT * FROM Episode \")\n    List<Episode> getAll();\n\n    @Query(\"SELECT * FROM Episode WHERE id LIKE :id and disabled =0\")\n    Episode find(int id);\n\n    @Query(\"SELECT * FROM Episode WHERE fileName LIKE :fileName and disabled =0\")\n    Episode findByFileName(String fileName);\n\n    @Query(\"SELECT * FROM Episode WHERE season_id=:season_id AND played=0 and disabled =0 order by episode_number limit 1 \")\n    Episode getNextEpisodeInSeason(int season_id);\n\n    @Query(\"SELECT * FROM Episode WHERE show_id=:show_id AND played=0 and disabled =0 order by season_number,episode_number limit 1\")\n    Episode getNextEpisodeInTVShow(int show_id);\n\n    @Query(\"SELECT * FROM Episode WHERE id=:id and disabled =0\")\n    List<Episode> byEpisodeId(int id);\n\n    @Query(\"SELECT * FROM Episode WHERE id=:id and disabled =0 ORDER BY cast(size as unsigned) desc limit 1\")\n    Episode byEpisodeIdLargest(int id);\n\n    @Query(\"UPDATE Episode SET played = 1 WHERE id = :episodeId and disabled =0\")\n    void updatePlayed(int episodeId);\n\n    @Query(\"SELECT * FROM Episode WHERE show_id=:show_id AND season_id=:season_id and disabled =0 GROUP BY id ORDER BY episode_number ASC\")\n    List<Episode> getFromThisSeason(int show_id, int season_id);\n\n\n    @Query(\"SELECT * FROM Episode WHERE season_id=:season_id and disabled =0\")\n    List<Episode> getFromSeasonOnly(int season_id);\n\n\n    @Query(\"SELECT * FROM Episode WHERE show_id=:show_id and disabled =0\")\n    List<Episode> getFromThisShow(long show_id);\n    @Insert\n    void insert(Episode... episodes);\n\n    @Delete\n    void delete(Episode episode);\n\n    @Query(\"Delete from Episode where  index_id = :index_id\")\n    void deleteAllFromThisIndex(int index_id);\n\n\n    @Query(\"select * from Episode where  index_id = :index_id and disabled =0\")\n    Episode findByLink(int index_id);\n\n    @Query(\"Delete from Episode where urlString=:link \")\n    void deleteByLink(String link);\n\n    @Query(\"select count( distinct show_id ) from Episode  where index_id = :index_id \")\n    int getNoOfShows(int index_id);\n\n    @Query(\"UPDATE Episode set disabled=1 WHERE  index_id = :index_id\")\n    void disableFromThisIndex(int index_id);\n\n    @Query(\"UPDATE Episode set disabled=0 WHERE index_id = :index_id\")\n    void enableFromThisIndex(int index_id);\n\n    @Query(\"SELECT * FROM Episode WHERE show_id=:show_id and disabled =0 order by season_number,episode_number limit 1 \")\n    Episode getFirstAvailableEpisode(long show_id);\n\n\n    @Query(\"SELECT * FROM Episode WHERE gd_id =:id\")\n    Episode findByGdId(String id);\n\n    @Query(\"DELETE FROM Episode WHERE gd_id =:id\")\n    void deleteByGdId(String id);\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/IndexLinksDao.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport androidx.room.Dao;\nimport androidx.room.Delete;\nimport androidx.room.Insert;\nimport androidx.room.Query;\n\nimport com.theflexproject.thunder.model.IndexLink;\n\nimport java.util.List;\n\n@Dao\npublic interface IndexLinksDao {\n\n    @Query(\"SELECT * FROM IndexLink\")\n    List<IndexLink> getAll();\n\n    @Query(\"SELECT * FROM IndexLink where disabled=0\")\n    List<IndexLink> getAllEnabled();\n\n    @Query(\"SELECT * FROM IndexLink WHERE link=:link\")\n    IndexLink find(String link);\n\n    @Insert\n    void insert(IndexLink... indexLinks);\n\n    @Delete\n    void delete(IndexLink indexLink);\n\n    @Query(\"DELETE FROM IndexLink WHERE id=:id\")\n    void deleteById(int id);\n\n    @Query(\"Update indexlink set disabled=1 WHERE id=:index_id  \")\n    void disableIndex(int index_id);\n\n    @Query(\"Update indexlink set disabled=0 WHERE id=:index_id  \")\n    void enableIndex(int index_id);\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/MovieDao.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport androidx.room.Dao;\nimport androidx.room.Delete;\nimport androidx.room.Insert;\nimport androidx.room.Query;\n\nimport com.theflexproject.thunder.model.Movie;\n\nimport java.util.List;\n\n@Dao\npublic interface MovieDao {\n    @Query(\"SELECT * FROM Movie WHERE title is not null and disabled=0 GROUP BY title \")\n    List<Movie> getAll();\n\n    @Query(\"SELECT * FROM Movie WHERE id=:id and disabled=0\")\n    Movie byId(int id);\n\n    @Query(\"SELECT * FROM Movie WHERE id=:id and disabled=0\")\n    List<Movie> getAllById(int id);\n\n    @Query(\"SELECT * FROM Movie WHERE id=:id and disabled=0 ORDER BY size DESC limit 1 \")\n    Movie byIdLargest(int id);\n\n    @Query(\"SELECT * FROM Movie WHERE (fileName LIKE '%' || :string || '%' OR title like '%' || :string || '%' OR urlString like '%' || :string || '%' or overview like '%' || :string || '%') and disabled=0\")\n    List<Movie> getSearchQuery(String string);\n\n    @Query(\"SELECT * FROM Movie WHERE fileName LIKE :fileName and disabled=0\")\n    Movie getByFileName(String fileName);\n\n    @Query(\"SELECT * FROM Movie WHERE poster_path IS NOT NULL and disabled=0 and vote_count>5000 Group by title ORDER BY vote_average DESC Limit 10 \")\n    List<Movie> getTopRated();\n\n    @Query(\"SELECT * from Movie  WHERE backdrop_path IS NOT NULL and disabled=0 Group by title ORDER BY modifiedTime DESC Limit 10\")\n    List<Movie> getrecentlyadded();\n\n    @Query(\"SELECT * FROM Movie WHERE poster_path IS NOT NULL and disabled=0 Group by title ORDER BY release_date DESC Limit 10\")\n    List<Movie> getrecentreleases();\n\n    @Insert\n    void insert(Movie... movies);\n\n    @Delete\n    void delete(Movie movie);\n\n    @Query(\"Delete from Movie where index_id = :index_id\")\n    void deleteAllFromthisIndex(int index_id);\n\n    @Query(\"SELECT * FROM Movie WHERE Played = 1 and title is not null group by title and disabled=0\")\n    List<Movie> getPlayed();\n\n    @Query(\"Update Movie set played = 1 where id =:id and disabled=0\")\n    void updatePlayed(int id);\n\n    @Query(\"SELECT * FROM Movie WHERE title is NULL and disabled=0\")\n    List<Movie> getFilesWithNoTitle();\n\n    @Query(\"SELECT * FROM Movie WHERE fileName LIKE :fileName and disabled=0\")\n    List<Movie> getAllByFileName(String fileName);\n\n\n    @Query(\"SELECT COUNT (fileName) FROM Movie WHERE index_id =:index_id AND TITLE IS NOT NULL\")\n    int getNoOfMovies(int index_id);\n\n    @Query(\"UPDATE Movie set disabled=1 WHERE index_id=:index_id \")\n    void disableFromThisIndex(int index_id);\n\n    @Query(\"Update movie set disabled = 0 where index_id=:index_id\")\n    void enableFromThisIndex(int index_id);\n\n    @Query(\"SELECT * FROM Movie WHERE gd_id =:gd_id\")\n    Movie getByGdId(String gd_id);\n\n    @Query(\"DELETE FROM Movie WHERE gd_id =:id\")\n    void deleteByGdId(String id);\n\n    @Query(\"UPDATE Movie SET addToList=1 WHERE id=:movieId\")\n    void updateAddToList(int movieId);\n\n    @Query(\"SELECT * FROM Movie WHERE addToList=1 and disabled=0\")\n    List<Movie> getWatchlisted();\n\n    @Query(\"UPDATE Movie SET addToList=0 WHERE id=:movieId\")\n    void updateRemoveFromList(int movieId);\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/ResFormatDao.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport androidx.room.Dao;\nimport androidx.room.Delete;\nimport androidx.room.Insert;\nimport androidx.room.Query;\n\nimport com.theflexproject.thunder.model.ResFormat;\n\nimport java.util.List;\n\n@Dao\npublic interface ResFormatDao {\n    @Query(\"SELECT * FROM ResFormat\")\n    List<ResFormat> getAll();\n\n    @Insert\n    void insert(ResFormat... resFormats);\n\n    @Delete\n    void delete(ResFormat resFormat);\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/TVShowDao.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport androidx.room.Dao;\nimport androidx.room.Delete;\nimport androidx.room.Insert;\nimport androidx.room.Query;\n\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\n\nimport java.util.List;\n\n@Dao\npublic interface TVShowDao {\n    @Query(\"SELECT  * FROM TVShow\")\n    List<TVShow> getAll();\n\n    @Query(\"SELECT Distinct * FROM TVShow\")\n    List<TVShow> getAllByTitles();\n\n    @Query(\"SELECT * FROM TVShow WHERE TVShow.name LIKE '%' || :string || '%' OR TVShow.overview like '%' || :string || '%' \")\n    List<TVShow> getSearchQuery(String string);\n\n    @Query(\"SELECT * FROM TVShow WHERE id LIKE :id\")\n    TVShow find(long id);\n\n    @Query(\"SELECT * FROM TVShow WHERE name LIKE :name\")\n    TVShow getByShowName(String name);\n\n    @Query(\"SELECT * FROM TVShow order by last_air_date desc limit 10\")\n    List<TVShow> getNewShows();\n\n    @Query(\"SELECT * FROM TVShow order by vote_average desc limit 10\")\n    List<TVShow> getTopRated();\n\n    @Query(\"Delete FROM TVShow WHERE id = :show_id\")\n    void deleteById(int show_id);\n\n    @Insert\n    void insert(TVShow... tvShows);\n\n    @Delete\n    void delete(TVShow tvShow);\n\n\n    @Query(\"select * from TVShow where name like :finalShowName \")\n    TVShow findByName(String finalShowName);\n\n    @Query(\"UPDATE TVShow SET addToList=1 WHERE id=:tvId\")\n    void updateAddToList(int tvId);\n\n    @Query(\"select * from TVShow where addToList=1 \")\n    List<TVShow> getWatchlisted();\n\n    @Query(\"UPDATE TVShow SET addToList=0 WHERE id=:tvShowId\")\n    void updateRemoveFromList(int tvShowId);\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/database/TVShowSeasonDetailsDao.java",
    "content": "package com.theflexproject.thunder.database;\n\nimport androidx.room.Dao;\nimport androidx.room.Delete;\nimport androidx.room.Insert;\nimport androidx.room.Query;\n\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\n\nimport java.util.List;\n\n@Dao\npublic interface TVShowSeasonDetailsDao {\n    @Query(\"SELECT * FROM TVShowSeasonDetails\")\n    List<TVShowSeasonDetails> getAll();\n\n    @Insert\n    void insert(TVShowSeasonDetails... movies);\n\n    @Delete\n    void delete(TVShowSeasonDetails movie);\n\n    @Query(\"SELECT * FROM TVShowSeasonDetails WHERE id like :id\")\n    TVShowSeasonDetails find(int id);\n\n    @Query(\"Delete FROM TVShowSeasonDetails WHERE id=:season_id\")\n    void deleteById(int season_id);\n\n    @Query(\"Delete FROM TVShowSeasonDetails WHERE show_id=:show_id\")\n    void deleteByShowId(long show_id);\n\n    @Query(\"SELECT * FROM TVShowSeasonDetails WHERE show_id=:show_id order by season_number\")\n    List<TVShowSeasonDetails> findByShowId(long show_id);\n\n    @Query(\"SELECT * FROM TVShowSeasonDetails WHERE show_id=:tvShowId and season_number=:finalSeasonNumber\")\n    TVShowSeasonDetails findByShowIdAndSeasonNumber(long tvShowId , String finalSeasonNumber);\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/AddNewIndexFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport static com.theflexproject.thunder.utils.SendPostRequest.postRequestGDIndex;\nimport static com.theflexproject.thunder.utils.SendPostRequest.postRequestGoIndex;\nimport static com.theflexproject.thunder.utils.SendPostRequest.postRequestMapleIndex;\nimport static com.theflexproject.thunder.utils.SendPostRequest.postRequestSimpleProgramIndex;\n\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ArrayAdapter;\nimport android.widget.AutoCompleteTextView;\nimport android.widget.Button;\nimport android.widget.EditText;\nimport android.widget.ProgressBar;\nimport android.widget.TextView;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.IndexLink;\n\n\npublic class AddNewIndexFragment extends BaseFragment {\n\n    private EditText indexLinkView;\n    private EditText userNameView;\n    private EditText passWordView;\n    private Button save;\n    private ProgressBar progress_circular;\n    private TextView refreshSuggest;\n\n//    private MaterialButtonToggleGroup toggleIndexTypeGroup;\n//    private MaterialButton toggleIndexTypeButton;\n//\n//    private MaterialButtonToggleGroup toggleFolderTypeGroup;\n//    private MaterialButton toggleFolderTypeButton;\n\n\n    private AutoCompleteTextView actv1;\n    private AutoCompleteTextView actv2;\n\n//    private RadioGroup radioIndexTypeGroup;\n//    private RadioButton radioIndexTypeButton;\n//\n//    private RadioGroup radioFolderTypeGroup;\n//    private RadioButton radioFolderTypeButton;\n\n\n    @Nullable\n    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,\n                             @Nullable Bundle savedInstanceState) {\n\n        return inflater.inflate(R.layout.fragment_add_index, container, false);\n    }\n\n\n    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {\n\n        indexLinkView =view.findViewById(R.id.indexlink);\n        userNameView = view.findViewById(R.id.username);\n        passWordView = view.findViewById(R.id.password);\n        save = view.findViewById(R.id.save);\n        progress_circular = view.findViewById(R.id.progress_circular);\n        refreshSuggest = view.findViewById(R.id.suggestRefresh);\n\n//        toggleIndexTypeGroup = view.findViewById(R.id.index_type_group);\n//        toggleFolderTypeGroup = view.findViewById(R.id.folder_type_group);\n\n\n        actv1 = view.findViewById(R.id.actv);\n        actv2 = view.findViewById(R.id.actv2);\n\n        String[] index_types = mActivity.getResources().getStringArray(R.array.index_types);\n        ArrayAdapter<String> arrayAdapter1 = new ArrayAdapter<>(mActivity , R.layout.item_index_type , index_types);\n        actv1.setAdapter(arrayAdapter1);\n\n\n        String[] folder_types = mActivity.getResources().getStringArray(R.array.folder_types);\n        ArrayAdapter<String> arrayAdapter2 = new ArrayAdapter<>(mActivity , R.layout.item_folder_type , folder_types);\n        actv2.setAdapter(arrayAdapter2);\n\n\n\n\n\n//        radioIndexTypeGroup=(RadioGroup)view.findViewById(R.id.rb_group);\n//        radioFolderTypeGroup=(RadioGroup)view.findViewById(R.id.folderTypeRadioGroup);\n\n        save.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                IndexLink indexLink = new IndexLink();\n                if(indexLinkView.getText().toString().equals(\"\")){\n                    indexLinkView.setError(\"Enter index link\");\n                }else{\n                    indexLink.setLink(indexLinkView.getText().toString());\n                }\n                indexLink.setUsername(userNameView.getText().toString());\n                indexLink.setPassword(passWordView.getText().toString());\n                indexLink.setIndexType(actv1.getText().toString());\n                indexLink.setFolderType(actv2.getText().toString());\n\n\n\n//                int IndexTypeCheckedButtonId = toggleIndexTypeGroup.getCheckedButtonId();\n//                toggleIndexTypeButton  = view.findViewById(IndexTypeCheckedButtonId);\n//                int FolderTypeCheckedButtonId = toggleFolderTypeGroup.getCheckedButtonId();\n//                toggleFolderTypeButton = view.findViewById(FolderTypeCheckedButtonId);\n\n//                int indexTypeButtonSelectedId=radioIndexTypeGroup.getCheckedRadioButtonId();\n//                int folderTypeButtonSelectedId=radioFolderTypeGroup.getCheckedRadioButtonId();\n//                radioIndexTypeButton= mActivity.findViewById(indexTypeButtonSelectedId);\n//                radioFolderTypeButton= mActivity.findViewById(folderTypeButtonSelectedId);\n\n\n                try{\n                    if(indexLink.getLink().length()<1){\n                       indexLinkView.setError(\"Invalid Link\");\n                    }\n//                    if(toggleIndexTypeButton == null || toggleFolderTypeButton == null){\n//                    refreshSuggest.setVisibility(View.VISIBLE);\n//                    refreshSuggest.setText(\"Select Index and Folder Type\");\n//                    }\n//                    if(toggleIndexTypeButton != null || toggleFolderTypeButton != null && indexLink.getUsername().length()<1 && indexLink.getPassword().length()<1){\n//                            userNameView.setVisibility(View.GONE);\n//                            passWordView.setVisibility(View.GONE);\n//                        indexLink.setIndexType(toggleIndexTypeButton.getText().toString());\n//                        indexLink.setFolderType(toggleFolderTypeButton.getText().toString());\n//                    }\n\n\n                    Thread thread = new Thread(new Runnable() {\n                        @Override\n                        public void run() {\n                            if(DatabaseClient.getInstance(mActivity).getAppDatabase().indexLinksDao().find(indexLink.getLink())!=null){\n                                //refresh instead\n                                mActivity.runOnUiThread(new Runnable() {\n                                    @Override\n                                    public void run() {\n                                        refreshSuggest.setVisibility(View.VISIBLE);\n                                    }\n                                });\n                            }\n                            else if(indexLink.getLink()!=null) { DatabaseClient.getInstance(mActivity).getAppDatabase().indexLinksDao().insert(indexLink);\n                                mActivity.runOnUiThread(new Runnable() {\n                                    @Override\n                                    public void run() {\n                                        save.setText(\"Adding\");\n                                        progress_circular.setVisibility(View.VISIBLE);\n                                    }\n                                });\n\n\n\n                                String folderType = indexLink.getFolderType();\n                                String indexType = indexLink.getIndexType();\n\n                                String link =indexLink.getLink();\n                                String user =indexLink.getUsername();\n                                String pass =indexLink.getPassword();\n\n                                System.out.println(\"Before setting id\"+ indexLink.getId());\n\n                                IndexLink indexLinkAgain = DatabaseClient.getInstance(mActivity)\n                                        .getAppDatabase()\n                                        .indexLinksDao()\n                                        .find(link);\n\n                                int index_id = indexLinkAgain.getId();\n\n                                System.out.println(\"After setting id\"+ indexLinkAgain.getId());\n\n                                if(folderType.equals(\"Movies\")) {\n                                    if(indexType.equals(\"GDIndex\")) {\n                                        postRequestGDIndex(link,user,pass,false,index_id);\n                                    }\n                                    if(indexType.equals(\"GoIndex\")) {\n                                        postRequestGoIndex(link,user,pass,false,index_id);\n                                    }\n                                    if(indexType.equals(\"Maple\")){\n                                        postRequestMapleIndex(link,user,pass,false,index_id);\n                                    }\n                                    if(indexType.equals(\"SimpleProgram\")){\n                                        postRequestSimpleProgramIndex(link,user,pass,false,index_id);\n                                    }\n                                }\n\n                                if(folderType.equals(\"TVShows\")){\n                                    if(indexType.equals(\"GDIndex\")) {\n                                        postRequestGDIndex(link,user,pass,true,index_id);\n                                    }\n                                    if(indexType.equals(\"GoIndex\")) {\n                                        postRequestGoIndex(link,user,pass,true,index_id);\n                                    }\n                                    if(indexType.equals(\"MapleIndex\")){\n                                        postRequestMapleIndex(link,user,pass,true,index_id);\n                                    }\n                                    if(indexType.equals(\"SimpleProgram\")){\n                                        postRequestSimpleProgramIndex(link,user,pass,true,index_id);\n                                    }\n                                }\n                                mActivity.runOnUiThread(new Runnable() {\n                                    @Override\n                                    public void run() {\n                                        save.setText(\"Done\");\n                                        progress_circular.setVisibility(View.GONE);\n                                    }\n                                });\n                            }\n                        }\n                    });\n                    thread.start();\n                } catch (NullPointerException e) {\n                    e.printStackTrace();\n                }\n\n                if(save.getText().equals(\"Done\")){\n                        mActivity.getSupportFragmentManager().popBackStack();\n                }\n            }\n        });\n    }\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/BaseFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.app.Activity;\nimport android.content.Context;\n\nimport androidx.fragment.app.Fragment;\nimport androidx.fragment.app.FragmentActivity;\n\npublic abstract class BaseFragment extends Fragment {\n\n    protected FragmentActivity mActivity;\n\n    @Override\n    public void onAttach(Context context) {\n        super.onAttach(context);\n\n        if (context instanceof Activity){\n            mActivity = (FragmentActivity) context;\n        }\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/ChangeTMDBFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport static com.theflexproject.thunder.utils.SendGetRequestTMDB.tmdbGetByID;\nimport static com.theflexproject.thunder.utils.StringUtils.tmdbIdExtractor_FromLink;\nimport static com.theflexproject.thunder.utils.StringUtils.tmdbIdExtractor_FromLink_TV;\n\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.Button;\nimport android.widget.EditText;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\n\n\npublic class ChangeTMDBFragment extends BaseFragment {\n\n    MyMedia myMedia;\n\n    EditText tmdbLinkText;\n    Button changeTMDBIdButton;\n    TextView invalidTMDBLink;\n\n    public ChangeTMDBFragment() {\n        // Required empty public constructor\n    }\n\n    public ChangeTMDBFragment(MyMedia myMedia) {\n        this.myMedia=myMedia;\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_change_tmdb , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n\n        tmdbLinkText = view.findViewById(R.id.tmdbLinkText);\n        changeTMDBIdButton = view.findViewById(R.id.changeTMDBIdButton);\n        invalidTMDBLink = view.findViewById(R.id.invalidTMDBLink);\n\n\n        changeTMDBIdButton.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n\n                Thread thread = new Thread(new Runnable() {\n                    @Override\n                    public void run() {\n                        if(tmdbLinkText.getText()!=null){\n\n                            String link = tmdbLinkText.getText().toString();\n                            if(myMedia instanceof Movie){\n                                //send get request tmdb movie\n                                long id = tmdbIdExtractor_FromLink(link);\n\n                                if(id!=0){\n                                    tmdbGetByID(myMedia,id,false);\n                                }\n                                else {\n                                    boolean failed = false;\n                                    try {\n                                        id =Long.parseLong(link);\n                                        tmdbGetByID(myMedia,id,false);\n                                    }catch (Exception e){\n                                        failed = true;\n                                        System.out.println(\"Failed to parse long\"+e);\n                                        mActivity.runOnUiThread(new Runnable() {\n                                            @Override\n                                            public void run() {\n                                                tmdbLinkText.setError(\"Invalid Link\");\n                                            }\n                                        });\n                                    }\n                                }\n                            }\n                            else if(myMedia instanceof TVShow || myMedia instanceof  Episode){\n                                //send get request tmdb tvshow\n                                long id = tmdbIdExtractor_FromLink_TV(link);\n                                if(id!=0){\n                                    tmdbGetByID(myMedia,id,true);\n                                }\n                                else if(link.length()<15){\n                                    try {\n                                        id =Long.parseLong(link);\n                                        tmdbGetByID(myMedia,id,true);\n                                    }catch (Exception e){\n                                        System.out.println(\"Failed to parse long\"+e);\n                                    }\n                                }\n                                else {\n                                    invalidTMDBLink.setVisibility(View.VISIBLE);\n                                }\n\n                            }\n\n                        }\n\n                    }\n                });\n                thread.start();\n\n                Toast.makeText(mActivity,\"Changed\",Toast.LENGTH_LONG).show();\n            }\n        });\n\n\n\n    }\n\n\n\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/CustomFileListDialogFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.app.Activity;\nimport android.content.Context;\nimport android.graphics.Color;\nimport android.graphics.drawable.Drawable;\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.view.ViewOutlineProvider;\nimport android.view.WindowManager;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.fragment.app.DialogFragment;\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.FileItemDialogAdapter;\nimport com.theflexproject.thunder.model.MyMedia;\n\nimport java.util.List;\n\nimport eightbitlab.com.blurview.BlurView;\nimport eightbitlab.com.blurview.RenderScriptBlur;\n\npublic class CustomFileListDialogFragment extends DialogFragment  {\n\n    Context context;\n    RecyclerView fileListInDialog;\n    List<MyMedia> mediaList;\n    FileItemDialogAdapter.OnItemClickListener listener;\n    public OnInputListener mOnInputListener;\n    View source;\n    public CustomFileListDialogFragment(Context context,View source, List<MyMedia> mediaList) {\n    this.context=context;\n    this.mediaList=mediaList;\n    this.source=source;\n    }\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n\n    }\n\n\n//    @SuppressLint(\"RestrictedApi\")\n//    @Override\n//    public void setupDialog(@NonNull Dialog dialog , int style) {\n//        super.setupDialog(dialog , style);\n//\n//        if(getDialog() !=null){\n//            setDialogPosition();\n//        }\n//\n//    }\n\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n//        setDialogPosition();\n        return inflater.inflate(R.layout.fragment_custom_file_list_dialog , container , false);\n    }\n\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n\n        BlurView blurView;\n        ViewGroup rootView;\n        View decorView;\n\n        blurView = view.findViewById(R.id.blurViewDialog);\n        decorView =((Activity)view.getContext()).getWindow().getDecorView();\n        rootView = decorView.findViewById(android.R.id.content);\n        ((Activity) context).getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);\n        ((Activity) context).getWindow().setStatusBarColor(Color.TRANSPARENT);\n        final float radius = 5f;\n        final Drawable windowBackground = ((Activity) context).getWindow().getDecorView().getBackground();\n\n        blurView.setupWith(rootView, new RenderScriptBlur(context))\n                .setFrameClearDrawable(windowBackground)\n                .setBlurRadius(radius);\n        blurView.setOutlineProvider(ViewOutlineProvider.BACKGROUND);\n        blurView.setClipToOutline(true);\n\n\n\n        listener = (view1 , position) -> {\n            mOnInputListener.sendInput(position);\n            System.out.println(\"selected index number\"+position);\n            dismiss();\n        };\n\n        fileListInDialog = view.findViewById(R.id.fileListInDialog);\n        fileListInDialog.setLayoutManager(new LinearLayoutManager(context, LinearLayoutManager.VERTICAL , false));\n        fileListInDialog.setHasFixedSize(true);\n        FileItemDialogAdapter fileItemDialogAdapter = new FileItemDialogAdapter(mediaList,listener);\n        fileListInDialog.setAdapter(fileItemDialogAdapter);\n\n\n\n    }\n\n    @Override public void onAttach(@NonNull Context context)\n    {\n        super.onAttach(context);\n\n        try {\n            mOnInputListener\n                    = (OnInputListener)getActivity();\n        }\n        catch (ClassCastException e) {\n            System.out.println(\"onAttach: ClassCastException: \"\n                    + e.getMessage());\n        }\n    }\n\n//    private void setDialogPosition() {\n//        if (source == null) {\n//            return; // Leave the dialog in default position\n//        }\n//\n//        // Find out location of source component on screen\n//        // see https://stackoverflow.com/a/6798093/56285\n//        int[] location = new int[2];\n//        source.getLocationOnScreen(location);\n//        int sourceX = location[0];\n//        int sourceY = location[1];\n//\n//        Window window =((Activity) getActivity()).getWindow();\n//\n//        // set \"origin\" to top left corner\n//        window.setGravity(Gravity.TOP| Gravity.START);\n//\n//        WindowManager.LayoutParams params = window.getAttributes();\n//\n//        // Just an example; edit to suit your needs.\n//        params.x = sourceX - dpToPx(110); // about half of confirm button size left of source view\n//        params.y = sourceY - dpToPx(80); // above source view\n//\n//        window.setAttributes(params);\n//    }\n//\n//    public int dpToPx(float valueInDp) {\n//        DisplayMetrics metrics = getActivity().getResources().getDisplayMetrics();\n//        return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, valueInDp, metrics);\n//    }\n\n    public interface OnInputListener {\n        void sendInput(int selection);\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/CustomFileSelectionDialog.java",
    "content": "//package com.theflexproject.thunder.fragments;\n//\n//import android.os.Bundle;\n//import android.view.LayoutInflater;\n//import android.view.View;\n//import android.view.ViewGroup;\n//\n//import androidx.annotation.NonNull;\n//import androidx.annotation.Nullable;\n//import androidx.fragment.app.DialogFragment;\n//\n//public class CustomFileSelectionDialog extends  {\n//    @Nullable\n//    @Override\n//    public View onCreateView(@NonNull LayoutInflater inflater , @Nullable ViewGroup container , @Nullable Bundle savedInstanceState) {\n//        return super.onCreateView(inflater, container , savedInstanceState);\n//\n//        initWidgets\n//\n//\n//    }\n//}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/EpisodeDetailsFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport static com.theflexproject.thunder.Constants.TMDB_BACKDROP_IMAGE_BASE_URL;\n\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.SharedPreferences;\nimport android.graphics.Color;\nimport android.graphics.drawable.ColorDrawable;\nimport android.net.Uri;\nimport android.os.Bundle;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ImageButton;\nimport android.widget.ImageView;\nimport android.widget.TableRow;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.bumptech.glide.Glide;\nimport com.bumptech.glide.load.engine.DiskCacheStrategy;\nimport com.bumptech.glide.load.resource.bitmap.RoundedCorners;\nimport com.bumptech.glide.request.RequestOptions;\nimport com.bumptech.glide.request.target.Target;\nimport com.theflexproject.thunder.Constants;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.FileItemAdapter;\nimport com.theflexproject.thunder.adapter.ScaleCenterItemLayoutManager;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\nimport com.theflexproject.thunder.player.PlayerActivity;\nimport com.theflexproject.thunder.utils.StringUtils;\n\nimport java.text.ParseException;\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\nimport java.util.List;\nimport java.util.Locale;\n\n\npublic class EpisodeDetailsFragment extends BaseFragment {\n\n\n    TextView showName;\n    TextView episodeName;\n    ImageView episodeStill;\n    ImageView poster;\n    TextView seasonNumber;\n    TextView runtime;\n    TextView overview;\n    TextView overviewText;\n    ImageView ratings;\n    TextView ratingsText;\n    ImageButton play;\n\n    TableRow air_date;\n    TextView air_date_text;\n\n    ImageView logo;\n    TextView continueWatching;\n    ImageView dot1;\n    ImageView dot2;\n    ImageView dot3;\n    TextView episodeTitle;\n\n    TVShow tvShow;\n    TVShowSeasonDetails tvShowSeasonDetails;\n\n    Episode largestFile;//default episode played on click of Play button\n    Episode episode;\n\n    RecyclerView recyclerViewEpisodeFiles;\n    List<Episode> episodeFileList;\n    FileItemAdapter fileAdapter;\n\n    public EpisodeDetailsFragment() {\n        // Required empty public constructor\n    }\n\n    public EpisodeDetailsFragment(TVShow tvShow , TVShowSeasonDetails tvShowSeasonDetails , Episode episode) {\n        this.tvShow = tvShow;\n        this.tvShowSeasonDetails = tvShowSeasonDetails;\n        this.episode = episode;\n    }\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        return inflater.inflate(R.layout.fragment_episode_details_new , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n\n        initWidgets(view);\n        loadDetails();\n\n        super.onViewCreated(view , savedInstanceState);\n    }\n\n    private void initWidgets(View view) {\n        showName = view.findViewById(R.id.tvShowTitleInEpisodeDetails);\n        logo = view.findViewById(R.id.tvLogoInEp);\n        episodeName = view.findViewById(R.id.episodeNameInEpisodeDetails);\n        poster = view.findViewById(R.id.tvShowPosterInEpisodeDetails);\n        episodeStill = view.findViewById(R.id.stillInEpisodeDetails);\n        seasonNumber = view.findViewById(R.id.seasonNumberInEpisodeDetails);\n        runtime = view.findViewById(R.id.runtimeInEpisodeDetails);\n//        ratings = view.findViewById(R.id.ratingsInEpisodeDetails);\n        ratingsText = view.findViewById(R.id.ratingsTextInEpisodeDetails);\n        overview = view.findViewById(R.id.overviewInEpisodeDetails);\n        overviewText = view.findViewById(R.id.overviewDescInEpisodeDetails);\n\n        air_date = view.findViewById(R.id.episodeAirDate);\n        air_date_text = view.findViewById(R.id.episodeAirDateText);\n\n        continueWatching = view.findViewById(R.id.continueWatchingText);\n        dot1 = view.findViewById(R.id.dot);\n        dot2 = view.findViewById(R.id.dot2);\n        dot3 = view.findViewById(R.id.dot3);\n\n\n        play = view.findViewById(R.id.playInEpisodeDetails);\n\n    }\n\n    private void loadDetails() {\n\n\n        String logoLink = tvShow.getLogo_path();\n        System.out.println(\"Logo Link\"+logoLink);\n\n        if(!logoLink.equals(\"\")){\n            logo.setVisibility(View.VISIBLE);\n            Glide.with(mActivity)\n                    .load(logoLink)\n                    .apply(new RequestOptions()\n                            .fitCenter()\n                            .override(Target.SIZE_ORIGINAL))\n                    .diskCacheStrategy(DiskCacheStrategy.ALL)\n                    .placeholder(new ColorDrawable(Color.TRANSPARENT))\n                    .into(logo);\n        }\n        if(logoLink.equals(\"\")&&tvShow.getName()!=null){\n            showName.setVisibility(View.VISIBLE);\n            showName.setText(tvShow.getName());\n        }\n\n\n        String buttonText = \"S\" + episode.getSeason_number() + \" E\" + episode.getEpisode_number();\n        System.out.println(buttonText);\n        continueWatching.setText(buttonText);\n//                            play.setText(buttonText);\n        if(episode.getName()!=null){\n            dot3.setVisibility(View.VISIBLE);\n            episodeName.setVisibility(View.VISIBLE);\n            episodeName.setText(episode.getName());\n        }\n\n//        if (episode.getName() != null) {\n//            episodeName.setText(episode.getName());\n//        }\n        else {\n            String name = \"Episode\" + episode.getEpisode_number();\n            episodeName.setText(name);\n        }\n        if (episode.getVote_average() > 0) {\n//            ratings.setVisibility(View.VISIBLE);\n            dot1.setVisibility(View.VISIBLE);\n            ratingsText.setVisibility(View.VISIBLE);\n            String rating =(int) (episode.getVote_average() * 10) + \"%\";\n            ratingsText.setText(rating);\n        }\n//        if (tvShowSeasonDetails.getPoster_path() != null) {\n//            Glide.with(mActivity)\n//                    .load(TMDB_IMAGE_BASE_URL + tvShowSeasonDetails.getPoster_path())\n//                    .placeholder(new ColorDrawable(Color.BLACK))\n//                    .into(poster);\n//        } else {\n//            if (tvShow.getPoster_path() != null) {\n//                Glide.with(mActivity)\n//                        .load(TMDB_IMAGE_BASE_URL + tvShow.getPoster_path())\n//                        .placeholder(new ColorDrawable(Color.BLACK))\n//                        .into(poster);\n//            }\n//        }\n        if (episode.getStill_path() != null) {\n            Glide.with(mActivity.getApplicationContext())\n                    .load(Constants.TMDB_BACKDROP_IMAGE_BASE_URL + episode.getStill_path())\n                    .placeholder(new ColorDrawable(Color.BLACK))\n                    .apply(RequestOptions.bitmapTransform(new RoundedCorners(14)))\n                    .into(episodeStill);\n        } else {\n            if (tvShow.getPoster_path() != null) {\n                Glide.with(mActivity)\n                        .load(TMDB_BACKDROP_IMAGE_BASE_URL + tvShow.getPoster_path())\n                        .placeholder(new ColorDrawable(Color.BLACK))\n                        .into(episodeStill);\n            }\n        }\n        if (episode.getOverview() != null) {\n//            overview.setVisibility(View.VISIBLE);\n            overviewText.setVisibility(View.VISIBLE);\n            overviewText.setText(episode.getOverview());\n        }\n        if (episode.getAir_date() != null) {\n            air_date.setVisibility(View.VISIBLE);\n            try {\n                SimpleDateFormat formatter = new SimpleDateFormat(\"yyyy-MM-dd\" , Locale.ENGLISH);\n                Date date = formatter.parse(episode.getAir_date());\n                SimpleDateFormat formatter2 = new SimpleDateFormat(\"MMMM dd , yyyy\", Locale.ENGLISH);\n                String strDate = formatter2.format(date);\n                air_date_text.setText(strDate);\n            } catch (ParseException e) {\n                System.out.println(\"parse Exception Date\"+e);\n            }\n        }\n        if (episode.getRuntime() != 0) {\n            String result = StringUtils.runtimeIntegerToString(episode.getRuntime());\n            runtime.setVisibility(View.VISIBLE);\n            runtime.setText(result);\n        }\n        if (!(tvShowSeasonDetails.getSeason_number() < 0)) {\n            String season = \"Season \" + tvShowSeasonDetails.getSeason_number();\n            seasonNumber.setText(season);\n        }\n        loadEpisodeFilesRecycler();\n\n    }\n\n    private void loadEpisodeFilesRecycler() {\n        setOnClickListner();\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                Log.i(\" \" , \"in thread\");\n                episodeFileList = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .episodeDao()\n                        .byEpisodeId(episode.getId());\n                mActivity.runOnUiThread(new Runnable() {\n                    @Override\n                    public void run() {\n                        Log.i(\"episodeFileList\" , episodeFileList.toString());\n                        recyclerViewEpisodeFiles = mActivity.findViewById(R.id.recyclerAvailableEpisodeFiles);\n                        ScaleCenterItemLayoutManager linearLayoutManager = new ScaleCenterItemLayoutManager(getContext() , LinearLayoutManager.VERTICAL , false);\n//                        recyclerView.setLayoutManager(new LinearLayoutManager(getContext(),RecyclerView.HORIZONTAL,false));\n                        recyclerViewEpisodeFiles.setLayoutManager(linearLayoutManager);\n                        recyclerViewEpisodeFiles.setHasFixedSize(true);\n                        fileAdapter = new FileItemAdapter(getContext() ,(List<MyMedia>)(List<?>) episodeFileList);\n                        recyclerViewEpisodeFiles.setAdapter(fileAdapter);\n                        fileAdapter.notifyDataSetChanged();\n                    }\n                });\n            }\n        });\n        thread.start();\n    }\n\n\n    private void setOnClickListner() {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                largestFile = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .episodeDao()\n                        .byEpisodeIdLargest(episode.getId());\n            }\n        });\n        thread.start();\n\n        SharedPreferences sharedPreferences = mActivity.getSharedPreferences(\"Settings\" , Context.MODE_PRIVATE);\n        boolean savedEXT = sharedPreferences.getBoolean(\"EXTERNAL_SETTING\" , false);\n\n        play.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                if (savedEXT) {\n                    //External Player\n                    addToLastPlayed();\n                    Intent intent = new Intent(Intent.ACTION_VIEW , Uri.parse(largestFile.getUrlString()));\n                    intent.setDataAndType(Uri.parse(largestFile.getUrlString()) , \"video/*\");\n                    startActivity(intent);\n                } else {\n                    //Play video\n                    addToLastPlayed();\n                    Intent in = new Intent(getActivity() , PlayerActivity.class);\n                    in.putExtra(\"url\" , largestFile.getUrlString());\n                    startActivity(in);\n                    Toast.makeText(getContext() , \"Play\" , Toast.LENGTH_LONG).show();\n                }\n            }\n        });\n\n    }\n\n    private void addToLastPlayed() {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                DatabaseClient.getInstance(getContext()).getAppDatabase().episodeDao().updatePlayed(episode.getId());\n            }\n        });\n        thread.start();\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/FilesLibraryFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.os.Bundle;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.FileItemAdapter;\nimport com.theflexproject.thunder.adapter.ScaleCenterItemLayoutManager;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\n\nimport java.util.List;\n\n\npublic class FilesLibraryFragment extends BaseFragment {\n\n    RecyclerView recyclerViewFiles;\n    FileItemAdapter fileItemAdapter;\n    List<MyMedia> files;\n    List<Movie> movieList;\n\n    public FilesLibraryFragment() {\n        // Required empty public constructor\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_files_library , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n        showFileLibrary();\n    }\n\n    private void showFileLibrary() {\n\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                Log.i(\" \" , \"in thread\");\n                movieList = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .movieDao()\n                        .getFilesWithNoTitle();\n                showRecyclerFiles(movieList);\n            }\n        });\n        thread.start();\n\n\n\n    }\n\n    private void showRecyclerFiles(List<Movie> movieList) {\n        mActivity.runOnUiThread(() -> {\n            recyclerViewFiles = mActivity.findViewById(R.id.recyclerAvailableFiles);\n            if(recyclerViewFiles!=null){\n                ScaleCenterItemLayoutManager linearLayoutManager = new ScaleCenterItemLayoutManager(mActivity, LinearLayoutManager.VERTICAL , false);\n                recyclerViewFiles.setLayoutManager(linearLayoutManager);\n                recyclerViewFiles.setHasFixedSize(true);\n                fileItemAdapter = new FileItemAdapter(mActivity ,(List<MyMedia>)(List<?>) movieList);\n                recyclerViewFiles.setAdapter(fileItemAdapter);\n                fileItemAdapter.notifyDataSetChanged();\n            }\n        });\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/HomeFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.TextView;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.BannerRecyclerAdapter;\nimport com.theflexproject.thunder.adapter.MediaAdapter;\nimport com.theflexproject.thunder.adapter.ScaleCenterItemLayoutManager;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\n\npublic class HomeFragment extends BaseFragment {\n\n    BannerRecyclerAdapter recentlyAddedRecyclerAdapter;\n    MediaAdapter recentlyReleasedRecyclerViewAdapter;\n    MediaAdapter topRatedMoviesRecyclerViewAdapter;\n    MediaAdapter lastPlayedMoviesRecyclerViewAdapter;\n    MediaAdapter watchlistRecyclerViewAdapter;\n\n    MediaAdapter topRatedShowsRecyclerAdapter;\n    MediaAdapter newSeasonRecyclerAdapter;\n\n\n\n    TextView recentlyAddedRecyclerViewTitle;\n    RecyclerView recentlyAddedRecyclerView;\n\n    TextView recentlyReleasedRecyclerViewTitle;\n    RecyclerView recentlyReleasedRecyclerView;\n\n    TextView topRatedMoviesRecyclerViewTitle;\n    RecyclerView topRatedMoviesRecyclerView;\n\n    TextView lastPlayedMoviesRecyclerViewTitle;\n    RecyclerView lastPlayedMoviesRecyclerView;\n\n    TextView watchlistRecyclerViewTitle;\n    RecyclerView watchlistRecyclerView;\n\n    TextView topRatedShowsRecyclerViewTitle;\n    RecyclerView topRatedShowsRecyclerView;\n\n    TextView newSeasonRecyclerViewTitle;\n    RecyclerView newSeasonRecyclerView;\n\n    List<Movie> recentlyAddedMovies;\n    List<Movie> recentlyReleasedMovies;\n    List<Movie> topRatedMovies;\n    List<Movie> lastPlayedList;\n    List<MyMedia> watchlist;\n    List<TVShow> newSeason;\n    List<TVShow> topRatedShows;\n\n    BannerRecyclerAdapter.OnItemClickListener recentlyAddedListener;\n    MediaAdapter.OnItemClickListener recentlyReleasedListener;\n    MediaAdapter.OnItemClickListener topRatedMoviesListener;\n    MediaAdapter.OnItemClickListener lastPlayedListener;\n    MediaAdapter.OnItemClickListener watchlistListener;\n    MediaAdapter.OnItemClickListener topRatedShowsListener;\n    MediaAdapter.OnItemClickListener newSeasonListener;\n\n//    List<PairMovies> pairMoviesList;\n//    List<PairTvShows> pairTvShowsList;\n\n    public HomeFragment() {\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        return inflater.inflate(R.layout.fragment_home, container, false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view, savedInstanceState);\n\n\n        loadRecentlyAddedMovies();\n        loadRecentlyReleasedMovies();\n        loadTopRatedMovies();\n        loadLastPlayedMovies();\n        loadWatchlist();\n        loadNewSeason();\n        loadTopRatedShows();\n        setOnClickListner();\n\n\n//        getLists();\n//        loadRecyclerViews();\n\n    }\n\n    private void loadWatchlist() {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                List<Movie> watchlistMovies = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .movieDao()\n                        .getWatchlisted();\n\n                List<TVShow> watchlistShows = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .tvShowDao()\n                        .getWatchlisted();\n\n                watchlist = new ArrayList<>();\n                watchlist.addAll(watchlistMovies);\n                watchlist.addAll(watchlistShows);\n                if(watchlist!=null && watchlist.size()>0){\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n                            ScaleCenterItemLayoutManager linearLayoutManager3 = new ScaleCenterItemLayoutManager(getContext() , LinearLayoutManager.HORIZONTAL , false);\n                            watchlistRecyclerViewTitle = mActivity.findViewById(R.id.watchListMedia);\n                            watchlistRecyclerViewTitle.setVisibility(View.VISIBLE);\n                            watchlistRecyclerView = mActivity.findViewById(R.id.watchListMediaRecycler);\n                            watchlistRecyclerView.setVisibility(View.VISIBLE);\n                            watchlistRecyclerView.setLayoutManager(linearLayoutManager3);\n                            watchlistRecyclerView.setHasFixedSize(true);\n                            watchlistRecyclerViewAdapter = new MediaAdapter(getContext() ,(List<MyMedia>)(List<?>) watchlist , watchlistListener);\n                            watchlistRecyclerView.setAdapter(watchlistRecyclerViewAdapter);\n                        }\n                    });\n\n                }\n            }});\n        thread.start();\n    }\n\n    private void  loadRecentlyAddedMovies() {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                recentlyAddedMovies = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .movieDao()\n                        .getrecentlyadded();\n                if(recentlyAddedMovies!=null && recentlyAddedMovies.size()>0){\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n                            recentlyAddedRecyclerViewTitle = mActivity.findViewById(R.id.recentlyAdded);\n                            recentlyAddedRecyclerViewTitle.setVisibility(View.VISIBLE);\n                            recentlyAddedRecyclerView = mActivity.findViewById(R.id.recentlyAddedRecycler);\n                            recentlyAddedRecyclerView.setLayoutManager(new ScaleCenterItemLayoutManager(getContext() , RecyclerView.HORIZONTAL , false));\n                            recentlyAddedRecyclerView.setHasFixedSize(true);\n                            recentlyAddedRecyclerAdapter = new BannerRecyclerAdapter(getContext(), recentlyAddedMovies , recentlyAddedListener);\n                            recentlyAddedRecyclerView.setAdapter(recentlyAddedRecyclerAdapter);\n                        }\n                    });\n                }\n            }});\n        thread.start();\n\n    }\n\n    private void loadRecentlyReleasedMovies () {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                recentlyReleasedMovies  = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .movieDao()\n                        .getrecentreleases();\n                if(recentlyReleasedMovies!=null && recentlyReleasedMovies.size()>0){\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n                            ScaleCenterItemLayoutManager linearLayoutManager1 = new ScaleCenterItemLayoutManager(getContext() , LinearLayoutManager.HORIZONTAL , false);\n                            recentlyReleasedRecyclerViewTitle = mActivity.findViewById(R.id.newReleasesMovies);\n                            recentlyReleasedRecyclerViewTitle.setVisibility(View.VISIBLE);\n                            recentlyReleasedRecyclerView = mActivity.findViewById(R.id.recentlyReleasedMoviesRecycler);\n                            recentlyReleasedRecyclerView.setLayoutManager(linearLayoutManager1);\n                            recentlyReleasedRecyclerView.setHasFixedSize(true);\n                            recentlyReleasedRecyclerViewAdapter = new MediaAdapter(getContext(),(List<MyMedia>)(List<?>) recentlyReleasedMovies, recentlyReleasedListener);\n                            recentlyReleasedRecyclerView.setAdapter(recentlyReleasedRecyclerViewAdapter);\n                        }\n                    });\n\n                }\n            }});\n        thread.start();\n    }\n\n    private void loadTopRatedMovies() {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                topRatedMovies = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .movieDao()\n                        .getTopRated();\n                if(topRatedMovies!=null && topRatedMovies.size()>0){\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n                            ScaleCenterItemLayoutManager linearLayoutManager2 = new ScaleCenterItemLayoutManager(getContext() , LinearLayoutManager.HORIZONTAL , false);\n                            topRatedMoviesRecyclerViewTitle = mActivity.findViewById(R.id.topRatedMovies);\n                            topRatedMoviesRecyclerViewTitle.setVisibility(View.VISIBLE);\n                            topRatedMoviesRecyclerView = mActivity.findViewById(R.id.topRatedMoviesRecycler);\n                            topRatedMoviesRecyclerView.setLayoutManager(linearLayoutManager2);\n                            topRatedMoviesRecyclerView.setHasFixedSize(true);\n                            topRatedMoviesRecyclerViewAdapter = new MediaAdapter(getContext() ,(List<MyMedia>)(List<?>) topRatedMovies , topRatedMoviesListener);\n                            topRatedMoviesRecyclerView.setAdapter(topRatedMoviesRecyclerViewAdapter);\n                        }\n                    });\n                }\n            }});\n        thread.start();\n    }\n\n    private void loadLastPlayedMovies() {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                lastPlayedList = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .movieDao()\n                        .getPlayed();\n\n                if(lastPlayedList!=null && lastPlayedList.size()>0){\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n                            ScaleCenterItemLayoutManager linearLayoutManager3 = new ScaleCenterItemLayoutManager(getContext() , LinearLayoutManager.HORIZONTAL , false);\n                            lastPlayedMoviesRecyclerViewTitle = mActivity.findViewById(R.id.lastPlayedMovies);\n                            lastPlayedMoviesRecyclerViewTitle.setVisibility(View.VISIBLE);\n                            lastPlayedMoviesRecyclerView = mActivity.findViewById(R.id.lastPlayedMoviesRecycler);\n                            lastPlayedMoviesRecyclerView.setVisibility(View.VISIBLE);\n                            lastPlayedMoviesRecyclerView.setLayoutManager(linearLayoutManager3);\n                            lastPlayedMoviesRecyclerView.setHasFixedSize(true);\n                            lastPlayedMoviesRecyclerViewAdapter = new MediaAdapter(getContext() ,(List<MyMedia>)(List<?>) lastPlayedList , lastPlayedListener);\n                            lastPlayedMoviesRecyclerView.setAdapter(lastPlayedMoviesRecyclerViewAdapter);\n                        }\n                    });\n\n                }\n            }});\n        thread.start();\n    }\n\n    private void loadNewSeason(){\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                newSeason = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .tvShowDao()\n                        .getNewShows();\n                if(newSeason!=null && newSeason.size()>0){\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n                            ScaleCenterItemLayoutManager linearLayoutManager3 = new ScaleCenterItemLayoutManager(getContext() , LinearLayoutManager.HORIZONTAL , false);\n                            newSeasonRecyclerViewTitle = mActivity.findViewById(R.id.newSeason);\n                            newSeasonRecyclerViewTitle.setVisibility(View.VISIBLE);\n                            newSeasonRecyclerView = mActivity.findViewById(R.id.newSeasonRecycler);\n                            newSeasonRecyclerView.setVisibility(View.VISIBLE);\n                            newSeasonRecyclerView = mActivity.findViewById(R.id.newSeasonRecycler);\n                            newSeasonRecyclerView.setLayoutManager(linearLayoutManager3);\n                            newSeasonRecyclerView.setHasFixedSize(true);\n                            newSeasonRecyclerAdapter = new MediaAdapter(getContext() ,(List<MyMedia>)(List<?>) newSeason , newSeasonListener);\n                            newSeasonRecyclerView.setAdapter(newSeasonRecyclerAdapter);\n                        }\n                    });\n                }\n            }});\n        thread.start();\n    }\n\n    private void loadTopRatedShows(){\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                topRatedShows = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .tvShowDao()\n                        .getTopRated();\n                if(topRatedShows!=null && topRatedShows.size()>0){\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n                            ScaleCenterItemLayoutManager linearLayoutManager3 = new ScaleCenterItemLayoutManager(getContext() , LinearLayoutManager.HORIZONTAL , false);\n                            topRatedShowsRecyclerViewTitle = mActivity.findViewById(R.id.topRatedTVShows);\n                            topRatedShowsRecyclerViewTitle.setVisibility(View.VISIBLE);\n                            topRatedShowsRecyclerView = mActivity.findViewById(R.id.topRatedTVShowsRecycler);\n                            topRatedShowsRecyclerView.setLayoutManager(linearLayoutManager3);\n                            topRatedShowsRecyclerView.setHasFixedSize(true);\n                            topRatedShowsRecyclerAdapter = new MediaAdapter(getContext() , (List<MyMedia>)(List<?>) topRatedShows , topRatedShowsListener);\n                            topRatedShowsRecyclerView.setAdapter(topRatedShowsRecyclerAdapter);\n                        }\n                    });\n                }\n            }});\n        thread.start();\n    }\n\n\n\n    private void setOnClickListner() {\n        recentlyAddedListener = new BannerRecyclerAdapter.OnItemClickListener() {\n            @Override\n            public void onClick(View view, int position) {\n                MovieDetailsFragment movieDetailsFragment = new MovieDetailsFragment(recentlyAddedMovies.get(position).getId());\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,movieDetailsFragment).addToBackStack(null).commit();\n            }\n        };\n        recentlyReleasedListener = new MediaAdapter.OnItemClickListener() {\n            @Override\n            public void onClick(View view, int position) {\n                MovieDetailsFragment movieDetailsFragment = new MovieDetailsFragment(recentlyReleasedMovies.get(position).getId());\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,movieDetailsFragment).addToBackStack(null).commit();\n\n            }\n        };\n        topRatedMoviesListener = new MediaAdapter.OnItemClickListener() {\n            @Override\n            public void onClick(View view, int position) {\n                MovieDetailsFragment movieDetailsFragment = new MovieDetailsFragment(topRatedMovies.get(position).getId());\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,movieDetailsFragment).addToBackStack(null).commit();\n            }\n        };\n        lastPlayedListener = new MediaAdapter.OnItemClickListener() {\n            @Override\n            public void onClick(View view, int position) {\n                MovieDetailsFragment movieDetailsFragment = new MovieDetailsFragment(lastPlayedList.get(position).getId());\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,movieDetailsFragment).addToBackStack(null).commit();\n            }\n        };\n\n        watchlistListener = new MediaAdapter.OnItemClickListener() {\n            @Override\n            public void onClick(View view , int position) {\n                int id =0;\n                if(watchlist.get(position) instanceof Movie){\n                    id = ((Movie) watchlist.get(position)).getId();\n                    MovieDetailsFragment movieDetailsFragment = new MovieDetailsFragment(id);\n                    mActivity.getSupportFragmentManager().beginTransaction()\n                            .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                            .add(R.id.container,movieDetailsFragment).addToBackStack(null).commit();\n                }else{\n                    id = ((TVShow)(watchlist.get(position))).getId();\n                    TvShowDetailsFragment tvShowDetailsFragment = new TvShowDetailsFragment(id);\n                    mActivity.getSupportFragmentManager().beginTransaction()\n                            .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                            .add(R.id.container,tvShowDetailsFragment).addToBackStack(null).commit();\n                }\n\n            }\n        };\n\n        newSeasonListener = new MediaAdapter.OnItemClickListener() {\n            @Override\n            public void onClick(View view, int position) {\n                TvShowDetailsFragment tvShowDetailsFragment = new TvShowDetailsFragment(newSeason.get(position).getId());\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,tvShowDetailsFragment).addToBackStack(null).commit();\n            }\n        };\n        topRatedShowsListener = new MediaAdapter.OnItemClickListener() {\n            @Override\n            public void onClick(View view, int position) {\n                TvShowDetailsFragment tvShowDetailsFragment = new TvShowDetailsFragment(topRatedShows.get(position).getId());\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,tvShowDetailsFragment).addToBackStack(null).commit();\n            }\n        };\n    }\n\n//    private void loadRecentlyAdded(){\n////        setOnClickListner();\n//        //                pairMoviesList = new ArrayList<>();\n////                pairMoviesList.add(new PairMovies(\"RecentlyAdded\",recentlyAddedList));\n////                pairMoviesList.add(new PairMovies(\"NewReleases\",newmediaList));\n////                pairMoviesList.add(new PairMovies(\"TopRated\",topRatedList));\n////                pairMoviesList.add(new PairMovies(\"RecentlyPlayed\",lastPlayedList));\n////\n////\n////\n////                pairTvShowsList= new ArrayList<>();\n////                pairTvShowsList.add(new PairTvShows(\"NewShows\",newShows));\n////                pairTvShowsList.add(new PairTvShows(\"TopRated\",topRatedShows));\n////\n////\n////                List<Pair> items = new ArrayList<>();\n////                items.addAll(pairMoviesList);\n////                int cutListIndex = items.size();\n////                items.addAll(pairTvShowsList);\n////\n////                mActivity.runOnUiThread(new Runnable() {\n////                    @Override\n////                    public void run() {\n////                recyclerView = mActivity.findViewById(R.id.nestedRecycler);\n////                recyclerView.setLayoutManager(new LinearLayoutManager(getContext(),RecyclerView.VERTICAL,false));\n////                recyclerView.setHasFixedSize(true);\n////                HomeItemAdapter homeItemAdapter = new HomeItemAdapter(getContext(),items,cutListIndex);\n////                recyclerView.setAdapter(homeItemAdapter);\n////                homeItemAdapter.notifyDataSetChanged();\n////                    }\n////                });\n//    }\n//    private void loadRecyclerViews(){}\n//    private void getLists(){\n//        Thread thread = new Thread(new Runnable() {\n//            @Override\n//            public void run() {\n////                recentlyAddedMovies = DatabaseClient\n////                        .getInstance(mActivity)\n////                        .getAppDatabase()\n////                        .movieDao()\n////                        .getrecentlyadded();\n////\n////                recentlyReleasedMovies  = DatabaseClient\n////                        .getInstance(mActivity)\n////                        .getAppDatabase()\n////                        .movieDao()\n////                        .getrecentreleases();\n////\n////                topRatedMovies = DatabaseClient\n////                        .getInstance(mActivity)\n////                        .getAppDatabase()\n////                        .movieDao()\n////                        .getTopRated();\n////\n////                lastPlayedList = DatabaseClient\n////                        .getInstance(mActivity)\n////                        .getAppDatabase()\n////                        .movieDao()\n////                        .getPlayed();\n//\n////                newSeason = DatabaseClient\n////                        .getInstance(mActivity)\n////                        .getAppDatabase()\n////                        .tvShowDao()\n////                        .getNewShows();\n////\n////                topRatedShows = DatabaseClient\n////                        .getInstance(mActivity)\n////                        .getAppDatabase()\n////                        .tvShowDao()\n////                        .getTopRated();\n//            }});\n//        thread.start();\n//    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/LibraryFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ArrayAdapter;\nimport android.widget.AutoCompleteTextView;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.viewpager2.widget.ViewPager2;\n\nimport com.google.android.material.tabs.TabItem;\nimport com.google.android.material.tabs.TabLayout;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.FragmentViewPagerAdapter;\n\npublic class LibraryFragment extends BaseFragment {\n\n\n\n\n    AutoCompleteTextView autoCompleteTextView;\n    String[] sort_methods;\n    ArrayAdapter<String> arrayAdapter;\n\n    TabLayout tabLayout ;\n    TabItem moviesTab;\n    TabItem tvTab;\n    TabItem filesTab;\n    ViewPager2 viewPagerLibrary;\n    FragmentViewPagerAdapter fragmentViewPagerAdapter;\n\n    public LibraryFragment() {\n        // Required empty public constructor\n    }\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        return inflater.inflate(R.layout.fragment_library, container, false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view, savedInstanceState);\n        initWidgets();\n        tabLayout = mActivity.findViewById(R.id.tabLayout);\n        moviesTab = mActivity.findViewById(R.id.movieTab);\n        tvTab = mActivity.findViewById(R.id.tvTab);\n        filesTab = mActivity.findViewById(R.id.filesTab);\n//        tabLayout.addTab(moviesTab);\n//        tabLayout.addTab(tvTab);\n//        tabLayout.addTab(tabLayout.newTab().setText(\"Movies\"));\n//        tabLayout.addTab(tabLayout.newTab().setText(\"TV Shows\"));\n        tabLayout.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() {\n            @Override\n            public void onTabSelected(TabLayout.Tab tab) {\n                viewPagerLibrary.setCurrentItem(tab.getPosition());\n            }\n\n            @Override\n            public void onTabUnselected(TabLayout.Tab tab) {\n\n            }\n\n            @Override\n            public void onTabReselected(TabLayout.Tab tab) {\n\n            }\n        });\n        viewPagerLibrary.registerOnPageChangeCallback(new ViewPager2.OnPageChangeCallback() {\n            @Override\n            public void onPageSelected(int position) {\n                tabLayout.selectTab(tabLayout.getTabAt(position));\n            }\n        });\n\n    }\n\n    private void initWidgets() {\n\n//        sort_methods = mActivity.getResources().getStringArray(R.array.sort_methods);\n//        arrayAdapter = new ArrayAdapter<>(mActivity,R.layout.dropdown_item,sort_methods);\n//        autoCompleteTextView = mActivity.findViewById(R.id.AutoCompleteTextview);\n//        autoCompleteTextView.setAdapter(arrayAdapter);\n\n        tabLayout = mActivity.findViewById(R.id.tabLayout);\n        viewPagerLibrary = mActivity.findViewById(R.id.viewPagerLibrary);\n        fragmentViewPagerAdapter = new FragmentViewPagerAdapter(this);\n        viewPagerLibrary.setSaveEnabled(false);\n        viewPagerLibrary.setAdapter(fragmentViewPagerAdapter);\n\n\n    }\n\n\n\n\n\n\n\n//\n//        Thread threadmediaList = new Thread(new Runnable() {\n//            @Override\n//            public void run() {\n//                autoCompleteTextView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n//                    @Override\n//                    public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n////                        String methodChosen = autoCompleteTextView.getText().toString();\n////                        Log.i(\"Method\",methodChosen);\n////                        switch(methodChosen){\n////                            case \"FileName\":\n////                                sortName();\n////                            case \"ReleaseDate\":\n////                                sortReleaseDate();\n////                            case \"Size\":\n////                                sortSize();\n////                            case \"TimeModified\":\n////                                sortTimeModified();\n////                            case \"IndexLink\":\n////                                sortIndexLink();\n////                            case \"Title\":\n////                                sortTitle();\n////                        }\n////\n////                        Toast.makeText(mActivity.getApplicationContext(), \"\" + autoCompleteTextView.getText().toString(), Toast.LENGTH_SHORT).show();\n//                    }\n//                });\n//\n//            }\n//        });\n//        threadmediaList.setPriority(10);\n//        threadmediaList.start();\n\n//    void sortName(){\n//        setOnClickListner(); /**set this every time*/\n//        Executors.newSingleThreadExecutor().execute(new Runnable() {\n//            @Override\n//            public void run() {\n//                String methodChosen = autoCompleteTextView.getText().toString().trim();\n//                Log.i(\"Method\",methodChosen);\n//                newmediaList = DatabaseClient\n//                        .getInstance(mActivity)\n//                        .getAppDatabase()\n//                        .fileDao()\n//                        .sortByFileName();\n//                showRecycler(newmediaList);\n//            }\n//        });\n//\n//\n//    }\n\n//    void sortReleaseDate(){\n//        Executors.newSingleThreadExecutor().execute(new Runnable() {\n//            @Override\n//            public void run() {\n//                String methodChosen = autoCompleteTextView.getText().toString().trim();\n//                Log.i(\"inside sort function\",methodChosen);\n//                newmediaList = DatabaseClient\n//                        .getInstance(mActivity)\n//                        .getAppDatabase()\n//                        .fileDao()\n//                        .sortByRelease();\n//                Log.i(\"inside sort function\",newmediaList.toString());\n//                showRecycler(newmediaList);\n//            }\n//        });\n//\n//    }\n\n//    void sortSize(){\n//        Executors.newSingleThreadExecutor().execute(new Runnable() {\n//            @Override\n//            public void run() {\n//                String methodChosen = autoCompleteTextView.getText().toString().trim();\n//                Log.i(\"Method\",methodChosen);\n//                newmediaList = DatabaseClient\n//                                .getInstance(mActivity)\n//                                .getAppDatabase()\n//                                .fileDao()\n//                                .sortBySize();\n////                showRecycler(newmediaList);\n//            }\n//        });\n//\n//    }\n//\n//    void sortIndexLink() {\n//        Executors.newSingleThreadExecutor().execute(new Runnable() {\n//            @Override\n//            public void run() {\n//                String methodChosen = autoCompleteTextView.getText().toString().trim();\n//                Log.i(\"Method\",methodChosen);\n//                newmediaList = DatabaseClient\n//                        .getInstance(mActivity)\n//                        .getAppDatabase()\n//                        .fileDao()\n//                        .sortByIndex();\n////                showRecycler(newmediaList);\n//            }\n//        });\n//\n//\n//    }\n//\n//    void sortTimeModified(){\n//        Executors.newSingleThreadExecutor().execute(new Runnable() {\n//            @Override\n//            public void run() {\n//                String methodChosen = autoCompleteTextView.getText().toString();\n//                Log.i(\"Method\",methodChosen);\n//                newmediaList = DatabaseClient\n//                        .getInstance(mActivity)\n//                        .getAppDatabase()\n//                        .fileDao()\n//                        .sortByTime();\n////                showRecycler(newmediaList);\n//            }\n//        });\n//\n//    }\n//\n//    void sortTitle(){\n//        Executors.newSingleThreadExecutor().execute(new Runnable() {\n//            @Override\n//            public void run() {\n//                String methodChosen = autoCompleteTextView.getText().toString().trim();\n//                Log.i(\"Method\",methodChosen);\n//                newmediaList = DatabaseClient\n//                        .getInstance(mActivity)\n//                        .getAppDatabase()\n//                        .fileDao()\n//                        .sortByTitle();\n////                showRecycler(newmediaList);\n//            }\n//        });\n//\n//    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/ManageDatabaseFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport static com.theflexproject.thunder.utils.StorageUtils.verifyStoragePermissions;\n\nimport android.Manifest;\nimport android.os.Bundle;\nimport android.os.Environment;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.Button;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.core.app.ActivityCompat;\nimport androidx.room.Room;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.database.AppDatabase;\n\nimport java.io.File;\nimport java.io.FileInputStream;\nimport java.io.FileOutputStream;\nimport java.nio.channels.FileChannel;\n\npublic class ManageDatabaseFragment extends BaseFragment {\n\n    Button importDatabase;\n    Button exportDatabase;\n\n    public ManageDatabaseFragment() {\n        // Required empty public constructor\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_manage_database , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n\n        initWidgets();\n\n        setMyOnClickListeners();\n\n\n    }\n\n    private void setMyOnClickListeners() {\n        importDatabase.setOnClickListener(v -> {\n            mActivity.deleteDatabase(\"MyToDos\");\n\n//            File folder = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + \"/Thunder\");\n//            File[] listOfFiles = folder.listFiles();\n//\n//            File database = mActivity.getDatabasePath(\"MyToDos\");\n//            System.out.println(\"paths\" + backup + \"\\npath2 \" + database);\n//\n//            if(listOfFiles!=null)\n//                for (File file : listOfFiles) {\n//                    if (file.exists() && file.isFile()) {\n//                        try {\n//                                System.out.println(\"backup exists true\");\n//                                FileChannel src = new FileInputStream(file).getChannel();\n//                                FileChannel dst = new FileOutputStream(database).getChannel();\n//                                dst.transferFrom(src , 0 , src.size());\n////                            fco.transferFrom(fc2, fc1.size() - 1, fc2.size());\n//                        } catch (Exception e) {\n//                            e.printStackTrace();\n//                        }\n//                        System.out.println(file.getName());\n//                    }\n//                }\n\n            File backup = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + \"/Thunder\" , \"ThunderBackup.db\");\n            File database = mActivity.getDatabasePath(\"MyToDos\");\n            System.out.println(\"paths\" + backup + \"\\npath2 \" + database);\n\n            try {\n                if (backup.exists()) {\n                    System.out.println(\"backup exists true\");\n\n                    FileChannel src = new FileInputStream(backup).getChannel();\n                    FileChannel dst = new FileOutputStream(database).getChannel();\n                    dst.transferFrom(src , 0 , src.size());\n                    src.close();\n                    dst.close();\n                    Room.databaseBuilder(mActivity ,\n                                    AppDatabase.class , \"MyToDos\")\n                            .fallbackToDestructiveMigration()\n                            .createFromFile(database)\n                            .build();\n                }\n            } catch (Exception e) {\n                e.printStackTrace();\n            }\n\n            Toast.makeText(mActivity,\"Import Successful\",Toast.LENGTH_LONG).show();\n\n        });\n\n        exportDatabase.setOnClickListener(v -> {\n\n            verifyStoragePermissions(mActivity);\n\n            int EXTERNAL_STORAGE_PERMISSION_CODE = 23;\n            // Requesting Permission to access External Storage\n            ActivityCompat.requestPermissions(mActivity, new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, EXTERNAL_STORAGE_PERMISSION_CODE);\n\n            File folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS);\n\n            File backupDB = new File(folder +\"/Thunder\", \"ThunderBackup.db\");\n            File currentDB = new File(mActivity.getDatabasePath(\"MyToDos\").toString());\n\n            try {\n\n                File backupDir = new File(folder+\"/Thunder\");\n                if(!backupDir.exists()) backupDir.mkdir();\n                if (currentDB.exists()) {\n                    FileChannel src = new FileInputStream(currentDB).getChannel();\n                    FileChannel dst = new FileOutputStream(backupDB).getChannel();\n                    dst.transferFrom(src , 0 , src.size());\n                    src.close();\n                    dst.close();\n                }\n            } catch (Exception e) {\n                e.printStackTrace();\n            }\n\n            Toast.makeText(mActivity,\"Export Successful\",Toast.LENGTH_LONG).show();\n\n        });\n    }\n\n    private void initWidgets() {\n        importDatabase = mActivity.findViewById(R.id.importDatabase);\n        exportDatabase = mActivity.findViewById(R.id.exportDatabase);\n\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/ManageIndexesFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.google.android.material.floatingactionbutton.FloatingActionButton;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.IndexAdapter;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.IndexLink;\n\nimport java.util.List;\nimport java.util.concurrent.Executors;\n\npublic class ManageIndexesFragment extends BaseFragment{\n    List<IndexLink> list;\n    private RecyclerView recyclerView;\n    FloatingActionButton floatingActionButton;\n    public ManageIndexesFragment() {\n        // Required empty public constructor\n    }\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_manage_indexes , container, false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view, savedInstanceState);\n        Executors.newSingleThreadExecutor().execute(new Runnable() {\n            @Override\n            public void run() {\n                list = DatabaseClient.getInstance(mActivity).getAppDatabase().indexLinksDao().getAll();\n                                mActivity.runOnUiThread(new Runnable() {\n                                    @Override\n                                    public void run() {\n                                        recyclerView = view.findViewById(R.id.recyclerviewindexes);\n                                        recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));\n                                        recyclerView.setHasFixedSize(true);\n                                        IndexAdapter indexAdapter = new IndexAdapter(mActivity,list);\n                                        recyclerView.setAdapter(indexAdapter);\n\n                                    }\n                                });\n\n\n            }\n        });\n\n        floatingActionButton = view.findViewById(R.id.floating_button_add);\n        floatingActionButton.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View view) {\n                AddNewIndexFragment nextFrag= new AddNewIndexFragment();\n                mActivity.getSupportFragmentManager().beginTransaction().replace(R.id.containersettings, nextFrag).addToBackStack(null).commit();\n            }\n        });\n\n    }\n\n\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/MovieDetailsFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport static android.content.Context.DOWNLOAD_SERVICE;\nimport static com.theflexproject.thunder.Constants.TMDB_BACKDROP_IMAGE_BASE_URL;\n\nimport android.app.Activity;\nimport android.app.DownloadManager;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.SharedPreferences;\nimport android.graphics.Color;\nimport android.graphics.drawable.ColorDrawable;\nimport android.graphics.drawable.Drawable;\nimport android.net.Uri;\nimport android.os.Bundle;\nimport android.os.Handler;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.view.ViewOutlineProvider;\nimport android.view.WindowManager;\nimport android.widget.ImageButton;\nimport android.widget.ImageView;\nimport android.widget.TableRow;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.fragment.app.FragmentTransaction;\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.bumptech.glide.Glide;\nimport com.bumptech.glide.load.engine.DiskCacheStrategy;\nimport com.bumptech.glide.request.RequestOptions;\nimport com.bumptech.glide.request.target.Target;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.FileItemAdapter;\nimport com.theflexproject.thunder.adapter.ScaleCenterItemLayoutManager;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.Genre;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.player.PlayerActivity;\nimport com.theflexproject.thunder.utils.StringUtils;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport eightbitlab.com.blurview.BlurView;\nimport eightbitlab.com.blurview.RenderScriptBlur;\n\npublic class MovieDetailsFragment extends BaseFragment{\n\n    BlurView blurView;\n    ViewGroup rootView;\n    View decorView;\n\n\n    int movieId;\n    String movieFileName;\n    ImageView logo;\n    TextView titleText;\n    TextView yearText;\n    TextView runtime;\n    ImageButton play;\n    ImageButton changeSource;\n    ImageButton addToList;\n    ImageButton download;\n    TextView overview;\n//    Button changeTMDB;\n//    TextView size;\n//    Button externalPlayer;\n\n\n    TableRow director;\n    TableRow writer;\n    TableRow genres;\n\n\n\n\n    TextView directorText;\n    TextView writerText;\n    TextView genresText;\n    TextView ratingsText;\n    ImageView dot1;\n    ImageView ratings;\n\n    ImageView poster;\n    ImageView backdrop;\n    Movie movieDetails;\n\n\n    RecyclerView recyclerViewMovieFiles;\n    List<Movie> movieFileList;\n    FileItemAdapter fileAdapter;\n    FileItemAdapter.OnItemClickListener listenerFileItem;\n    Movie largestFile;\n\n    public MovieDetailsFragment() {\n        // Required empty public constructor\n    }\n    public MovieDetailsFragment(int id){\n        this.movieId =id;\n    }\n\n    public MovieDetailsFragment(String fileName) {\n        this.movieFileName = fileName;\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_movie_details_new, container, false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view, savedInstanceState);\n\n        initWidgets(view);\n        loadDetails();\n\n\n        final Handler handler = new Handler();\n        handler.postDelayed(new Runnable() {\n            @Override\n            public void run() {\n                loadMovieFilesRecycler();\n            }\n        },300);\n\n//        setMyOnClickLiseners();\n\n    }\n\n    private void initWidgets(View view) {\n//        blurView = view.findViewById(R.id.blurView4);\n//        decorView =  ((Activity) mActivity).getWindow().getDecorView();\n//        rootView = decorView.findViewById(android.R.id.content);\n//\n\n\n        titleText = view.findViewById(R.id.title_text);\n        logo = view.findViewById(R.id.movieLogo);\n        yearText = view.findViewById(R.id.year_text);\n        runtime = view.findViewById(R.id.RuntimeText);\n//        size = view.findViewById(R.id.size);\n        overview = view.findViewById(R.id.overviewdesc);\n//        poster = view.findViewById(R.id.moviePosterInDetails);\n        backdrop = view.findViewById(R.id.movieBackdrop);\n\n        director = view.findViewById(R.id.Director);\n        writer = view.findViewById(R.id.WrittenBy);\n        genres = view.findViewById(R.id.Genres);\n        directorText = view.findViewById(R.id.DirectorText);\n        writerText = view.findViewById(R.id.WrittenByText);\n        genresText = view.findViewById(R.id.GenresText);\n        ratings = view.findViewById(R.id.ratings);\n        dot1 = view.findViewById(R.id.dot);\n        ratingsText = view.findViewById(R.id.ratingsText);\n\n\n\n        play = view.findViewById(R.id.play);\n        download = view.findViewById(R.id.downloadButton);\n        addToList = view.findViewById(R.id.addToListButton);\n        changeSource = view.findViewById(R.id.changeSourceButton);\n//        changeTMDB = view.findViewById(R.id.changeTMDBId);\n\n//        blurView = view.findViewById(R.id.blurView4);\n\n    }\n\n    private void loadDetails(){\n       try {\n           Thread thread = new Thread(new Runnable() {\n               @Override\n               public void run() {\n                   Log.i(\"movieId\",movieId+\"\");\n\n                   movieDetails = DatabaseClient\n                           .getInstance(mActivity)\n                           .getAppDatabase()\n                           .movieDao()\n                           .byId(movieId);\n                   if(movieDetails==null){\n                       movieDetails = DatabaseClient\n                               .getInstance(mActivity)\n                               .getAppDatabase()\n                               .movieDao()\n                               .getByFileName(movieFileName);\n                   }\n\n                   if(movieDetails!=null){\n                       Log.i(\"insideLoadDetails\",movieDetails.toString());\n                       mActivity.runOnUiThread(new Runnable() {\n                           @Override\n                           public void run() {\n\n\n                               String logoLink = movieDetails.getLogo_path();\n                               System.out.println(\"Logo Link\"+logoLink);\n\n                               if(logoLink!=null && !logoLink.equals(\"\")){\n                                   logo.setVisibility(View.VISIBLE);\n                                   Glide.with(mActivity)\n                                           .load(logoLink)\n                                           .apply(new RequestOptions()\n                                           .fitCenter()\n                                           .override(Target.SIZE_ORIGINAL))\n                                           .diskCacheStrategy(DiskCacheStrategy.ALL)\n                                           .placeholder(new ColorDrawable(Color.TRANSPARENT))\n                                           .into(logo);\n                               }\n                               if(logoLink!=null && logoLink.equals(\"\") && movieDetails.getTitle()!=null){\n                                   titleText.setVisibility(View.VISIBLE);\n                                   titleText.setText(movieDetails.getTitle());\n                               }else {\n                                   titleText.setVisibility(View.VISIBLE);\n                                   titleText.setText(movieFileName);\n                               }\n\n                               if(movieDetails.getRuntime()>0){\n                                   String result = StringUtils.runtimeIntegerToString(movieDetails.getRuntime());\n                                   runtime.setVisibility(View.VISIBLE);\n                                   runtime.setText(result);\n                               }\n                               if(movieDetails.getGenres()!=null){\n                                   genresText.setVisibility(View.VISIBLE);\n                                   ArrayList<Genre> genres = movieDetails.getGenres();\n                                   StringBuilder sb = new StringBuilder();\n                                   for (int i=0;i<genres.size();i++) {\n                                       Genre genre = genres.get(i);\n                                       if(i == genres.size()-1 && genre != null){sb.append(genre.getName());}\n                                       else if(genre!= null){sb.append(genre.getName()).append(\", \");}\n                                   }\n                                   genresText.setText(sb.toString());\n                               }\n                               if(movieDetails.getVote_average()!=0){\n//                                   ratings.setVisibility(View.VISIBLE);\n                                   dot1.setVisibility(View.VISIBLE);\n                                   ratingsText.setVisibility(View.VISIBLE);\n                                   String rating = (int)(movieDetails.getVote_average()*10)+\"%\";\n                                   ratingsText.setText(rating);\n                               }\n                               String year = movieDetails.getRelease_date();\n                               if(movieDetails.getRelease_date()!=null && movieDetails.getRelease_date().length()>1) {\n                                   yearText.setVisibility(View.VISIBLE);\n                                   yearText.setText(year.substring(0,year.indexOf('-')));\n                               }\n                               if(movieDetails.getOverview()!=null){overview.setVisibility(View.VISIBLE); overview.setText(movieDetails.getOverview());}\n                               if(movieDetails.getPoster_path()!=null) {\n//                                           Glide.with(mActivity)\n//                                                   .load(TMDB_IMAGE_BASE_URL + movieDetails.getPoster_path())\n//                                                   .diskCacheStrategy(DiskCacheStrategy.ALL)\n//                                                   .placeholder(new ColorDrawable(Color.TRANSPARENT))\n//                                                   .into(poster);\n                               }\n                               if(movieDetails.getBackdrop_path()!=null) {\n//                                   Glide.with(mActivity)\n//                                           .load(TMDB_BACKDROP_IMAGE_BASE_URL + movieDetails.getBackdrop_path())\n//                                           .apply(bitmapTransform(new BlurTransformation(10, 3)))\n//                                           .diskCacheStrategy(DiskCacheStrategy.ALL)\n//                                           .into(backdrop);\n\n                                           Glide.with(mActivity)\n                                                   .load(TMDB_BACKDROP_IMAGE_BASE_URL + movieDetails.getBackdrop_path())\n                                                   .apply(new RequestOptions()\n                                                           .fitCenter()\n                                                           .override(Target.SIZE_ORIGINAL))\n//                                                   .apply(bitmapTransform(new BlurTransformation(5, 3)))\n                                                   .placeholder(new ColorDrawable(Color.TRANSPARENT))\n                                                   .diskCacheStrategy(DiskCacheStrategy.ALL)\n                                                   .into(backdrop);\n                               }else {\n                                   if(movieDetails.getPoster_path()!=null) {\n                                               Glide.with(mActivity)\n                                                       .load(TMDB_BACKDROP_IMAGE_BASE_URL + movieDetails.getPoster_path())\n                                                       .apply(new RequestOptions()\n                                                               .fitCenter()\n                                                               .override(Target.SIZE_ORIGINAL))\n//                                                       .apply(bitmapTransform(new BlurTransformation(5, 3)))\n                                                       .placeholder(new ColorDrawable(Color.TRANSPARENT))\n                                                       .diskCacheStrategy(DiskCacheStrategy.ALL)\n                                                       .into(backdrop);\n                                   }\n                               }\n\n                           }\n                       });\n                   }\n\n               }});\n           thread.start();\n       }catch (NullPointerException exception){Log.i(\"Error\",exception.toString());}\n\n        setMyOnClickLiseners();\n    }\n\n    String urlLogo ;\n\n//    private String getLogo(Long id)  {\n//\n//        Thread thread = new Thread(new Runnable() {\n//            @Override\n//            public void run() {\n//                try{\n//                    URL url = new URL(\"https://webservice.fanart.tv/v3/movies/\"+ id +\"?api_key=\"+getFanartApiKey());\n//\n//                    HttpURLConnection conn = (HttpURLConnection)url.openConnection();\n//                    conn.setRequestMethod(\"GET\");\n//\n//                    int code = conn.getResponseCode();\n//                    System.out.println((\"HTTP CODE\" + code));\n//\n//\n//                    BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"UTF-8\"));\n//                    StringBuilder sb = new StringBuilder();\n//                    for (int c; (c = br.read()) >= 0;)\n//                        sb.append((char)c);\n//                    br.close();\n//\n//                    Gson om = new Gson();\n//                    FanArtMovieResponseModel root = om.fromJson(sb.toString(), FanArtMovieResponseModel.class);\n//                    System.out.println(\"FanArtMovieResponse\"+root);\n//                    if(root!=null && root.getHdmovielogo()!=null){\n//                        for (int i = 0; i < root.getHdmovielogo().size(); i++) {\n//                            if(root.getHdmovielogo().get(i).getLang().equals(\"en\") || root.getHdmovielogo().get(i).getLang().equals(\"hi\")){\n//                                urlLogo = root.getHdmovielogo().get(i).getUrl().toString();\n//                                break;\n//                            }\n//                        }\n//                    }\n//                    if(urlLogo==null && root!=null && root.getMovielogo()!=null){\n//                        root.getMovielogo().get(0).getUrl().toString();\n//\n//                    }\n//                    System.out.println(\"inside getLogo\"+urlLogo);\n//                }catch (IOException e) {\n//                    System.out.println(e.toString());\n//                }\n//\n//            }\n//        });\n//        thread.start();\n//\n//        try {\n//            thread.join();\n//        } catch (InterruptedException e) {\n//            e.printStackTrace();\n//        }\n//\n//        return urlLogo;\n//\n//    }\n\n    //to blur the backdrop\n    void blurBottom(){\n\n        ((Activity) mActivity).getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);\n        ((Activity) mActivity).getWindow().setStatusBarColor(Color.TRANSPARENT);\n        final float radius = 14f;\n        final Drawable windowBackground = ((Activity) mActivity).getWindow().getDecorView().getBackground();\n\n        blurView.setupWith(rootView, new RenderScriptBlur(mActivity))\n                .setFrameClearDrawable(windowBackground)\n                .setBlurRadius(radius);\n        blurView.setOutlineProvider(ViewOutlineProvider.BACKGROUND);\n        blurView.setClipToOutline(true);\n    }\n\n\n\n    private void setMyOnClickLiseners(){\n\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                largestFile = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .movieDao()\n                        .byIdLargest(movieId);\n            }\n        });\n        thread.start();\n\n        SharedPreferences sharedPreferences = mActivity.getSharedPreferences(\"Settings\", Context.MODE_PRIVATE);\n        boolean savedEXT = sharedPreferences.getBoolean(\"EXTERNAL_SETTING\", false);\n\n        if(savedEXT){\n            //External Player\n            play.setOnClickListener(new View.OnClickListener() {\n                @Override\n                public void onClick(View v) {\n                    addToLastPlayed();\n                    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(largestFile.getUrlString()));\n                    intent.setDataAndType(Uri.parse(largestFile.getUrlString()), \"video/*\");\n                    startActivity(intent);\n                }\n            });\n        }else {\n            //Play video\n            play.setOnClickListener(new View.OnClickListener() {\n                @Override\n                public void onClick(View v) {\n                    try {\n                        addToLastPlayed();\n                        Intent in = new Intent(getActivity(), PlayerActivity.class);\n                        in.putExtra(\"url\",movieDetails.getUrlString());\n                        startActivity(in);\n                        Toast.makeText(getContext(),\"Play\",Toast.LENGTH_LONG).show();\n                    }catch (Exception e){\n                        e.printStackTrace();\n                    }\n                }\n            });\n        }\n\n//        Start download\n        download.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                DownloadManager manager = (DownloadManager) mActivity.getSystemService(DOWNLOAD_SERVICE);\n                Uri uri = Uri.parse(largestFile.getUrlString());\n                DownloadManager.Request request = new DownloadManager.Request(uri);\n                request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE)\n                        .setDescription(\"Downloading\");\n                long reference = manager.enqueue(request);\n                Toast.makeText(getContext(),\"Download Started\",Toast.LENGTH_LONG).show();\n            }\n        });\n\n\n        addToList.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                if(movieDetails.getAddToList()!=1){\n\n                    new Thread(new Runnable() {\n                        @Override\n                        public void run() {\n                            DatabaseClient\n                                    .getInstance(mActivity)\n                                    .getAppDatabase()\n                                    .movieDao()\n                                    .updateAddToList(movieId);\n                        }\n                    }).start();\n\n                    Toast.makeText(mActivity , \"Added To List\" , Toast.LENGTH_LONG).show();\n                }\n                else{\n                    new Thread(new Runnable() {\n                        @Override\n                        public void run() {\n                            DatabaseClient\n                                    .getInstance(mActivity)\n                                    .getAppDatabase()\n                                    .movieDao()\n                                    .updateRemoveFromList(movieId);\n                        }\n                    }).start();\n\n                    Toast.makeText(mActivity , \"Removed From List\" , Toast.LENGTH_LONG).show();\n                }\n\n            }\n        });\n\n//        changeTMDB.setOnClickListener(new View.OnClickListener() {\n//            @Override\n//            public void onClick(View v) {\n//                ChangeTMDBFragment changeTMDBFragment = new ChangeTMDBFragment(movieDetails);\n//\n//                mActivity.getSupportFragmentManager().beginTransaction()\n//                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n//                        .add(R.id.container,changeTMDBFragment).addToBackStack(null).commit();\n//            }\n//        });\n\n\n\n\n\n        final int[] checkedItem = {-1};\n        int indexSelected = 0;\n        changeSource.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                CustomFileListDialogFragment dialog = new CustomFileListDialogFragment(mActivity,changeSource,(List<MyMedia>)(List<?>) movieFileList);\n\n               mActivity.\n                       getSupportFragmentManager()\n                       .beginTransaction()\n                       .setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN)\n                       .add(android.R.id.content, dialog)\n                       .addToBackStack(null)\n                       .commit();\n//                dialog.show(mActivity.getSupportFragmentManager(),null);\n                dialog.mOnInputListener = new CustomFileListDialogFragment.OnInputListener() {\n                    @Override\n                    public void sendInput(int selection) {\n                        largestFile = movieFileList.get(selection);\n                        System.out.println(\"selected file\"+largestFile.getFileName());\n\n                    }\n                };\n//              largestFile = movieFileList.get(indexSelected);\n\n//                AlertDialog.Builder alertDialog = new AlertDialog.Builder(mActivity);\n//\n//                alertDialog.setTitle(\"Choose a File\");\n//\n//                String[] listItems = new String[movieFileList.size()];\n//                for(int i=0; i<movieFileList.size();i++){\n//                    listItems[i]=movieFileList.get(i).getFileName();\n//                }\n//                // the function setSingleChoiceItems is the function which\n//                // builds the alert dialog with the single item selection\n//                alertDialog.setSingleChoiceItems(listItems, checkedItem[0] , (dialog, which) -> {\n//                    checkedItem[0]=which;\n//                    largestFile = movieFileList.get(checkedItem[0]);\n//                    dialog.dismiss();\n//                });\n//\n//                // set the negative button if the user is not interested to select or change already selected item\n//                alertDialog.setNegativeButton(\"Cancel\", (dialog, which) -> {\n//\n//                });\n//\n//                // create and build the AlertDialog instance with the AlertDialog builder instance\n//                AlertDialog customAlertDialog = alertDialog.create();\n//\n//                // show the alert dialog when the button is clicked\n//                customAlertDialog.show();\n            }\n        });\n\n\n\n\n\n\n\n    }\n\n    private void addToLastPlayed() {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                DatabaseClient.getInstance(getContext()).getAppDatabase().movieDao().updatePlayed(movieDetails.getId());\n            }\n        });\n        thread.start();\n    }\n\n    private void loadMovieFilesRecycler() {\n        setMyOnClickLiseners();\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                Log.i(\" \" , \"in thread\");\n                if(movieId==0){\n                    movieFileList = DatabaseClient\n                            .getInstance(mActivity)\n                            .getAppDatabase()\n                            .movieDao()\n                            .getAllByFileName(movieFileName);\n                }else {\n                    movieFileList = DatabaseClient\n                            .getInstance(mActivity)\n                            .getAppDatabase()\n                            .movieDao()\n                            .getAllById(movieId);\n                }\n                mActivity.runOnUiThread(new Runnable() {\n                    @Override\n                    public void run() {\n                        Log.i(\"movieFileList\" , movieFileList.toString());\n                        recyclerViewMovieFiles = mActivity.findViewById(R.id.recyclerAvailableMovieFiles);\n                        ScaleCenterItemLayoutManager linearLayoutManager = new ScaleCenterItemLayoutManager(mActivity , LinearLayoutManager.VERTICAL , false);\n                        recyclerViewMovieFiles.setLayoutManager(linearLayoutManager);\n                        recyclerViewMovieFiles.setHasFixedSize(true);\n                        fileAdapter = new FileItemAdapter(getContext() , (List<MyMedia>)(List<?>) movieFileList);\n                        recyclerViewMovieFiles.setAdapter(fileAdapter);\n                        fileAdapter.notifyDataSetChanged();\n                    }\n                });\n            }\n        });\n        thread.start();\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/MovieLibraryFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.os.Bundle;\nimport android.util.DisplayMetrics;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.GridLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.MediaAdapter;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\n\nimport java.util.List;\n\n\npublic class MovieLibraryFragment extends BaseFragment {\n\n    RecyclerView recyclerViewMovies;\n    MediaAdapter mediaAdapter;\n    MediaAdapter.OnItemClickListener listenerMovie;\n    List<Movie> movieList;\n\n    public MovieLibraryFragment() {\n        // Required empty public constructor\n    }\n\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_movie_library , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n        showLibraryMovies();\n    }\n\n    void showLibraryMovies() {\n        setOnClickListner();\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                Log.i(\" \" , \"in thread\");\n                if(movieList ==null){\n\n                    movieList = DatabaseClient\n                            .getInstance(mActivity)\n                            .getAppDatabase()\n                            .movieDao().getAll();\n                }\n                showRecyclerMovies(movieList);\n            }\n        });\n        thread.start();\n    }\n\n    private void showRecyclerMovies(List<Movie> newmediaList) {\n        mActivity.runOnUiThread(() -> {\n            DisplayMetrics displayMetrics = mActivity.getResources().getDisplayMetrics();\n            float dpWidth = displayMetrics.widthPixels / displayMetrics.density;\n            int noOfItems;\n\n            noOfItems = (int) (dpWidth/120);\n//            if (dpWidth < 600f) {\n//                noOfItems = 3;\n//            } else if (dpWidth < 840f) {\n//                noOfItems = 6;\n//            } else {\n//                noOfItems = 8;\n//            }\n            Log.i(\" \" , newmediaList.toString());\n            recyclerViewMovies = mActivity.findViewById(R.id.recyclerLibraryMovies);\n            if(recyclerViewMovies!=null){\n                recyclerViewMovies.setLayoutManager(new GridLayoutManager(mActivity , noOfItems));\n                recyclerViewMovies.setHasFixedSize(true);\n                mediaAdapter = new MediaAdapter(mActivity ,(List<MyMedia>)(List<?>) newmediaList , listenerMovie);\n                recyclerViewMovies.setAdapter(mediaAdapter);\n                mediaAdapter.notifyDataSetChanged();\n            }\n        });\n    }\n\n    private void setOnClickListner() {\n        listenerMovie = (view , position) -> {\n            MovieDetailsFragment movieDetailsFragment = new MovieDetailsFragment(movieList.get(position).getId());\n            mActivity.getSupportFragmentManager().beginTransaction()\n                    .setCustomAnimations(R.anim.fade_in , R.anim.fade_out)\n                    .add(R.id.container , movieDetailsFragment).addToBackStack(null).commit();\n        };\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/SearchFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\n\nimport android.os.Bundle;\nimport android.text.Editable;\nimport android.text.TextWatcher;\nimport android.util.DisplayMetrics;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.Button;\nimport android.widget.ScrollView;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.GridLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.google.android.material.textfield.TextInputEditText;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.MediaAdapter;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Timer;\nimport java.util.TimerTask;\n\n\npublic class SearchFragment extends BaseFragment {\n    RecyclerView recyclerView;\n    RecyclerView recyclerViewGenres;\n    List<Integer> genreList;\n    MediaAdapter mediaAdapter;\n\n    List<Movie> movieList;\n    List<TVShow> tvShowsList;\n    List<MyMedia> matchesFound;\n    MediaAdapter.OnItemClickListener listener;\n\n    TextInputEditText searchBox;\n    Button search;\n    ScrollView scrollview;\n\n    public SearchFragment() {\n    }\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater, ViewGroup container,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_search, container, false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view, savedInstanceState);\n\n        searchBox = view.findViewById(R.id.search_input);\n//        search = view.findViewById(R.id.search_button);\n//        scrollview= view.findViewById(R.id.scrollview);\n        recyclerView = mActivity.findViewById(R.id.recyclersearch);\n//        scrollview.setVisibility(View.VISIBLE);\n        showSearchResults();\n//        search.setOnClickListener(new View.OnClickListener() {\n//            @Override\n//            public void onClick(View view) {\n//                showSearchResults();\n//            }\n//        });\n\n\n\n    }\n\n    void showSearchResults(){\n        setOnClickListner();\n        try{\n            searchBox.addTextChangedListener(\n                    new TextWatcher() {\n                        @Override public void onTextChanged(CharSequence s, int start, int before, int count) {}\n                        @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) {}\n\n                        private Timer timer = new Timer();\n                        private final long DELAY = 500; // milliseconds\n\n                        @Override\n                        public void afterTextChanged(final Editable s) {\n                            timer.cancel();\n                            timer = new Timer();\n                            timer.schedule(\n                                    new TimerTask() {\n                                        @Override\n                                        public void run() {\n                                            if(!s.toString().equals(\"\")){\n                                            Thread thread = new Thread(new Runnable() {\n                                                @Override\n                                                public void run() {\n                                                    Log.i(\" \", \"in thread\");\n                                                    movieList = DatabaseClient\n                                                            .getInstance(mActivity)\n                                                            .getAppDatabase()\n                                                            .movieDao()\n                                                            .getSearchQuery(searchBox.getText().toString());\n                                                    tvShowsList = DatabaseClient\n                                                            .getInstance(mActivity)\n                                                            .getAppDatabase()\n                                                            .tvShowDao()\n                                                            .getSearchQuery(searchBox.getText().toString());\n\n                                                    matchesFound =new ArrayList<>();\n                                                    matchesFound.addAll(movieList);\n                                                    matchesFound.addAll(tvShowsList);\n\n                                                    mActivity.runOnUiThread(new Runnable() {\n                                                        @Override\n                                                        public void run() {\n                                                            DisplayMetrics displayMetrics = mActivity.getResources().getDisplayMetrics();\n                                                            float dpWidth = displayMetrics.widthPixels / displayMetrics.density;\n                                                            int noOfItems;\n                                                            if(dpWidth < 600f){noOfItems = 3;}\n                                                            else if(dpWidth < 840f){noOfItems = 6;}\n                                                            else {noOfItems = 8; }\n                                                            Log.i(\" \", matchesFound.toString());\n                                                            recyclerView.setLayoutManager(new GridLayoutManager(mActivity , noOfItems));\n                                                            recyclerView.setHasFixedSize(true);\n                                                            mediaAdapter = new MediaAdapter(mActivity , matchesFound , listener);\n                                                            recyclerView.setAdapter(mediaAdapter);\n                                                            mediaAdapter.notifyDataSetChanged();\n                                                        }\n                                                    });\n                                                }});\n                                            thread.start();\n                                            }\n                                        }\n                                    },\n                                    DELAY\n                            );\n                        }\n                    }\n            );\n        }catch (Exception e){\n            Log.i(e.toString(),\"Exception\");\n        }\n\n    }\n\n    /** To-Do */\n    void showbyGenre(){\n//        Thread thread = new Thread(new Runnable() {\n//            @Override\n//            public void run() {\n//                Log.i(\" \", \"in thread\");\n//                genreList = DatabaseClient\n//                        .getInstance(mCtx)\n//                        .getAppDatabase()\n//                        .fileDao()\n//                        .getSearchQuery(searchBox.getText().toString());\n//                getActivity().runOnUiThread(new Runnable() {\n//                    @Override\n//                    public void run() {\n//                        Log.i(\" \", newmediaList.toString());\n//                        recyclerViewGenres = getView().findViewById(R.id.recyclersearch);\n//                        recyclerViewGenres.setLayoutManager(new GridLayoutManager(getContext(), 2));\n//                        recyclerViewGenres.setHasFixedSize(true);\n//                        movieRecyclerAdapterLibrary = new MovieRecyclerAdapterLibrary(getContext(),newmediaList,listener);\n//                        recyclerViewGenres.setAdapter(movieRecyclerAdapterLibrary);\n//                        movieRecyclerAdapterLibrary.notifyDataSetChanged();\n//                    }\n//                });\n//            }});\n//        thread.start();\n    }\n\n    private void setOnClickListner() {\n        listener = (view , position) -> {\n            if(matchesFound.get(position) instanceof Movie){\n                MovieDetailsFragment movieDetailsFragment;\n                if(((Movie)matchesFound.get(position)).getId()==0){\n                    movieDetailsFragment = new MovieDetailsFragment(((Movie)matchesFound.get(position)).getFileName());\n\n                }else {\n                    movieDetailsFragment = new MovieDetailsFragment(((Movie)matchesFound.get(position)).getId());\n                }\n\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,movieDetailsFragment).addToBackStack(null).commit();\n            }\n            if(matchesFound.get(position) instanceof TVShow){\n                TvShowDetailsFragment tvShowDetailsFragment = new TvShowDetailsFragment(((TVShow)matchesFound.get(position)).getId());\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,tvShowDetailsFragment).addToBackStack(null).commit();\n            }\n\n        };\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/SeasonDetailsFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport static com.theflexproject.thunder.Constants.TMDB_BACKDROP_IMAGE_BASE_URL;\n\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.SharedPreferences;\nimport android.graphics.Color;\nimport android.graphics.drawable.ColorDrawable;\nimport android.net.Uri;\nimport android.os.Bundle;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ImageButton;\nimport android.widget.ImageView;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.bumptech.glide.Glide;\nimport com.bumptech.glide.load.engine.DiskCacheStrategy;\nimport com.bumptech.glide.request.RequestOptions;\nimport com.bumptech.glide.request.target.Target;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.EpisodeAdapter;\nimport com.theflexproject.thunder.adapter.ScaleCenterItemLayoutManager;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.model.TVShowInfo.Season;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\nimport com.theflexproject.thunder.player.PlayerActivity;\n\nimport java.util.List;\n\n\npublic class SeasonDetailsFragment extends BaseFragment {\n\n    String tvShowName;\n    TextView tvShowTitleText;\n    TextView seasonName;\n//    TextView seasonNumber;\n    TextView numberOfEpisodes;\n\n    TextView overview;\n    TextView overviewText;\n    ImageButton play;\n\n    ImageView logo;\n    TextView continueWatching;\n    ImageView dot3;\n    TextView episodeTitle;\n\n//    ImageView poster;\n    ImageView backdrop;\n\n    TVShowSeasonDetails tvShowSeasonDetails;\n    TVShow tvShow;\n    Season season;\n\n    RecyclerView episodesRecycler;\n    EpisodeAdapter episodeAdapter;\n    EpisodeAdapter.OnItemClickListener listener;\n    List<Episode> episodes;\n\n    Episode nextEpisode;\n\n\n    public SeasonDetailsFragment() {\n        // Required empty public constructor\n    }\n\n    public SeasonDetailsFragment(TVShow tvShow , TVShowSeasonDetails tvShowSeasonDetails) {\n        this.tvShow = tvShow;\n        this.tvShowSeasonDetails = tvShowSeasonDetails;\n    }\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n\n    }\n\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_season_details_new , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n\n        initWidgets(view);\n        loadDetails();\n\n    }\n\n    private void initWidgets(View view) {\n        tvShowTitleText = view.findViewById(R.id.showTitle);\n        seasonName = view.findViewById(R.id.seasonTitle);\n//        seasonNumber = view.findViewById(R.id.seasonNumber);\n        numberOfEpisodes = view.findViewById(R.id.noOfEpisodesInSeason);\n        overview = view.findViewById(R.id.overviewDescTVShowSeason);\n//        overviewText = view.findViewById(R.id.overviewTextInSeason);\n//        poster = view.findViewById(R.id.seasonPosterInDetails);\n        backdrop = view.findViewById(R.id.tvShowBackdropInSeason);\n\n\n        logo = view.findViewById(R.id.tvLogoInSeason);\n        continueWatching = view.findViewById(R.id.continueWatchingText);\n        episodeTitle = view.findViewById(R.id.episodeNameInTvSeason);\n        dot3 = view.findViewById(R.id.dot3);\n\n\n        play = view.findViewById(R.id.playInSeasonDetails);\n\n        episodesRecycler = view.findViewById(R.id.recyclerEpisodes);\n    }\n\n    private void loadDetails() {\n        try {\n            tvShowName = tvShow.getName();\n            Thread thread = new Thread(new Runnable() {\n                @Override\n                public void run() {\n                    tvShowSeasonDetails = DatabaseClient\n                            .getInstance(mActivity)\n                            .getAppDatabase()\n                            .tvShowSeasonDetailsDao()\n                            .find(tvShowSeasonDetails.getId());\n\n                    episodes = DatabaseClient\n                            .getInstance(mActivity)\n                            .getAppDatabase()\n                            .episodeDao()\n                            .getFromThisSeason(tvShow.getId() , tvShowSeasonDetails.getId());\n\n                    nextEpisode = DatabaseClient\n                            .getInstance(mActivity)\n                            .getAppDatabase()\n                            .episodeDao()\n                            .getNextEpisodeInSeason(tvShowSeasonDetails.getId());\n\n                    System.out.println(\"episodes in season details\" + episodes);\n                    Log.i(\"tvShowDetails Object\" , tvShowSeasonDetails.toString());\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n\n                            String logoLink = tvShow.getLogo_path();\n                            System.out.println(\"Logo Link\"+logoLink);\n\n                            if(!logoLink.equals(\"\")){\n                                logo.setVisibility(View.VISIBLE);\n                                Glide.with(mActivity)\n                                        .load(logoLink)\n                                        .apply(new RequestOptions()\n                                                .fitCenter()\n                                                .override(Target.SIZE_ORIGINAL))\n                                        .diskCacheStrategy(DiskCacheStrategy.ALL)\n                                        .placeholder(new ColorDrawable(Color.TRANSPARENT))\n                                        .into(logo);\n                            }\n                            if(logoLink.equals(\"\")&&tvShow.getName()!=null){\n                                tvShowTitleText.setVisibility(View.VISIBLE);\n                                tvShowTitleText.setText(tvShow.getName());\n                            }\n                            if (tvShowSeasonDetails.getName() != null) {\n                                seasonName.setVisibility(View.VISIBLE);\n                                seasonName.setText(tvShowSeasonDetails.getName());\n                            } else {\n                                seasonName.setVisibility(View.VISIBLE);\n                                seasonName.setText(\"Season\" + tvShowSeasonDetails.getSeason_number());\n                            }\n\n                            int season_number = tvShowSeasonDetails.getSeason_number();\n                            int number_of_episodes = episodes.size();\n                            if (number_of_episodes > 0) {\n//                                seasonNumber.setVisibility(View.VISIBLE);\n//                                seasonNumber.setText(\"Season \" + season_number);\n                                numberOfEpisodes.setVisibility(View.VISIBLE);\n                                numberOfEpisodes.setText(number_of_episodes + \" Episodes\");\n                            }\n//                            if (tvShow.getName() != null) {\n//                                tvShowTitleText.setText(tvShow.getName());\n//                            }\n                            if (tvShowSeasonDetails.getOverview().length() > 1) {\n//                                overviewText.setVisibility(View.VISIBLE);\n//                                overview.setVisibility(View.VISIBLE);\n                                overview.setText(tvShowSeasonDetails.getOverview());\n                            }\n//                            if (tvShowSeasonDetails.getPoster_path() != null) {\n//                                Glide.with(mActivity)\n//                                        .load(TMDB_IMAGE_BASE_URL + tvShowSeasonDetails.getPoster_path())\n//                                        .placeholder(new ColorDrawable(Color.BLACK))\n//                                        .into(poster);\n//                            } else {\n//                                Glide.with(mActivity)\n//                                        .load(TMDB_IMAGE_BASE_URL + tvShow.getPoster_path())\n//                                        .placeholder(new ColorDrawable(Color.BLACK))\n//                                        .into(poster);\n//                            }\n                            if (nextEpisode != null && nextEpisode.getStill_path() != null) {\n                                Glide.with(mActivity)\n                                        .load(TMDB_BACKDROP_IMAGE_BASE_URL + nextEpisode.getStill_path())\n                                        .placeholder(new ColorDrawable(Color.BLACK))\n                                        .into(backdrop);\n                            }else if (tvShowSeasonDetails.getPoster_path() != null) {\n                                Glide.with(mActivity)\n                                        .load(TMDB_BACKDROP_IMAGE_BASE_URL + tvShowSeasonDetails.getPoster_path())\n                                        .placeholder(new ColorDrawable(Color.BLACK))\n                                        .into(backdrop);\n                            }else if (tvShow.getBackdrop_path() != null) {\n                                Glide.with(mActivity)\n                                        .load(TMDB_BACKDROP_IMAGE_BASE_URL + tvShow.getBackdrop_path())\n                                        .placeholder(new ColorDrawable(Color.BLACK))\n                                        .into(backdrop);\n                            } else {\n                                if (tvShowSeasonDetails.getPoster_path() != null) {\n                                    Glide.with(mActivity)\n                                            .load(TMDB_BACKDROP_IMAGE_BASE_URL + tvShowSeasonDetails.getPoster_path())\n                                            .placeholder(new ColorDrawable(Color.BLACK))\n                                            .into(backdrop);\n                                }\n                            }\n                            if (nextEpisode != null) {\n                                mActivity.runOnUiThread(new Runnable() {\n                                    @Override\n                                    public void run() {\n                                        continueWatching.setText(\"S\" + nextEpisode.getSeason_number() + \" E\" + nextEpisode.getEpisode_number());\n//                                        play.setText(\"S\" + nextEpisode.getSeason_number() + \" E\" + nextEpisode.getEpisode_number());\n                                    }\n                                });\n                                if(nextEpisode.getName()!=null){\n                                    dot3.setVisibility(View.VISIBLE);\n                                    episodeTitle.setVisibility(View.VISIBLE);\n                                    episodeTitle.setText(nextEpisode.getName());\n                                }\n                            }\n\n\n                            loadEpisodesRecycler();\n                        }\n                    });\n                }\n            });\n            thread.start();\n        } catch (NullPointerException exception) {\n            Log.i(\"Error\" , exception.toString());\n        }\n    }\n\n    private void loadEpisodesRecycler() {\n        setOnClickListner();\n\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                Log.i(\" \" , \"in thread\");\n                mActivity.runOnUiThread(new Runnable() {\n                    @Override\n                    public void run() {\n                        Log.i(\" \" , episodes.toString());\n\n                        episodesRecycler = mActivity.findViewById(R.id.recyclerEpisodes);\n                        episodesRecycler.setVisibility(View.VISIBLE);\n                        ScaleCenterItemLayoutManager linearLayoutManager = new ScaleCenterItemLayoutManager(getContext() , LinearLayoutManager.VERTICAL , false);\n//                        recyclerView.setLayoutManager(new LinearLayoutManager(getContext(),RecyclerView.HORIZONTAL,false));\n                        episodesRecycler.setLayoutManager(linearLayoutManager);\n                        episodesRecycler.setHasFixedSize(true);\n                        episodeAdapter = new EpisodeAdapter(mActivity, episodes , listener);\n                        episodesRecycler.setAdapter(episodeAdapter);\n                        episodeAdapter.notifyDataSetChanged();\n                    }\n                });\n            }\n        });\n        thread.start();\n    }\n\n\n    private void setOnClickListner() {\n        SharedPreferences sharedPreferences = mActivity.getSharedPreferences(\"Settings\" , Context.MODE_PRIVATE);\n        boolean savedEXT = sharedPreferences.getBoolean(\"EXTERNAL_SETTING\" , false);\n\n        play.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                if (savedEXT) {\n                    //External Player\n                    addToLastPlayed();\n                    Intent intent = new Intent(Intent.ACTION_VIEW , Uri.parse(nextEpisode.getUrlString()));\n                    intent.setDataAndType(Uri.parse(nextEpisode.getUrlString()) , \"video/*\");\n                    startActivity(intent);\n                } else {\n                    //Play video\n                    addToLastPlayed();\n                    Intent in = new Intent(getActivity() , PlayerActivity.class);\n                    in.putExtra(\"url\" , nextEpisode.getUrlString());\n                    startActivity(in);\n                    Toast.makeText(getContext() , \"Play\" , Toast.LENGTH_LONG).show();\n                }\n            }\n\n            private void addToLastPlayed() {\n                Thread thread = new Thread(new Runnable() {\n                    @Override\n                    public void run() {\n                        DatabaseClient.getInstance(getContext()).getAppDatabase().episodeDao().updatePlayed(nextEpisode.getId());\n                    }\n                });\n                thread.start();\n            }\n        });\n        listener = new EpisodeAdapter.OnItemClickListener() {\n            @Override\n            public void onClick(View view , int position) {\n                EpisodeDetailsFragment episodeDetailsFragment = new EpisodeDetailsFragment(tvShow , tvShowSeasonDetails , episodes.get(position));\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in , R.anim.fade_out , R.anim.fade_in , R.anim.fade_out)\n                        .add(R.id.container , episodeDetailsFragment).addToBackStack(null).commit();\n            }\n        };\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/SettingsFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.app.Dialog;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.SharedPreferences;\nimport android.net.Uri;\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.Button;\nimport android.widget.ImageButton;\nimport android.widget.NumberPicker;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.appcompat.widget.AppCompatButton;\nimport androidx.appcompat.widget.SwitchCompat;\n\nimport com.google.android.material.switchmaterial.SwitchMaterial;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.model.GitHubResponse;\nimport com.theflexproject.thunder.utils.CheckForUpdates;\nimport com.theflexproject.thunder.utils.SettingsManager;\n\nimport java.io.IOException;\nimport java.util.concurrent.Executors;\n\npublic class SettingsFragment extends BaseFragment {\n\n    AppCompatButton addIndex;\n    AppCompatButton viewIndexes;\n    AppCompatButton importExportDatabase;\n    AppCompatButton checkForUpdate;\n\n    ImageButton discord;\n    ImageButton github;\n    ImageButton telegram;\n\n   SwitchCompat externalPlayerToggle;\n   SwitchMaterial castButtonToggle;\n   SwitchCompat refreshPeriodicallyToggle;\n\n    Dialog d;\n\n    SettingsManager settingsManager;\n\n    public SettingsFragment() {}\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        return inflater.inflate(R.layout.fragment_settings , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n        initWidgets();\n        setStatesOfToggleSwitches();\n        setMyOnClickListeners();\n    }\n\n    private void initWidgets() {\n        addIndex = mActivity.findViewById(R.id.addIndexButton);\n        viewIndexes = mActivity.findViewById(R.id.viewIndexes);\n        importExportDatabase = mActivity.findViewById(R.id.importExportDatabase);\n\n        checkForUpdate = mActivity.findViewById(R.id.checkforUpdates);\n\n        discord = mActivity.findViewById(R.id.discordImageButton);\n        github = mActivity.findViewById(R.id.githubImageButton);\n        telegram = mActivity.findViewById(R.id.telegramImageButton);\n\n\n        externalPlayerToggle = mActivity.findViewById(R.id.externalPlayerToggle);\n//        castButtonToggle = mActivity.findViewById(R.id.castButtonVisibility);\n        refreshPeriodicallyToggle =mActivity.findViewById(R.id.refreshPeriodicallyToggle);\n\n        settingsManager = new SettingsManager(mActivity);\n\n        d = new Dialog(mActivity);\n    }\n\n    private void setMyOnClickListeners() {\n\n        addIndex.setOnClickListener(v -> {\n            AddNewIndexFragment nextFrag= new AddNewIndexFragment();\n            mActivity.getSupportFragmentManager().beginTransaction()\n                    .setCustomAnimations(R.anim.fade_in,R.anim.fade_out)\n                    .replace(R.id.settingsContainer, nextFrag).addToBackStack(null).commit();\n        });\n\n        viewIndexes.setOnClickListener(v -> {\n            ManageIndexesFragment manageIndexesFragment = new ManageIndexesFragment();\n            mActivity.getSupportFragmentManager().beginTransaction()\n                    .setCustomAnimations(R.anim.from_right,R.anim.to_left,R.anim.from_left,R.anim.to_right)\n                    .replace(R.id.settingsContainer, manageIndexesFragment).addToBackStack(null).commit();\n        });\n\n        importExportDatabase.setOnClickListener( v -> {\n            ManageDatabaseFragment manageDatabaseFragment = new ManageDatabaseFragment();\n            mActivity.getSupportFragmentManager().beginTransaction()\n                    .setCustomAnimations(R.anim.from_right,R.anim.to_left,R.anim.from_left,R.anim.to_right)\n                    .replace(R.id.settingsContainer, manageDatabaseFragment).addToBackStack(null).commit();\n        });\n\n        externalPlayerToggle.setOnCheckedChangeListener((buttonView , isChecked) -> {\n                    settingsManager.saveExternal(isChecked);\n                });\n\n        refreshPeriodicallyToggle.setOnCheckedChangeListener((buttonView , isChecked) -> {\n//            settingsManager.saveRefresh(isChecked);\n            if(isChecked){\n                showTimeDialog();\n            }else {\n                settingsManager.saveRefresh(false,0);\n            }\n        });\n\n        checkForUpdate.setOnClickListener(v -> {\n            Executors.newSingleThreadExecutor().execute(new Runnable() {\n                @Override\n                public void run() {\n                    try {\n                        GitHubResponse[] gitHubResponses = new CheckForUpdates().checkForUpdates();\n                        if(gitHubResponses!=null){\n                            UpdateAppFragment updateAppFragment = new UpdateAppFragment(gitHubResponses);\n                            mActivity.getSupportFragmentManager().beginTransaction()\n                                    .setCustomAnimations(R.anim.from_right,R.anim.to_left,R.anim.from_left,R.anim.to_right)\n                                    .add(R.id.container,updateAppFragment).addToBackStack(null).commit();\n                        }else {\n                            mActivity.runOnUiThread(new Runnable() {\n                                public void run() {\n                                    Toast.makeText(mActivity,\"Latest Version\",Toast.LENGTH_LONG).show();\n                                }\n                            });\n                        }\n                    } catch (IOException e) {\n                        e.printStackTrace();\n                    }\n                }\n            });\n\n        });\n\n        //        castButtonToggle.setOnCheckedChangeListener(\n//                (buttonView , isChecked) -> {\n//                    if(isChecked){settingsManager.saveCast(true);}else{settingsManager.saveCast(false);}\n//                });\n\n\n        discord.setOnClickListener(v -> startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(\"https://discord.gg/NWrz5euMJs\"))));\n        github.setOnClickListener(v -> startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(\"https://github.com/anujd64/Thunder\"))));\n        telegram.setOnClickListener(v -> startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(\"https://t.me/+qbLDmvEgC65lMWI1\"))));\n\n    }\n\n    private void setStatesOfToggleSwitches() {\n        SharedPreferences sharedPreferences = mActivity.getSharedPreferences(\"Settings\", Context.MODE_PRIVATE);\n        boolean savedREF = sharedPreferences.getBoolean(\"REFRESH_SETTING\", false);\n        String s = \"Refresh at : \"+ sharedPreferences.getInt(\"REFRESH_TIME\",0)+\":00\";\n\n        mActivity.runOnUiThread(new Runnable() {\n            @Override\n            public void run() {\n                refreshPeriodicallyToggle.setText(s);\n            }\n        });\n\n        boolean savedEXT = sharedPreferences.getBoolean(\"EXTERNAL_SETTING\", false);\n        boolean savedCAST = sharedPreferences.getBoolean(\"CAST_SETTING\", false);\n        externalPlayerToggle.setChecked(savedEXT);\n        refreshPeriodicallyToggle.setChecked(savedREF);\n\n//        castButtonToggle.setChecked(savedCAST);\n    }\n\n\n    Integer timeToRefresh =0;\n    public void showTimeDialog()\n    {\n\n        d.setTitle(\"SelectTime\");\n        d.setContentView(R.layout.refresh_time_dialog);\n        Button b1 = d.findViewById(R.id.button1);\n//        Button b2 = (Button) d.findViewById(R.id.button2);\n        final NumberPicker np = d.findViewById(R.id.numberPicker1);\n        np.setMaxValue(23);\n        np.setMinValue(0);\n        np.setWrapSelectorWheel(false);\n        np.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() {\n            @Override\n            public void onValueChange(NumberPicker picker , int oldVal , int newVal) {\n                timeToRefresh =newVal;\n            }\n        });\n        b1.setOnClickListener(new View.OnClickListener()\n        {\n            @Override\n            public void onClick(View v) {\n                settingsManager.saveRefresh(true,timeToRefresh);\n                d.dismiss();\n            }\n        });\n//        b2.setOnClickListener(new View.OnClickListener()\n//        {\n//            @Override\n//            public void onClick(View v) {\n//                d.dismiss();\n//            }\n//        });\n\n\n        d.show();\n\n    }\n\n\n\n\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/TvShowDetailsFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport static com.theflexproject.thunder.Constants.TMDB_BACKDROP_IMAGE_BASE_URL;\n\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.SharedPreferences;\nimport android.graphics.Color;\nimport android.graphics.drawable.ColorDrawable;\nimport android.net.Uri;\nimport android.os.Bundle;\nimport android.util.DisplayMetrics;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.ImageButton;\nimport android.widget.ImageView;\nimport android.widget.TableRow;\nimport android.widget.TextView;\nimport android.widget.Toast;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.GridLayoutManager;\nimport androidx.recyclerview.widget.LinearLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.bumptech.glide.Glide;\nimport com.bumptech.glide.load.engine.DiskCacheStrategy;\nimport com.bumptech.glide.request.RequestOptions;\nimport com.bumptech.glide.request.target.Target;\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.MediaAdapter;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.Genre;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\nimport com.theflexproject.thunder.player.PlayerActivity;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class TvShowDetailsFragment extends BaseFragment {\n\n    int tvShowId;\n    TextView tvShowTitleText;\n    TextView numberOfSeasons;\n    TextView numberOfEpisodes;\n\n    TextView overview;\n    TextView listOfFiles;\n    ImageButton play;\n    ImageButton changeTMDB;\n    ImageButton addToList;\n\n\n\n    TableRow genres;\n    TableRow status;\n    TableRow type;\n    TableRow votesAvg;\n    TableRow votesCount;\n\n    TextView statusText;\n    TextView typeText;\n    TextView genresText;\n\n    ImageView logo;\n    TextView continueWatching;\n    ImageView dot3;\n    ImageView dot1;\n    TextView episodeTitle;\n\n\n    TextView voteAvgText;\n    TextView votesCountText;\n    TextView ratingsText;\n    ImageView ratings;\n\n    ImageView poster;\n    ImageView backdrop;\n    TVShow tvShowDetails;\n\n    RecyclerView recyclerViewSeasons;\n    List<TVShowSeasonDetails> seasonsList;\n    MediaAdapter mediaAdapter;\n    MediaAdapter.OnItemClickListener listenerSeasonItem;\n\n    Episode nextEpisode;\n\n\n    public TvShowDetailsFragment() {\n        // Required empty public constructor\n    }\n    public TvShowDetailsFragment(int tvShowId) {\n        this.tvShowId = tvShowId;\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_show_details_new , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n\n        initWidgets(view);\n        loadDetails();\n    }\n\n    private void initWidgets(View view) {\n        tvShowTitleText = view.findViewById(R.id.tvShowTitle);\n        logo = view.findViewById(R.id.tvLogo);\n        numberOfSeasons = view.findViewById(R.id.noOfSeasons);\n        numberOfEpisodes = view.findViewById(R.id.noOfEpisodes);\n        overview = view.findViewById(R.id.overviewDescTVShow);\n//        poster = view.findViewById(R.id.tvShowPosterInDetails);\n        backdrop = view.findViewById(R.id.tvShowBackdrop);\n\n//        //TableRows that do not change\n//        type = view.findViewById(R.id.tvShowType);\n//        status = view.findViewById(R.id.tvShowStatus);\n//        genres = view.findViewById(R.id.tvShowGenres);\n\n        //TextViews that change\n//        statusText = view.findViewById(R.id.tvShowStatusText);\n//        typeText = view.findViewById(R.id.tvShowtypeText);\n        genresText = view.findViewById(R.id.tvShowGenresText);\n        continueWatching = view.findViewById(R.id.continueWatchingText);\n        dot3 = view.findViewById(R.id.dot3);\n        dot1 = view.findViewById(R.id.dot);\n        episodeTitle = view.findViewById(R.id.episodeNameInTv);\n//        ratings = view.findViewById(R.id.ratingsTV);\n        ratingsText = view.findViewById(R.id.ratingsTVText);\n\n        play = view.findViewById(R.id.playInTVShowDetails);\n        changeTMDB = view.findViewById(R.id.changeShowTMDBId);\n        addToList = view.findViewById(R.id.addToListButtonTV);\n\n\n\n\n    }\n\n    private void loadDetails(){\n        try {\n            Thread thread = new Thread(new Runnable() {\n                @Override\n                public void run() {\n                    tvShowDetails = DatabaseClient\n                            .getInstance(getContext())\n                            .getAppDatabase()\n                            .tvShowDao()\n                            .find(tvShowId);\n\n                    nextEpisode = DatabaseClient\n                            .getInstance(getContext())\n                            .getAppDatabase()\n                            .episodeDao()\n                            .getNextEpisodeInTVShow(tvShowDetails.getId());\n                    if(nextEpisode==null){\n                        nextEpisode = DatabaseClient.getInstance(getContext())\n                                .getAppDatabase()\n                                .episodeDao()\n                                .getFirstAvailableEpisode(tvShowDetails.getId());\n                    }\n\n                    Log.i(\"tvShowDetails Object\",tvShowDetails.toString());\n                    mActivity.runOnUiThread(new Runnable() {\n                        @Override\n                        public void run() {\n\n                            String logoLink = tvShowDetails.getLogo_path();\n                            System.out.println(\"Logo Link\"+logoLink);\n\n                            if(!logoLink.equals(\"\")){\n                                logo.setVisibility(View.VISIBLE);\n\n                                Glide.with(mActivity)\n                                        .load(logoLink)\n                                        .apply(new RequestOptions()\n                                                .fitCenter()\n                                                .override(Target.SIZE_ORIGINAL))\n                                        .diskCacheStrategy(DiskCacheStrategy.ALL)\n                                        .placeholder(new ColorDrawable(Color.TRANSPARENT))\n                                        .into(logo);\n                            }\n                            if(logoLink.equals(\"\")&&tvShowDetails.getName()!=null){\n                                tvShowTitleText.setVisibility(View.VISIBLE);\n                                tvShowTitleText.setText(tvShowDetails.getName());\n                            }\n                            if(tvShowDetails.getGenres()!=null){\n//                                genres.setVisibility(View.VISIBLE);\n                                ArrayList<Genre> genres = tvShowDetails.getGenres();\n                                StringBuilder sb = new StringBuilder();\n                                for (int i=0;i<genres.size();i++) {\n                                    Genre genre = genres.get(i);\n                                    if(genre!=null){\n                                        if(i== genres.size()-1){sb.append(genre.getName());}\n                                        else {sb.append(genre.getName()).append(\", \");}\n                                    }\n                                }\n                                System.out.println(\"genres\"+ genres);\n                                genresText.setText(sb.toString());\n                            }\n                            if(tvShowDetails.getVote_average()!=0){\n//                                ratings.setVisibility(View.VISIBLE);\n                                dot1.setVisibility(View.VISIBLE);\n                                ratingsText.setVisibility(View.VISIBLE);\n                                String rating = (int)(tvShowDetails.getVote_average()*10)+\"%\" ;\n                                ratingsText.setText(rating);\n                            }\n                            int number_of_seasons = tvShowDetails.getNumber_of_seasons();\n                            int number_of_episodes = tvShowDetails.getNumber_of_episodes();\n                            if(number_of_seasons!=0) {\n                                numberOfSeasons.setVisibility(View.VISIBLE);\n                                numberOfSeasons.setText(+number_of_seasons+\" Seasons\");\n                                numberOfEpisodes.setVisibility(View.VISIBLE);\n                                numberOfEpisodes.setText(number_of_episodes+\" Episodes\");\n                            }\n//                            if(tvShowDetails.getType()!=null){\n//                                type.setVisibility(View.VISIBLE);\n//                                typeText.setText(tvShowDetails.getType());\n//                            }\n//                            if(tvShowDetails.getStatus()!=null){\n//                                status.setVisibility(View.VISIBLE);\n//                                statusText.setText(tvShowDetails.getStatus());\n//                            }\n                            if(tvShowDetails.getOverview()!=null){overview.setText(tvShowDetails.getOverview());}\n                            if(tvShowDetails.getPoster_path()!=null) {\n//                                Glide.with(mActivity)\n//                                        .load(TMDB_IMAGE_BASE_URL + tvShowDetails.getPoster_path())\n//                                        .placeholder(new ColorDrawable(Color.BLACK))\n//                                        .diskCacheStrategy(DiskCacheStrategy.ALL)\n//                                        .into(poster);\n                            }\n                            if(tvShowDetails.getBackdrop_path()!=null){\n                                Glide.with(mActivity)\n                                        .load(TMDB_BACKDROP_IMAGE_BASE_URL + tvShowDetails.getBackdrop_path())\n                                        .placeholder(new ColorDrawable(Color.BLACK))\n                                        .diskCacheStrategy(DiskCacheStrategy.ALL)\n                                        .into(backdrop);\n                            }\n                            else if(tvShowDetails.getPoster_path()!=null){\n                                    Glide.with(mActivity)\n                                            .load(TMDB_BACKDROP_IMAGE_BASE_URL + tvShowDetails.getPoster_path())\n                                            .placeholder(new ColorDrawable(Color.BLACK))\n                                            .diskCacheStrategy(DiskCacheStrategy.ALL)\n                                            .into(backdrop);\n                            }\n                            if((nextEpisode!=null && nextEpisode.getStill_path()!=null)) {\n                                Glide.with(mActivity)\n                                        .load(TMDB_BACKDROP_IMAGE_BASE_URL + nextEpisode.getStill_path())\n                                        .placeholder(new ColorDrawable(Color.BLACK))\n                                        .diskCacheStrategy(DiskCacheStrategy.ALL)\n                                        .into(backdrop);\n                            }\n\n                            if (nextEpisode != null) {\n                                String buttonText = \"S\" + nextEpisode.getSeason_number() + \" E\" + nextEpisode.getEpisode_number();\n                                System.out.println(buttonText);\n                                continueWatching.setText(buttonText);\n//                            play.setText(buttonText);\n                                if(nextEpisode.getName()!=null){\n                                    dot3.setVisibility(View.VISIBLE);\n                                    episodeTitle.setVisibility(View.VISIBLE);\n                                    episodeTitle.setText(nextEpisode.getName());\n                                }\n                            }\n\n                        }\n                    });\n\n                    loadSeasonRecycler();\n\n                }});\n            thread.start();\n\n//            Handler handler = new Handler();\n//            handler.postDelayed(new Runnable() {\n//                @Override\n//                public void run() {\n//                    loadSeasonRecycler();\n//                }\n//            },300);\n        }catch (NullPointerException exception){Log.i(\"Error\",exception.toString());}\n    }\n\n    private void loadSeasonRecycler() {\n\n        setOnClickListner();\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                Log.i(\" \", \"in thread\");\n                seasonsList = DatabaseClient\n                        .getInstance(mActivity)\n                        .getAppDatabase()\n                        .tvShowSeasonDetailsDao()\n                        .findByShowId(tvShowDetails.getId());\n\n//                List<TVShowSeasonDetails> emptySeasons = new ArrayList<>();\n//                for(TVShowSeasonDetails season : seasonsList) {\n//                    List<Episode> episodeList = DatabaseClient\n//                            .getInstance(mActivity)\n//                            .getAppDatabase()\n//                            .episodeDao()\n//                            .getFromThisSeason(tvShowDetails.getId(),season.getId());\n//                    if(episodeList==null || episodeList.size()==0){\n//                        emptySeasons.add(season);\n//                        DatabaseClient.getInstance(mActivity).getAppDatabase().tvShowSeasonDetailsDao().deleteById(season.getId());\n//                    }\n//                }\n//                seasonsList.removeAll(emptySeasons);\n                mActivity.runOnUiThread(new Runnable() {\n                    @Override\n                    public void run() {\n                        Log.i(\"SeasonList in loadSeas\", seasonsList.toString());\n                        recyclerViewSeasons = mActivity.findViewById(R.id.recyclerSeasons);\n//                        ScaleCenterItemLayoutManager linearLayoutManager = new ScaleCenterItemLayoutManager(getContext(), LinearLayoutManager.HORIZONTAL,false);\n\n\n                        DisplayMetrics displayMetrics = mActivity.getResources().getDisplayMetrics();\n                        float dpWidth = displayMetrics.widthPixels / displayMetrics.density;\n                        if(dpWidth>600f)\n                        {\n                            recyclerViewSeasons.setLayoutManager(new LinearLayoutManager(getContext(),RecyclerView.HORIZONTAL,false));\n                        }else {\n                            recyclerViewSeasons.setLayoutManager(new GridLayoutManager(getContext(),3));\n                        }\n\n\n//                        recyclerViewSeasons.setLayoutManager(linearLayoutManager);\n                        recyclerViewSeasons.setHasFixedSize(true);\n                        mediaAdapter = new MediaAdapter(getContext(),(List<MyMedia>)(List<?>) seasonsList,listenerSeasonItem);\n                        recyclerViewSeasons.setAdapter(mediaAdapter);\n                        mediaAdapter.notifyDataSetChanged();\n                    }\n                });\n            }});\n        thread.start();\n    }\n\n    private void setOnClickListner(){\n        SharedPreferences sharedPreferences = mActivity.getSharedPreferences(\"Settings\" , Context.MODE_PRIVATE);\n        boolean savedEXT = sharedPreferences.getBoolean(\"EXTERNAL_SETTING\" , false);\n\n\n        play.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                if (savedEXT) {\n                    //External Player\n                    addToLastPlayed();\n                    Intent intent = new Intent(Intent.ACTION_VIEW , Uri.parse(nextEpisode.getUrlString()));\n                    intent.setDataAndType(Uri.parse(nextEpisode.getUrlString()) , \"video/*\");\n                    startActivity(intent);\n                } else {\n                    //Play video\n                    addToLastPlayed();\n                    Intent in = new Intent(getActivity() , PlayerActivity.class);\n                    in.putExtra(\"url\" , nextEpisode.getUrlString());\n                    startActivity(in);\n                    Toast.makeText(getContext() , \"Play\" , Toast.LENGTH_LONG).show();\n                }\n            }\n            private void addToLastPlayed() {\n                Thread thread = new Thread(new Runnable() {\n                    @Override\n                    public void run() {\n                        DatabaseClient.getInstance(getContext()).getAppDatabase().episodeDao().updatePlayed(nextEpisode.getId());\n                    }\n                });\n                thread.start();\n            }\n        });\n\n        addToList.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                if(tvShowDetails.getAddToList()!=1){\n                    new Thread(new Runnable() {\n                        @Override\n                        public void run() {\n                            DatabaseClient\n                                    .getInstance(mActivity)\n                                    .getAppDatabase()\n                                    .tvShowDao()\n                                    .updateAddToList(tvShowId);\n                        }\n                    }).start();\n\n                    Toast.makeText(mActivity , \"Added To List\" , Toast.LENGTH_LONG).show();\n\n                }else{\n                    new Thread(new Runnable() {\n                        @Override\n                        public void run() {\n                            DatabaseClient\n                                    .getInstance(mActivity)\n                                    .getAppDatabase()\n                                    .tvShowDao()\n                                    .updateRemoveFromList(tvShowId);\n                        }\n                    }).start();\n\n                    Toast.makeText(mActivity , \"Removed From List\" , Toast.LENGTH_LONG).show();\n                }\n\n            }\n        });\n\n\n        changeTMDB.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                ChangeTMDBFragment changeTMDBFragment = new ChangeTMDBFragment(tvShowDetails);\n\n                mActivity.getSupportFragmentManager().beginTransaction()\n                        .setCustomAnimations(R.anim.fade_in,R.anim.fade_out)\n                        .add(R.id.container,changeTMDBFragment).addToBackStack(null).commit();\n            }\n        });\n\n\n        listenerSeasonItem = (view , position) -> {\n            SeasonDetailsFragment seasonDetailsFragment = new SeasonDetailsFragment(tvShowDetails,seasonsList.get(position));\n            mActivity.getSupportFragmentManager().beginTransaction()\n                    .setCustomAnimations(R.anim.fade_in,R.anim.fade_out,R.anim.fade_in,R.anim.fade_out)\n                    .add(R.id.container,seasonDetailsFragment).addToBackStack(null).commit();\n        };\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/TvShowsLibraryFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.os.Bundle;\nimport android.util.DisplayMetrics;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\nimport androidx.recyclerview.widget.GridLayoutManager;\nimport androidx.recyclerview.widget.RecyclerView;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.adapter.MediaAdapter;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\n\nimport java.util.List;\n\n\npublic class TvShowsLibraryFragment extends BaseFragment {\n\n    RecyclerView recyclerViewTVShows;\n    MediaAdapter mediaAdapter;\n    MediaAdapter.OnItemClickListener listenerTVShow;\n    List<TVShow> tvShowList;\n    public TvShowsLibraryFragment() {\n        // Required empty public constructor\n    }\n\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_tv_shows_library , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n        showLibraryTVShows();\n    }\n    void showLibraryTVShows() {\n        setOnClickListner();\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                Log.i(\" \" , \"in thread\");\n                if(tvShowList==null){\n                    tvShowList = DatabaseClient\n                            .getInstance(mActivity)\n                            .getAppDatabase()\n                            .tvShowDao().getAllByTitles();\n\n//                    List<TVShow> emptyTVShows = new ArrayList<>();\n//                    for(TVShow tvShow : tvShowList) {\n//                        List<TVShowSeasonDetails> seasonsList = DatabaseClient\n//                                .getInstance(mActivity)\n//                                .getAppDatabase()\n//                                .tvShowSeasonDetailsDao()\n//                                .findByShowId(tvShow.getId());\n//                        if(seasonsList==null|| seasonsList.size()==0){emptyTVShows.add(tvShow);\n//                            DatabaseClient.getInstance(mActivity).getAppDatabase().tvShowDao().deleteById(tvShow.getId());\n//                        }\n//                    }\n//                    tvShowList.removeAll(emptyTVShows);\n                }\n                showRecyclerTVShows(tvShowList);\n            }\n        });\n        thread.start();\n    }\n\n    private void showRecyclerTVShows(List<TVShow> tvShowList) {\n        mActivity.runOnUiThread(() -> {\n            DisplayMetrics displayMetrics = mActivity.getResources().getDisplayMetrics();\n            float dpWidth = displayMetrics.widthPixels / displayMetrics.density;\n            int noOfItems;\n            noOfItems = (int) (dpWidth/120);\n//            if (dpWidth < 600f) {\n//                noOfItems = 3;\n//            } else if (dpWidth < 840f) {\n//                noOfItems = 6;\n//            } else {\n//                noOfItems = 8;\n//            }\n            Log.i(\" \" , tvShowList.toString());\n            recyclerViewTVShows = mActivity.findViewById(R.id.recyclerLibraryTVShows);\n            if(recyclerViewTVShows!=null){\n                recyclerViewTVShows.setLayoutManager(new GridLayoutManager(mActivity , noOfItems));\n                recyclerViewTVShows.setHasFixedSize(true);\n                mediaAdapter = new MediaAdapter(mActivity, (List<MyMedia>)(List<?>)tvShowList, listenerTVShow);\n                recyclerViewTVShows.setAdapter(mediaAdapter);\n                mediaAdapter.notifyDataSetChanged();\n            }\n        });\n    }\n\n    private void setOnClickListner() {\n        listenerTVShow = (view , position) -> {\n            TvShowDetailsFragment tvShowDetailsFragment = new TvShowDetailsFragment(tvShowList.get(position).getId());\n            mActivity.getSupportFragmentManager().beginTransaction()\n                    .setCustomAnimations(R.anim.fade_in , R.anim.fade_out)\n                    .add(R.id.container , tvShowDetailsFragment)\n                    .addToBackStack(null)\n                    .commit();\n        };\n    }\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/fragments/UpdateAppFragment.java",
    "content": "package com.theflexproject.thunder.fragments;\n\nimport android.content.Intent;\nimport android.net.Uri;\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.Button;\nimport android.widget.TextView;\n\nimport androidx.annotation.NonNull;\nimport androidx.annotation.Nullable;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.model.GitHubResponse;\n\npublic class UpdateAppFragment extends BaseFragment {\n\n\n    GitHubResponse[] gitHubResponses;\n    TextView whatsNew;\n    Button update;\n    Button notNow;\n\n\n    public UpdateAppFragment(GitHubResponse[] gitHubResponse) {\n        // Required empty public constructor\n        this.gitHubResponses=gitHubResponse;\n    }\n\n\n    @Override\n    public void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n    }\n\n    @Override\n    public View onCreateView(LayoutInflater inflater , ViewGroup container ,\n                             Bundle savedInstanceState) {\n        // Inflate the layout for this fragment\n        return inflater.inflate(R.layout.fragment_update_app , container , false);\n    }\n\n    @Override\n    public void onViewCreated(@NonNull View view , @Nullable Bundle savedInstanceState) {\n        super.onViewCreated(view , savedInstanceState);\n\n        update = mActivity.findViewById(R.id.update);\n        notNow = mActivity.findViewById(R.id.NotNow);\n\n        String whatsNewString = gitHubResponses[0].body;\n        whatsNew= mActivity.findViewById(R.id.whatsNew);\n        whatsNew.setText(whatsNewString);\n\n        update.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(gitHubResponses[0].html_url)));\n            }\n        });\n        notNow.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                mActivity.getSupportFragmentManager().popBackStack();\n            }\n        });\n    }\n\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/Data.java",
    "content": "package com.theflexproject.thunder.model;\n\nimport java.util.ArrayList;\n\npublic class Data {\n    public ArrayList<File> files;\n\n    @Override\n    public String toString() {\n        return \"Data{\" +\n                \"files=\" + files +\n                '}';\n    }\n\n    public ArrayList<File> getFiles() {\n        return files;\n    }\n\n    public void setFiles(ArrayList<File> files) {\n        this.files = files;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/ExternalIds.java",
    "content": "package com.theflexproject.thunder.model;\n\npublic class ExternalIds{\n    public int id;\n    public String imdb_id;\n    public Object freebase_mid;\n    public Object freebase_id;\n    public int tvdb_id;\n    public Object tvrage_id;\n    public Object facebook_id;\n    public String instagram_id;\n    public String twitter_id;\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getImdb_id() {\n        return imdb_id;\n    }\n\n    public void setImdb_id(String imdb_id) {\n        this.imdb_id = imdb_id;\n    }\n\n    public Object getFreebase_mid() {\n        return freebase_mid;\n    }\n\n    public void setFreebase_mid(Object freebase_mid) {\n        this.freebase_mid = freebase_mid;\n    }\n\n    public Object getFreebase_id() {\n        return freebase_id;\n    }\n\n    public void setFreebase_id(Object freebase_id) {\n        this.freebase_id = freebase_id;\n    }\n\n    public int getTvdb_id() {\n        return tvdb_id;\n    }\n\n    public void setTvdb_id(int tvdb_id) {\n        this.tvdb_id = tvdb_id;\n    }\n\n    public Object getTvrage_id() {\n        return tvrage_id;\n    }\n\n    public void setTvrage_id(Object tvrage_id) {\n        this.tvrage_id = tvrage_id;\n    }\n\n    public Object getFacebook_id() {\n        return facebook_id;\n    }\n\n    public void setFacebook_id(Object facebook_id) {\n        this.facebook_id = facebook_id;\n    }\n\n    public String getInstagram_id() {\n        return instagram_id;\n    }\n\n    public void setInstagram_id(String instagram_id) {\n        this.instagram_id = instagram_id;\n    }\n\n    public String getTwitter_id() {\n        return twitter_id;\n    }\n\n    public void setTwitter_id(String twitter_id) {\n        this.twitter_id = twitter_id;\n    }\n\n    @Override\n    public String toString() {\n        return \"ExternalIds{\" +\n                \"id=\" + id +\n                \", imdb_id='\" + imdb_id + '\\'' +\n                \", freebase_mid=\" + freebase_mid +\n                \", freebase_id=\" + freebase_id +\n                \", tvdb_id=\" + tvdb_id +\n                \", tvrage_id=\" + tvrage_id +\n                \", facebook_id=\" + facebook_id +\n                \", instagram_id='\" + instagram_id + '\\'' +\n                \", twitter_id='\" + twitter_id + '\\'' +\n                '}';\n    }\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/FanArt/Clearlogo.java",
    "content": "package com.theflexproject.thunder.model.FanArt;\n\npublic class Clearlogo {\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    @Override\n    public String toString() {\n        return \"Clearlogo{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/FanArt/FanArtMovieResponseModel.java",
    "content": "package com.theflexproject.thunder.model.FanArt;\n\nimport java.util.ArrayList;\n\n\n\npublic class FanArtMovieResponseModel{\n    public String name;\n    public String tmdb_id;\n    public String imdb_id;\n    public ArrayList<Hdmovielogo> hdmovielogo;\n    public ArrayList<Moviebackground> moviebackground;\n    public ArrayList<Movieposter> movieposter;\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getTmdb_id() {\n        return tmdb_id;\n    }\n\n    public void setTmdb_id(String tmdb_id) {\n        this.tmdb_id = tmdb_id;\n    }\n\n    public String getImdb_id() {\n        return imdb_id;\n    }\n\n    public void setImdb_id(String imdb_id) {\n        this.imdb_id = imdb_id;\n    }\n\n    public ArrayList<Hdmovielogo> getHdmovielogo() {\n        return hdmovielogo;\n    }\n\n    public void setHdmovielogo(ArrayList<Hdmovielogo> hdmovielogo) {\n        this.hdmovielogo = hdmovielogo;\n    }\n\n    public ArrayList<Moviebackground> getMoviebackground() {\n        return moviebackground;\n    }\n\n    public void setMoviebackground(ArrayList<Moviebackground> moviebackground) {\n        this.moviebackground = moviebackground;\n    }\n\n    public ArrayList<Movieposter> getMovieposter() {\n        return movieposter;\n    }\n\n    public void setMovieposter(ArrayList<Movieposter> movieposter) {\n        this.movieposter = movieposter;\n    }\n\n    public ArrayList<Hdmovieclearart> getHdmovieclearart() {\n        return hdmovieclearart;\n    }\n\n    public void setHdmovieclearart(ArrayList<Hdmovieclearart> hdmovieclearart) {\n        this.hdmovieclearart = hdmovieclearart;\n    }\n\n    public ArrayList<Movielogo> getMovielogo() {\n        return movielogo;\n    }\n\n    public void setMovielogo(ArrayList<Movielogo> movielogo) {\n        this.movielogo = movielogo;\n    }\n\n    public ArrayList<Moviethumb> getMoviethumb() {\n        return moviethumb;\n    }\n\n    public void setMoviethumb(ArrayList<Moviethumb> moviethumb) {\n        this.moviethumb = moviethumb;\n    }\n\n    public ArrayList<Moviedisc> getMoviedisc() {\n        return moviedisc;\n    }\n\n    public void setMoviedisc(ArrayList<Moviedisc> moviedisc) {\n        this.moviedisc = moviedisc;\n    }\n\n    public ArrayList<Moviebanner> getMoviebanner() {\n        return moviebanner;\n    }\n\n    public void setMoviebanner(ArrayList<Moviebanner> moviebanner) {\n        this.moviebanner = moviebanner;\n    }\n\n    public ArrayList<Movieart> getMovieart() {\n        return movieart;\n    }\n\n    public void setMovieart(ArrayList<Movieart> movieart) {\n        this.movieart = movieart;\n    }\n\n    public ArrayList<Hdmovieclearart> hdmovieclearart;\n    public ArrayList<Movielogo> movielogo;\n    public ArrayList<Moviethumb> moviethumb;\n    public ArrayList<Moviedisc> moviedisc;\n    public ArrayList<Moviebanner> moviebanner;\n    public ArrayList<Movieart> movieart;\n\n    @Override\n    public String toString() {\n        return \"FanArtMovieResponseModel{\" +\n                \"name='\" + name + '\\'' +\n                \", tmdb_id='\" + tmdb_id + '\\'' +\n                \", imdb_id='\" + imdb_id + '\\'' +\n                \", hdmovielogo=\" + hdmovielogo +\n                \", moviebackground=\" + moviebackground +\n                \", movieposter=\" + movieposter +\n                \", hdmovieclearart=\" + hdmovieclearart +\n                \", movielogo=\" + movielogo +\n                \", moviethumb=\" + moviethumb +\n                \", moviedisc=\" + moviedisc +\n                \", moviebanner=\" + moviebanner +\n                \", movieart=\" + movieart +\n                '}';\n    }\n}\n\nclass Hdmovieclearart{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n\n    @Override\n    public String toString() {\n        return \"Hdmovieclearart{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n}\n\nclass Movieart{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n\n    @Override\n    public String toString() {\n        return \"Movieart{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n}\n\nclass Moviebackground{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n\n    @Override\n    public String toString() {\n        return \"Moviebackground{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n}\n\nclass Moviebanner{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n\n    @Override\n    public String toString() {\n        return \"Moviebanner{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n}\n\nclass Moviedisc{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n    public String disc;\n    public String disc_type;\n}\n\nclass Movieposter{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n\n    @Override\n    public String toString() {\n        return \"Movieposter{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n}\n\nclass Moviethumb{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n\n    @Override\n    public String toString() {\n        return \"Moviethumb{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n}\n\n\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/FanArt/FanArtTvResponseModel.java",
    "content": "package com.theflexproject.thunder.model.FanArt;\n\nimport java.util.ArrayList;\n\n class Characterart{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n}\n\n class Clearart{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n}\n\nclass Hdclearart{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n}\n\npublic class FanArtTvResponseModel{\n    public String name;\n    public String thetvdb_id;\n    public ArrayList<Clearlogo> clearlogo;\n    public ArrayList<Hdtvlogo> hdtvlogo;\n    public ArrayList<Clearart> clearart;\n    public ArrayList<Showbackground> showbackground;\n    public ArrayList<Tvthumb> tvthumb;\n    public ArrayList<Seasonposter> seasonposter;\n    public ArrayList<Seasonthumb> seasonthumb;\n    public ArrayList<Hdclearart> hdclearart;\n    public ArrayList<Tvbanner> tvbanner;\n    public ArrayList<Characterart> characterart;\n    public ArrayList<Tvposter> tvposter;\n    public ArrayList<Seasonbanner> seasonbanner;\n\n    @Override\n    public String toString() {\n        return \"FanArtTvResponseModel{\" +\n                \"name='\" + name + '\\'' +\n                \", thetvdb_id='\" + thetvdb_id + '\\'' +\n                \", clearlogo=\" + clearlogo +\n                \", hdtvlogo=\" + hdtvlogo +\n                \", clearart=\" + clearart +\n                \", showbackground=\" + showbackground +\n                \", tvthumb=\" + tvthumb +\n                \", seasonposter=\" + seasonposter +\n                \", seasonthumb=\" + seasonthumb +\n                \", hdclearart=\" + hdclearart +\n                \", tvbanner=\" + tvbanner +\n                \", characterart=\" + characterart +\n                \", tvposter=\" + tvposter +\n                \", seasonbanner=\" + seasonbanner +\n                '}';\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getThetvdb_id() {\n        return thetvdb_id;\n    }\n\n    public void setThetvdb_id(String thetvdb_id) {\n        this.thetvdb_id = thetvdb_id;\n    }\n\n    public ArrayList<Clearlogo> getClearlogo() {\n        return clearlogo;\n    }\n\n    public void setClearlogo(ArrayList<Clearlogo> clearlogo) {\n        this.clearlogo = clearlogo;\n    }\n\n    public ArrayList<Hdtvlogo> getHdtvlogo() {\n        return hdtvlogo;\n    }\n\n    public void setHdtvlogo(ArrayList<Hdtvlogo> hdtvlogo) {\n        this.hdtvlogo = hdtvlogo;\n    }\n\n    public ArrayList<Clearart> getClearart() {\n        return clearart;\n    }\n\n    public void setClearart(ArrayList<Clearart> clearart) {\n        this.clearart = clearart;\n    }\n\n    public ArrayList<Showbackground> getShowbackground() {\n        return showbackground;\n    }\n\n    public void setShowbackground(ArrayList<Showbackground> showbackground) {\n        this.showbackground = showbackground;\n    }\n\n    public ArrayList<Tvthumb> getTvthumb() {\n        return tvthumb;\n    }\n\n    public void setTvthumb(ArrayList<Tvthumb> tvthumb) {\n        this.tvthumb = tvthumb;\n    }\n\n    public ArrayList<Seasonposter> getSeasonposter() {\n        return seasonposter;\n    }\n\n    public void setSeasonposter(ArrayList<Seasonposter> seasonposter) {\n        this.seasonposter = seasonposter;\n    }\n\n    public ArrayList<Seasonthumb> getSeasonthumb() {\n        return seasonthumb;\n    }\n\n    public void setSeasonthumb(ArrayList<Seasonthumb> seasonthumb) {\n        this.seasonthumb = seasonthumb;\n    }\n\n    public ArrayList<Hdclearart> getHdclearart() {\n        return hdclearart;\n    }\n\n    public void setHdclearart(ArrayList<Hdclearart> hdclearart) {\n        this.hdclearart = hdclearart;\n    }\n\n    public ArrayList<Tvbanner> getTvbanner() {\n        return tvbanner;\n    }\n\n    public void setTvbanner(ArrayList<Tvbanner> tvbanner) {\n        this.tvbanner = tvbanner;\n    }\n\n    public ArrayList<Characterart> getCharacterart() {\n        return characterart;\n    }\n\n    public void setCharacterart(ArrayList<Characterart> characterart) {\n        this.characterart = characterart;\n    }\n\n    public ArrayList<Tvposter> getTvposter() {\n        return tvposter;\n    }\n\n    public void setTvposter(ArrayList<Tvposter> tvposter) {\n        this.tvposter = tvposter;\n    }\n\n    public ArrayList<Seasonbanner> getSeasonbanner() {\n        return seasonbanner;\n    }\n\n    public void setSeasonbanner(ArrayList<Seasonbanner> seasonbanner) {\n        this.seasonbanner = seasonbanner;\n    }\n}\n\n class Seasonbanner{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n    public String season;\n}\n\n  class Seasonposter{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n}\n\n  class Seasonthumb{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n    public String season;\n}\n\n  class Showbackground{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n    public String season;\n}\n\n  class Tvbanner{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n}\n\n class Tvposter{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n}\n\nclass Tvthumb{\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n}\n\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/FanArt/Hdmovielogo.java",
    "content": "package com.theflexproject.thunder.model.FanArt;\n\npublic class Hdmovielogo {\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n\n    @Override\n    public String toString() {\n        return \"Hdmovielogo{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/FanArt/Hdtvlogo.java",
    "content": "package com.theflexproject.thunder.model.FanArt;\n\npublic class Hdtvlogo {\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    @Override\n    public String toString() {\n        return \"Hdtvlogo{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/FanArt/Movielogo.java",
    "content": "package com.theflexproject.thunder.model.FanArt;\n\npublic class Movielogo {\n    public String id;\n    public String url;\n    public String lang;\n    public String likes;\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    public String getLang() {\n        return lang;\n    }\n\n    public void setLang(String lang) {\n        this.lang = lang;\n    }\n\n    public String getLikes() {\n        return likes;\n    }\n\n    public void setLikes(String likes) {\n        this.likes = likes;\n    }\n\n    @Override\n    public String toString() {\n        return \"Movielogo{\" +\n                \"id='\" + id + '\\'' +\n                \", url='\" + url + '\\'' +\n                \", lang='\" + lang + '\\'' +\n                \", likes='\" + likes + '\\'' +\n                '}';\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/File.java",
    "content": "package com.theflexproject.thunder.model;\n\nimport java.util.Date;\n\npublic class File {\n\n    public String id;\n    public String name;\n    public String mimeType;\n    public Date modifiedTime;\n    public String size;\n    public String urlString;\n\n    public String getUrlstring() {\n        return urlString;\n    }\n\n    public void setUrlstring(String urlString) {\n        this.urlString = urlString;\n    }\n\n    public String getId() {\n        return id;\n    }\n\n    public void setId(String id) {\n        this.id = id;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getMimeType() {\n        return mimeType;\n    }\n\n    public void setMimeType(String mimeType) {\n        this.mimeType = mimeType;\n    }\n\n    public Date getModifiedTime() {\n        return modifiedTime;\n    }\n\n    public void setModifiedTime(Date modifiedTime) {\n        this.modifiedTime = modifiedTime;\n    }\n\n    public String getSize() {\n        return size;\n    }\n\n    public void setSize(String size) {\n        this.size = size;\n    }\n\n    public String getUrlString() {\n        return urlString;\n    }\n\n    public void setUrlString(String urlString) {\n        this.urlString = urlString;\n    }\n\n    @Override\n    public String toString() {\n        return\n//                \"{\" + \"\\\"File\\\"\" + ':' +\n                \"{\" +\n//                \"\\\"id\\\"\" + ':' + '\\\"' + id + '\\\"'  +\n//                \", \\\"name\\\"\" + ':' + '\\\"' + name + '\\\"'  +\n                \"\\\"mimeType\\\"\" + ':' + '\\\"' + mimeType + '\\\"'  +\n//                \", \\\"modifiedTime\\\"\" + ':' + '\\\"' + modifiedTime + '\\\"'  +\n                \", \\\"size\\\"\" + ':' + '\\\"' + size + '\\\"'  +\n                \", \\\"urlString\\\"\" + ':' + '\\\"' + urlString + '\\\"'  +\n                '}' ;\n//                        +\"}\";\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/Genre.java",
    "content": "package com.theflexproject.thunder.model;\n\npublic class Genre {\n    public int id;\n    public String name;\n\n    @Override\n    public String toString() {\n        return\n//                \"{\" + \"\\\"Genre\\\"\" + ':' +\n                \"{\" +\n                \"\\\"id\\\"\" + ':' + '\\\"' + id + '\\\"'  +\n                \", \\\"name\\\"\" + ':' + '\\\"' + name + '\\\"'  +\n                '}';\n//                 +\"}\";\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/GitHubResponse.java",
    "content": "package com.theflexproject.thunder.model;\n\nimport java.util.ArrayList;\nimport java.util.Date;\n\n\nclass Asset{\n    public String url;\n    public int id;\n    public String node_id;\n    public String name;\n    public Object label;\n    public Uploader uploader;\n    public String content_type;\n    public String state;\n    public int size;\n    public int download_count;\n    public Date created_at;\n    public Date updated_at;\n    public String browser_download_url;\n}\n\nclass Author{\n    public String login;\n    public int id;\n    public String node_id;\n    public String avatar_url;\n    public String gravatar_id;\n    public String url;\n    public String html_url;\n    public String followers_url;\n    public String following_url;\n    public String gists_url;\n    public String starred_url;\n    public String subscriptions_url;\n    public String organizations_url;\n    public String repos_url;\n    public String events_url;\n    public String received_events_url;\n    public String type;\n    public boolean site_admin;\n}\n\npublic class GitHubResponse{\n    public String url;\n    public String assets_url;\n    public String upload_url;\n    public String html_url;\n    public int id;\n    public Author author;\n    public String node_id;\n    public String tag_name;\n    public String target_commitish;\n    public String name;\n    public boolean draft;\n    public boolean prerelease;\n    public Date created_at;\n    public Date published_at;\n    public ArrayList<Asset> assets;\n    public String tarball_url;\n    public String zipball_url;\n    public String body;\n}\n\nclass Uploader{\n    public String login;\n    public int id;\n    public String node_id;\n    public String avatar_url;\n    public String gravatar_id;\n    public String url;\n    public String html_url;\n    public String followers_url;\n    public String following_url;\n    public String gists_url;\n    public String starred_url;\n    public String subscriptions_url;\n    public String organizations_url;\n    public String repos_url;\n    public String events_url;\n    public String received_events_url;\n    public String type;\n    public boolean site_admin;\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/IndexLink.java",
    "content": "package com.theflexproject.thunder.model;\n\nimport androidx.annotation.NonNull;\nimport androidx.room.ColumnInfo;\nimport androidx.room.Entity;\nimport androidx.room.PrimaryKey;\n\n\n@Entity\npublic class IndexLink{\n    @PrimaryKey(autoGenerate = true)\n    @NonNull\n    public int id;\n    public String link;\n    public String username;\n    public String password;\n    public String indexType;\n    public String folderType;\n\n    public int getDisabled() {\n        return disabled;\n    }\n\n    public void setDisabled(int disabled) {\n        this.disabled = disabled;\n    }\n\n    @ColumnInfo(name = \"disabled\", defaultValue = \"0\")\n    public int disabled;\n\n    public String getIndexType() {\n        return indexType;\n    }\n\n    public void setIndexType(String indexType) {\n        this.indexType = indexType;\n    }\n\n    public String getFolderType() {\n        return folderType;\n    }\n\n    public void setFolderType(String folderType) {\n        this.folderType = folderType;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getLink() {\n        return link;\n    }\n\n    public void setLink(String link) {\n        this.link = link;\n    }\n\n    public String getUsername() {\n        return username;\n    }\n\n    public void setUsername(String username) {\n        this.username = username;\n    }\n\n    public String getPassword() {\n        return password;\n    }\n\n    public void setPassword(String password) {\n        this.password = password;\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/Movie.java",
    "content": "package com.theflexproject.thunder.model;\n\nimport androidx.annotation.NonNull;\nimport androidx.room.ColumnInfo;\nimport androidx.room.Entity;\nimport androidx.room.PrimaryKey;\n\nimport java.util.ArrayList;\nimport java.util.Date;\n\n@Entity\npublic class Movie implements MyMedia{\n    @PrimaryKey(autoGenerate = true)\n    @NonNull\n    public int fileidForDB;\n    public String fileName;\n    public String mimeType;\n    public Date modifiedTime;\n    public String size;\n    public String urlString;\n\n\n    public String getLogo_path() {\n        return logo_path;\n    }\n\n    public void setLogo_path(String logo_path) {\n        this.logo_path = logo_path;\n    }\n\n    @ColumnInfo(name = \"gd_id\", defaultValue = \"\")\n    public String gd_id;\n\n    @ColumnInfo(name = \"logo_path\", defaultValue = \"\")\n    public String logo_path;\n\n    @ColumnInfo(name = \"index_id\", defaultValue = \"0\")\n    public int index_id;\n\n    public int getIndex_id() {\n        return index_id;\n    }\n\n    public void setIndex_id(int index_id) {\n        this.index_id = index_id;\n    }\n\n    public int getDisabled() {\n        return disabled;\n    }\n\n    public void setDisabled(int disabled) {\n        this.disabled = disabled;\n    }\n\n    public int getAddToList() {\n        return addToList;\n    }\n\n    public void setAddToList(int addToList) {\n        this.addToList = addToList;\n    }\n\n    @ColumnInfo(name = \"addToList\", defaultValue = \"0\")\n    public int addToList;\n\n    @ColumnInfo(name = \"disabled\", defaultValue = \"0\")\n    public int disabled;\n\n    public int Played;\n\n\n    public boolean adult;\n    public String backdrop_path;\n//    public Object belongs_to_collection;\n    public long budget;\n    public ArrayList<Genre> genres;\n    public String homepage;\n    public int id;\n    public String imdb_id;\n    public String original_language;\n    public String original_title;\n    public String overview;\n    public double popularity;\n    public String poster_path;\n//    public ArrayList<ProductionCompany> production_companies;\n//    public ArrayList<ProductionCountry> production_countries;\n    public String release_date;\n    public long revenue;\n    public int runtime;\n//    public ArrayList<SpokenLanguage> spoken_languages;\n    public String status;\n    public String tagline;\n    public String title;\n    public boolean video;\n    public double vote_average;\n    public int vote_count;\n\n    @Override\n    public String toString() {\n        return \"{\" + \"\\\"Movie\\\"\" + ':' + \"{\" +\n                \"\\\"fileidForDB\\\"\" + ':' + '\\\"' + fileidForDB + '\\\"'  +\n                \", \\\"fileName\\\"\" + ':' + '\\\"' + fileName + '\\\"'  +\n                \", \\\"mimeType\\\"\" + ':' + '\\\"' + mimeType + '\\\"'  +\n                \", \\\"modifiedTime\\\"\" + ':' + '\\\"' + modifiedTime + '\\\"'  +\n                \", \\\"size\\\"\" + ':' + '\\\"' + size + '\\\"'  +\n                \", \\\"urlString\\\"\" + ':' + '\\\"' + urlString + '\\\"'  +\n                \", \\\"Played\\\"\" + ':' + '\\\"' + Played + '\\\"'  +\n                \", \\\"runtime\\\"\" + ':' + '\\\"' + runtime + '\\\"'  +\n                \", \\\"id\\\"\" + ':' +  '\\\"' +id +'\\\"'  +\n                \", \\\"overview\\\"\"  + ':' +  '\\\"' +overview +'\\\"' +\n                \", \\\"vote_average\\\"\"  + ':' +  '\\\"' +vote_average +'\\\"' +\n                \", \\\"vote_count\\\"\"  + ':' +  '\\\"' +vote_count +'\\\"' +\n                \", \\\"original_language\\\"\"  + ':' +  '\\\"' +original_language +'\\\"' +\n                \", \\\"imdb_id\\\"\"  + ':' +  '\\\"' +imdb_id +'\\\"' +\n                \", \\\"id\\\"\"  + ':' +  '\\\"' +id +'\\\"' +\n                \", \\\"homepage\\\"\"  + ':' +  '\\\"' +homepage +'\\\"' +\n                \", \\\"genres\\\"\"  + ':' +  '\\\"' +genres +'\\\"' +\n                \", \\\"budget\\\"\"  + ':' +  '\\\"' +budget +'\\\"' +\n                \", \\\"backdrop_path\\\"\"  + ':' +  '\\\"' +backdrop_path +'\\\"' +\n                \", \\\"adult\\\"\"  + ':' +  '\\\"' +adult +'\\\"' +\n                \", \\\"original_title\\\"\"  + ':' +  '\\\"' +original_title +'\\\"' +\n                \", \\\"overview\\\"\"  + ':' +  '\\\"' +overview +'\\\"' +\n                \", \\\"popularity\\\"\"  + ':' +  '\\\"' +popularity +'\\\"' +\n                \", \\\"poster_path\\\"\"  + ':' +  '\\\"' +poster_path +'\\\"' +\n                \", \\\"release_date\\\"\"  + ':' +  '\\\"' +release_date +'\\\"' +\n                \", \\\"revenue\\\"\"  + ':' +  '\\\"' +revenue +'\\\"' +\n                \", \\\"runtime\\\"\"  + ':' +  '\\\"' +runtime +'\\\"' +\n                \", \\\"video\\\"\"  + ':' +  '\\\"' +video +'\\\"' +\n                \", \\\"title\\\"\"  + ':' +  '\\\"' +title +'\\\"' +\n                \", \\\"tagline\\\"\"  + ':' +  '\\\"' +tagline +'\\\"' +\n                \", \\\"status\\\"\"  + ':' +  '\\\"' +status +'\\\"' +\n                \", \\\"logo_path\\\"\"  + ':' +  '\\\"' +logo_path +'\\\"' +\n//                \", production_companies=\" + production_companies +\n//                \", production_countries=\" + production_countries +\n//                \", spoken_languages=\" + spoken_languages +\n                '}' +\"}\";\n    }\n\n    public String getGd_id() {\n        return gd_id;\n    }\n\n    public void setGd_id(String gd_id) {\n        this.gd_id = gd_id;\n    }\n\n    public int getFileidForDB() {\n        return fileidForDB;\n    }\n\n    public void setFileidForDB(int fileidForDB) {\n        this.fileidForDB = fileidForDB;\n    }\n\n    public String getFileName() {\n        return fileName;\n    }\n\n    public void setFileName(String fileName) {\n        this.fileName = fileName;\n    }\n\n    public String getMimeType() {\n        return mimeType;\n    }\n\n    public void setMimeType(String mimeType) {\n        this.mimeType = mimeType;\n    }\n\n    public Date getModifiedTime() {\n        return modifiedTime;\n    }\n\n    public void setModifiedTime(Date modifiedTime) {\n        this.modifiedTime = modifiedTime;\n    }\n\n    public String getSize() {\n        return size;\n    }\n\n    public void setSize(String size) {\n        this.size = size;\n    }\n\n    public String getUrlString() {\n        return urlString;\n    }\n\n    public void setUrlString(String urlString) {\n        this.urlString = urlString;\n    }\n\n    public int getPlayed() {\n        return Played;\n    }\n\n    public void setPlayed(int played) {\n        Played = played;\n    }\n\n    public boolean isAdult() {\n        return adult;\n    }\n\n    public void setAdult(boolean adult) {\n        this.adult = adult;\n    }\n\n    public String getBackdrop_path() {\n        return backdrop_path;\n    }\n\n    public void setBackdrop_path(String backdrop_path) {\n        this.backdrop_path = backdrop_path;\n    }\n\n//    public Object getBelongs_to_collection() {\n//        return belongs_to_collection;\n//    }\n//\n//    public void setBelongs_to_collection(Object belongs_to_collection) {\n//        this.belongs_to_collection = belongs_to_collection;\n//    }\n\n\n    public ArrayList<Genre> getGenres() {\n        return genres;\n    }\n\n    public void setGenres(ArrayList<Genre> genres) {\n        this.genres = genres;\n    }\n\n    public String getHomepage() {\n        return homepage;\n    }\n\n    public void setHomepage(String homepage) {\n        this.homepage = homepage;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getImdb_id() {\n        return imdb_id;\n    }\n\n    public void setImdb_id(String imdb_id) {\n        this.imdb_id = imdb_id;\n    }\n\n    public String getOriginal_language() {\n        return original_language;\n    }\n\n    public void setOriginal_language(String original_language) {\n        this.original_language = original_language;\n    }\n\n    public String getOriginal_title() {\n        return original_title;\n    }\n\n    public void setOriginal_title(String original_title) {\n        this.original_title = original_title;\n    }\n\n    public String getOverview() {\n        return overview;\n    }\n\n    public void setOverview(String overview) {\n        this.overview = overview;\n    }\n\n    public double getPopularity() {\n        return popularity;\n    }\n\n    public void setPopularity(double popularity) {\n        this.popularity = popularity;\n    }\n\n    public String getPoster_path() {\n        return poster_path;\n    }\n\n    public void setPoster_path(String poster_path) {\n        this.poster_path = poster_path;\n    }\n\n//    public ArrayList<ProductionCompany> getProduction_companies() {\n//        return production_companies;\n//    }\n//\n//    public void setProduction_companies(ArrayList<ProductionCompany> production_companies) {\n//        this.production_companies = production_companies;\n//    }\n//\n//    public ArrayList<ProductionCountry> getProduction_countries() {\n//        return production_countries;\n//    }\n//\n//    public void setProduction_countries(ArrayList<ProductionCountry> production_countries) {\n//        this.production_countries = production_countries;\n//    }\n\n    public String getRelease_date() {\n        return release_date;\n    }\n\n    public void setRelease_date(String release_date) {\n        this.release_date = release_date;\n    }\n\n\n    public int getRuntime() {\n        return runtime;\n    }\n\n    public void setRuntime(int runtime) {\n        this.runtime = runtime;\n    }\n\n//    public ArrayList<SpokenLanguage> getSpoken_languages() {\n//        return spoken_languages;\n//    }\n//\n//    public void setSpoken_languages(ArrayList<SpokenLanguage> spoken_languages) {\n//        this.spoken_languages = spoken_languages;\n//    }\n\n    public String getStatus() {\n        return status;\n    }\n\n    public void setStatus(String status) {\n        this.status = status;\n    }\n\n    public String getTagline() {\n        return tagline;\n    }\n\n    public void setTagline(String tagline) {\n        this.tagline = tagline;\n    }\n\n    public String getTitle() {\n        return title;\n    }\n\n    public void setTitle(String title) {\n        this.title = title;\n    }\n\n    public boolean isVideo() {\n        return video;\n    }\n\n    public void setVideo(boolean video) {\n        this.video = video;\n    }\n\n    public double getVote_average() {\n        return vote_average;\n    }\n\n    public void setVote_average(double vote_average) {\n        this.vote_average = vote_average;\n    }\n\n    public int getVote_count() {\n        return vote_count;\n    }\n\n    public void setVote_count(int vote_count) {\n        this.vote_count = vote_count;\n    }\n\n    public void setBudget(long budget) {\n        this.budget = budget;\n    }\n\n    public void setRevenue(long revenue) {\n        this.revenue = revenue;\n    }\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/MoviesResponseFromTMDB.java",
    "content": "package com.theflexproject.thunder.model;\n\nimport java.util.ArrayList;\npublic class MoviesResponseFromTMDB {\n    public int page;\n    public ArrayList<Movie> results;\n    public int total_pages;\n\n    @Override\n    public String toString() {\n        return \"TMDBResponse{\" +\n                \"page=\" + page +\n                \", results=\" + results +\n                \", total_pages=\" + total_pages +\n                \", total_results=\" + total_results +\n                '}';\n    }\n\n    public int total_results;\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/MyMedia.java",
    "content": "package com.theflexproject.thunder.model;\n\npublic interface MyMedia {\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/ProductionCompany.java",
    "content": "package com.theflexproject.thunder.model;\n\npublic class ProductionCompany {\n    public int id;\n    public String logo_path;\n    public String name;\n    public String origin_country;\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getLogo_path() {\n        return logo_path;\n    }\n\n    public void setLogo_path(String logo_path) {\n        this.logo_path = logo_path;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getOrigin_country() {\n        return origin_country;\n    }\n\n    public void setOrigin_country(String origin_country) {\n        this.origin_country = origin_country;\n    }\n\n    @Override\n    public String toString() {\n        return \"ProductionCompany{\" +\n                \"id=\" + id +\n                \", logo_path='\" + logo_path + '\\'' +\n                \", name='\" + name + '\\'' +\n                \", origin_country='\" + origin_country + '\\'' +\n                '}';\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/ProductionCountry.java",
    "content": "package com.theflexproject.thunder.model;\n\npublic class ProductionCountry {\n    public String iso_3166_1;\n    public String name;\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/ResFormat.java",
    "content": "package com.theflexproject.thunder.model;\n\n\nimport androidx.annotation.NonNull;\nimport androidx.room.Entity;\nimport androidx.room.PrimaryKey;\n\n@Entity\npublic class ResFormat{\n    @PrimaryKey(autoGenerate = true)\n    @NonNull\n    public int id;\n    public Data data;\n    public String nextPageToken;\n    public String curPageIndex;\n    public int code;\n\n\n    public int getCode() {\n        return code;\n    }\n\n    public void setCode(int code) {\n        this.code = code;\n    }\n\n    public String getNextPageToken() {\n        return nextPageToken;\n    }\n\n    public void setNextPageToken(String nextPageToken) {\n        this.nextPageToken = nextPageToken;\n    }\n\n    public String getCurPageIndex() {\n        return curPageIndex;\n    }\n\n    public void setCurPageIndex(String curPageIndex) {\n        this.curPageIndex = curPageIndex;\n    }\n\n    public Data getData() {\n        return data;\n    }\n\n    public void setData(Data data) {\n        this.data = data;\n    }\n\n    @Override\n    public String toString() {\n        return \"ResFormat{\" +\n                \"nextPageToken='\" + nextPageToken + '\\'' +\n                \", curPageIndex='\" + curPageIndex + '\\'' +\n                \", data=\" + data.getFiles().toString() +\n                '}';\n    }\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/SimpleLink.java",
    "content": "package com.theflexproject.thunder.model;\n\npublic class SimpleLink{\n    public String status;\n    public String url;\n\n    public String getStatus() {\n        return status;\n    }\n\n    public void setStatus(String status) {\n        this.status = status;\n    }\n\n    public String getUrl() {\n        return url;\n    }\n\n    public void setUrl(String url) {\n        this.url = url;\n    }\n\n    @Override\n    public String toString() {\n        return \"SimpleLink{\" +\n                \"status='\" + status + '\\'' +\n                \", url='\" + url + '\\'' +\n                '}';\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/SpokenLanguage.java",
    "content": "package com.theflexproject.thunder.model;\n\npublic class SpokenLanguage {\n    public String english_name;\n    public String iso_639_1;\n    public String name;\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/CreatedBy.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\npublic class CreatedBy {\n    public int id;\n    public String credit_id;\n    public String name;\n    public int gender;\n    public String profile_path;\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/Crew.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\npublic class Crew {\n    public String department;\n    public String job;\n    public String credit_id;\n    public boolean adult;\n    public int gender;\n    public int id;\n    public String known_for_department;\n    public String name;\n    public String original_name;\n    public double popularity;\n    public String profile_path;\n\n    public String getDepartment() {\n        return department;\n    }\n\n    public void setDepartment(String department) {\n        this.department = department;\n    }\n\n    public String getJob() {\n        return job;\n    }\n\n    public void setJob(String job) {\n        this.job = job;\n    }\n\n    public String getCredit_id() {\n        return credit_id;\n    }\n\n    public void setCredit_id(String credit_id) {\n        this.credit_id = credit_id;\n    }\n\n    public boolean isAdult() {\n        return adult;\n    }\n\n    public void setAdult(boolean adult) {\n        this.adult = adult;\n    }\n\n    public int getGender() {\n        return gender;\n    }\n\n    public void setGender(int gender) {\n        this.gender = gender;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getKnown_for_department() {\n        return known_for_department;\n    }\n\n    public void setKnown_for_department(String known_for_department) {\n        this.known_for_department = known_for_department;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getOriginal_name() {\n        return original_name;\n    }\n\n    public void setOriginal_name(String original_name) {\n        this.original_name = original_name;\n    }\n\n    public double getPopularity() {\n        return popularity;\n    }\n\n    public void setPopularity(double popularity) {\n        this.popularity = popularity;\n    }\n\n    public String getProfile_path() {\n        return profile_path;\n    }\n\n    public void setProfile_path(String profile_path) {\n        this.profile_path = profile_path;\n    }\n\n    @Override\n    public String toString() {\n        return \"Crew{\" +\n                \"department='\" + department + '\\'' +\n                \", job='\" + job + '\\'' +\n                \", credit_id='\" + credit_id + '\\'' +\n                \", adult=\" + adult +\n                \", gender=\" + gender +\n                \", id=\" + id +\n                \", known_for_department='\" + known_for_department + '\\'' +\n                \", name='\" + name + '\\'' +\n                \", original_name='\" + original_name + '\\'' +\n                \", popularity=\" + popularity +\n                \", profile_path='\" + profile_path + '\\'' +\n                '}';\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/Episode.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\nimport androidx.annotation.NonNull;\nimport androidx.room.ColumnInfo;\nimport androidx.room.Entity;\nimport androidx.room.PrimaryKey;\n\nimport com.fasterxml.jackson.annotation.JsonFormat;\nimport com.theflexproject.thunder.model.MyMedia;\n\nimport java.util.Date;\n\n@Entity\npublic class Episode implements MyMedia {\n    @PrimaryKey(autoGenerate = true)\n    @NonNull\n    public int idForDB;\n    public String fileName;\n    public String mimeType;\n\n\n    @JsonFormat(pattern=\"E MMM dd HH:mm:ss z yyyy\")\n    public Date modifiedTime;\n    public String size;\n    public String urlString;\n\n\n    public int getDisabled() {\n        return disabled;\n    }\n\n    public void setDisabled(int disabled) {\n        this.disabled = disabled;\n    }\n\n    @ColumnInfo(name = \"index_id\", defaultValue = \"0\")\n    public int index_id;\n\n    public int getIndex_id() {\n        return index_id;\n    }\n\n    public void setIndex_id(int index_id) {\n        this.index_id = index_id;\n    }\n\n    @ColumnInfo(name = \"disabled\", defaultValue = \"0\")\n    public int disabled;\n\n    @ColumnInfo(name = \"gd_id\", defaultValue = \"\")\n    public String gd_id;\n\n    public int Played;\n\n    public int season_id;\n\n    public String air_date;\n    public int episode_number;\n    public int id;\n    public String name;\n    public String overview;\n    public String production_code;\n    public int runtime;\n    public int season_number;\n    public long show_id;\n    public String still_path;\n    public double vote_average;\n    public int vote_count;\n//    public ArrayList<Crew> crew;\n//    public ArrayList<GuestStar> guest_stars;\n\n    @Override\n    public String toString() {\n        return\n//                \"{\" + \"\\\"Episode\\\"\" + ':' +\n                \"{\" +\n                \"\\\"idForDB\\\"\" + ':' + '\\\"' + idForDB + '\\\"'  +\n                \", \\\"fileName\\\"\" + ':' + '\\\"' + fileName + '\\\"'  +\n                \", \\\"mimeType\\\"\" + ':' + '\\\"' + mimeType + '\\\"'  +\n                \", \\\"modifiedTime\\\"\" + ':' + '\\\"' + modifiedTime + '\\\"'  +\n                \", \\\"size\\\"\" + ':' + '\\\"' + size + '\\\"'  +\n                \", \\\"urlString\\\"\" + ':' + '\\\"' + urlString + '\\\"'  +\n                \", \\\"Played\\\"\" + ':' + '\\\"' + Played + '\\\"'  +\n                \", \\\"season_id\\\"\" + ':' + '\\\"' + season_id + '\\\"'  +\n                \", \\\"air_date\\\"\" + ':' + '\\\"' + air_date + '\\\"'  +\n                        \", \\\"episode_number\\\"\" + ':' + '\\\"' + episode_number + '\\\"'  +\n                \", \\\"production_code\\\"\" + ':' + '\\\"' + production_code + '\\\"'  +\n                \", \\\"runtime\\\"\" + ':' + '\\\"' + runtime + '\\\"'  +\n                \", \\\"season_number\\\"\" + ':' + '\\\"' + season_number + '\\\"'  +\n                \", \\\"still_path\\\"\" + ':' + '\\\"' + still_path + '\\\"'  +\n                \", \\\"id\\\"\" + ':' +  '\\\"' +id +'\\\"'  +\n                \", \\\"name\\\"\" + ':'  +'\\\"' + name + '\\\"' +\n                \", \\\"overview\\\"\"  + ':' +  '\\\"' +overview +'\\\"' +\n                \", \\\"vote_average\\\"\"  + ':' +  '\\\"' +vote_average +'\\\"' +\n                \", \\\"vote_count\\\"\"  + ':' +  '\\\"' +vote_count +'\\\"' +\n                \", \\\"season_number\\\"\"  + ':' + '\\\"' +season_number +'\\\"' +\n                \", \\\"show_id\\\"\" + ':' + '\\\"' + show_id + '\\\"'  +\n                '}' ;\n//                        +\"}\" ;\n    }\n\n    public String getGd_id() {\n        return gd_id;\n    }\n\n    public void setGd_id(String gd_id) {\n        this.gd_id = gd_id;\n    }\n\n    public String getAir_date() {\n        return air_date;\n    }\n\n    public void setAir_date(String air_date) {\n        this.air_date = air_date;\n    }\n\n    public int getEpisode_number() {\n        return episode_number;\n    }\n\n    public void setEpisode_number(int episode_number) {\n        this.episode_number = episode_number;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getOverview() {\n        return overview;\n    }\n\n    public void setOverview(String overview) {\n        this.overview = overview;\n    }\n\n    public String getProduction_code() {\n        return production_code;\n    }\n\n    public void setProduction_code(String production_code) {\n        this.production_code = production_code;\n    }\n\n    public int getRuntime() {\n        return runtime;\n    }\n\n    public void setRuntime(int runtime) {\n        this.runtime = runtime;\n    }\n\n    public int getSeason_number() {\n        return season_number;\n    }\n\n    public void setSeason_number(int season_number) {\n        this.season_number = season_number;\n    }\n\n    public long getShow_id() {\n        return show_id;\n    }\n\n    public void setShow_id(long show_id) {\n        this.show_id = show_id;\n    }\n\n    public String getStill_path() {\n        return still_path;\n    }\n\n    public void setStill_path(String still_path) {\n        this.still_path = still_path;\n    }\n\n    public double getVote_average() {\n        return vote_average;\n    }\n\n    public void setVote_average(double vote_average) {\n        this.vote_average = vote_average;\n    }\n\n    public int getVote_count() {\n        return vote_count;\n    }\n\n    public void setVote_count(int vote_count) {\n        this.vote_count = vote_count;\n    }\n\n//    public ArrayList<Crew> getCrew() {\n//        return crew;\n//    }\n//\n//    public void setCrew(ArrayList<Crew> crew) {\n//        this.crew = crew;\n//    }\n//\n//    public ArrayList<GuestStar> getGuest_stars() {\n//        return guest_stars;\n//    }\n//\n//    public void setGuest_stars(ArrayList<GuestStar> guest_stars) {\n//        this.guest_stars = guest_stars;\n//    }\n\n    public String getUrlString() {\n        return urlString;\n    }\n\n    public void setUrlString(String urlString) {\n        this.urlString = urlString;\n    }\n\n    public int getIdForDB() {\n        return idForDB;\n    }\n\n    public void setIdForDB(int idForDB) {\n        this.idForDB = idForDB;\n    }\n\n    public String getFileName() {\n        return fileName;\n    }\n\n    public void setFileName(String fileName) {\n        this.fileName = fileName;\n    }\n\n    public String getMimeType() {\n        return mimeType;\n    }\n\n    public void setMimeType(String mimeType) {\n        this.mimeType = mimeType;\n    }\n\n    public Date getModifiedTime() {\n        return modifiedTime;\n    }\n\n    public void setModifiedTime(Date modifiedTime) {\n        this.modifiedTime = modifiedTime;\n    }\n\n    public String getSize() {\n        return size;\n    }\n\n    public void setSize(String size) {\n        this.size = size;\n    }\n\n    public int getPlayed() {\n        return Played;\n    }\n\n    public void setPlayed(int played) {\n        Played = played;\n    }\n\n\n    public int getSeason_id() {\n        return season_id;\n    }\n\n    public void setSeason_id(int season_id) {\n        this.season_id = season_id;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/GuestStar.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\npublic class GuestStar {\n    public String character;\n    public String credit_id;\n    public int order;\n    public boolean adult;\n    public int gender;\n    public int id;\n    public String known_for_department;\n    public String name;\n    public String original_name;\n    public double popularity;\n    public String profile_path;\n\n    public String getCharacter() {\n        return character;\n    }\n\n    public void setCharacter(String character) {\n        this.character = character;\n    }\n\n    public String getCredit_id() {\n        return credit_id;\n    }\n\n    public void setCredit_id(String credit_id) {\n        this.credit_id = credit_id;\n    }\n\n    public int getOrder() {\n        return order;\n    }\n\n    public void setOrder(int order) {\n        this.order = order;\n    }\n\n    public boolean isAdult() {\n        return adult;\n    }\n\n    public void setAdult(boolean adult) {\n        this.adult = adult;\n    }\n\n    public int getGender() {\n        return gender;\n    }\n\n    public void setGender(int gender) {\n        this.gender = gender;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getKnown_for_department() {\n        return known_for_department;\n    }\n\n    public void setKnown_for_department(String known_for_department) {\n        this.known_for_department = known_for_department;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getOriginal_name() {\n        return original_name;\n    }\n\n    public void setOriginal_name(String original_name) {\n        this.original_name = original_name;\n    }\n\n    public double getPopularity() {\n        return popularity;\n    }\n\n    public void setPopularity(double popularity) {\n        this.popularity = popularity;\n    }\n\n    public String getProfile_path() {\n        return profile_path;\n    }\n\n    public void setProfile_path(String profile_path) {\n        this.profile_path = profile_path;\n    }\n\n    @Override\n    public String toString() {\n        return \"GuestStar{\" +\n                \"character='\" + character + '\\'' +\n                \", credit_id='\" + credit_id + '\\'' +\n                \", order=\" + order +\n                \", adult=\" + adult +\n                \", gender=\" + gender +\n                \", id=\" + id +\n                \", known_for_department='\" + known_for_department + '\\'' +\n                \", name='\" + name + '\\'' +\n                \", original_name='\" + original_name + '\\'' +\n                \", popularity=\" + popularity +\n                \", profile_path='\" + profile_path + '\\'' +\n                '}';\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/LastEpisodeToAir.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\npublic class LastEpisodeToAir {\n    public String air_date;\n    public int episode_number;\n    public int id;\n    public String name;\n    public String overview;\n    public String production_code;\n    public int runtime;\n    public int season_number;\n    public int show_id;\n    public String still_path;\n    public double vote_average;\n    public int vote_count;\n\n    public String getAir_date() {\n        return air_date;\n    }\n\n    public void setAir_date(String air_date) {\n        this.air_date = air_date;\n    }\n\n    public int getEpisode_number() {\n        return episode_number;\n    }\n\n    public void setEpisode_number(int episode_number) {\n        this.episode_number = episode_number;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getOverview() {\n        return overview;\n    }\n\n    public void setOverview(String overview) {\n        this.overview = overview;\n    }\n\n    public String getProduction_code() {\n        return production_code;\n    }\n\n    public void setProduction_code(String production_code) {\n        this.production_code = production_code;\n    }\n\n    public int getRuntime() {\n        return runtime;\n    }\n\n    public void setRuntime(int runtime) {\n        this.runtime = runtime;\n    }\n\n    public int getSeason_number() {\n        return season_number;\n    }\n\n    public void setSeason_number(int season_number) {\n        this.season_number = season_number;\n    }\n\n    public int getShow_id() {\n        return show_id;\n    }\n\n    public void setShow_id(int show_id) {\n        this.show_id = show_id;\n    }\n\n    public String getStill_path() {\n        return still_path;\n    }\n\n    public void setStill_path(String still_path) {\n        this.still_path = still_path;\n    }\n\n    public double getVote_average() {\n        return vote_average;\n    }\n\n    public void setVote_average(double vote_average) {\n        this.vote_average = vote_average;\n    }\n\n    public int getVote_count() {\n        return vote_count;\n    }\n\n    public void setVote_count(int vote_count) {\n        this.vote_count = vote_count;\n    }\n\n    @Override\n    public String toString() {\n        return \"LastEpisodeToAir{\" +\n                \"air_date='\" + air_date + '\\'' +\n                \", episode_number=\" + episode_number +\n                \", id=\" + id +\n                \", name='\" + name + '\\'' +\n                \", overview='\" + overview + '\\'' +\n                \", production_code='\" + production_code + '\\'' +\n                \", runtime=\" + runtime +\n                \", season_number=\" + season_number +\n                \", show_id=\" + show_id +\n                \", still_path='\" + still_path + '\\'' +\n                \", vote_average=\" + vote_average +\n                \", vote_count=\" + vote_count +\n                '}';\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/Network.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\npublic class Network {\n    public int id;\n    public String name;\n    public String logo_path;\n    public String origin_country;\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getLogo_path() {\n        return logo_path;\n    }\n\n    public void setLogo_path(String logo_path) {\n        this.logo_path = logo_path;\n    }\n\n    public String getOrigin_country() {\n        return origin_country;\n    }\n\n    public void setOrigin_country(String origin_country) {\n        this.origin_country = origin_country;\n    }\n\n    @Override\n    public String toString() {\n        return \"Network{\" +\n                \"id=\" + id +\n                \", name='\" + name + '\\'' +\n                \", logo_path='\" + logo_path + '\\'' +\n                \", origin_country='\" + origin_country + '\\'' +\n                '}';\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/Result.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\nimport java.util.ArrayList;\n\npublic class Result {\n    public String backdrop_path;\n    public String first_air_date;\n    public ArrayList<Integer> genre_ids;\n    public long id;\n    public String name;\n    public ArrayList<String> origin_country;\n    public String original_language;\n    public String original_name;\n    public String overview;\n    public double popularity;\n    public String poster_path;\n    public double vote_average;\n    public int vote_count;\n\n    public String getBackdrop_path() {\n        return backdrop_path;\n    }\n\n    public void setBackdrop_path(String backdrop_path) {\n        this.backdrop_path = backdrop_path;\n    }\n\n    public String getFirst_air_date() {\n        return first_air_date;\n    }\n\n    public void setFirst_air_date(String first_air_date) {\n        this.first_air_date = first_air_date;\n    }\n\n    public ArrayList<Integer> getGenre_ids() {\n        return genre_ids;\n    }\n\n    public void setGenre_ids(ArrayList<Integer> genre_ids) {\n        this.genre_ids = genre_ids;\n    }\n\n    public long getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public ArrayList<String> getOrigin_country() {\n        return origin_country;\n    }\n\n    public void setOrigin_country(ArrayList<String> origin_country) {\n        this.origin_country = origin_country;\n    }\n\n    public String getOriginal_language() {\n        return original_language;\n    }\n\n    public void setOriginal_language(String original_language) {\n        this.original_language = original_language;\n    }\n\n    public String getOriginal_name() {\n        return original_name;\n    }\n\n    public void setOriginal_name(String original_name) {\n        this.original_name = original_name;\n    }\n\n    public String getOverview() {\n        return overview;\n    }\n\n    public void setOverview(String overview) {\n        this.overview = overview;\n    }\n\n    public double getPopularity() {\n        return popularity;\n    }\n\n    public void setPopularity(double popularity) {\n        this.popularity = popularity;\n    }\n\n    public String getPoster_path() {\n        return poster_path;\n    }\n\n    public void setPoster_path(String poster_path) {\n        this.poster_path = poster_path;\n    }\n\n    public double getVote_average() {\n        return vote_average;\n    }\n\n    public void setVote_average(double vote_average) {\n        this.vote_average = vote_average;\n    }\n\n    public int getVote_count() {\n        return vote_count;\n    }\n\n    public void setVote_count(int vote_count) {\n        this.vote_count = vote_count;\n    }\n\n    @Override\n    public String toString() {\n        return \"Result{\" +\n                \"backdrop_path='\" + backdrop_path + '\\'' +\n                \", first_air_date='\" + first_air_date + '\\'' +\n                \", genre_ids=\" + genre_ids +\n                \", id=\" + id +\n                \", name='\" + name + '\\'' +\n                \", origin_country=\" + origin_country +\n                \", original_language='\" + original_language + '\\'' +\n                \", original_name='\" + original_name + '\\'' +\n                \", overview='\" + overview + '\\'' +\n                \", popularity=\" + popularity +\n                \", poster_path='\" + poster_path + '\\'' +\n                \", vote_average=\" + vote_average +\n                \", vote_count=\" + vote_count +\n                '}';\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/Season.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\npublic class Season {\n    public String air_date;\n    public int episode_count;\n    public int id;\n    public String name;\n    public String overview;\n    public String poster_path;\n    public int season_number;\n\n    public String getAir_date() {\n        return air_date;\n    }\n\n    public void setAir_date(String air_date) {\n        this.air_date = air_date;\n    }\n\n    public int getEpisode_count() {\n        return episode_count;\n    }\n\n    public void setEpisode_count(int episode_count) {\n        this.episode_count = episode_count;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getOverview() {\n        return overview;\n    }\n\n    public void setOverview(String overview) {\n        this.overview = overview;\n    }\n\n    public String getPoster_path() {\n        return poster_path;\n    }\n\n    public void setPoster_path(String poster_path) {\n        this.poster_path = poster_path;\n    }\n\n    public int getSeason_number() {\n        return season_number;\n    }\n\n    public void setSeason_number(int season_number) {\n        this.season_number = season_number;\n    }\n\n    @Override\n    public String toString() {\n//        return \"{\" + \"\\\"Season\\\"\" + ':' +\n          return \"{\" +\n                \"\\\"air_date\\\"\" + ':' + '\\\"' + air_date + '\\\"'  +\n                \", \\\"episode_count\\\"\" + ':'  + '\\\"' + episode_count + '\\\"' +\n                \", \\\"id\\\"\" + ':' +  '\\\"' +id +'\\\"'  +\n                \", \\\"name\\\"\" + ':'  +'\\\"' + name + '\\\"' +\n                \", \\\"overview\\\"\"  + ':' +  '\\\"' +overview +'\\\"' +\n                \", \\\"poster_path\\\"\"  + ':' + '\\\"' + poster_path +'\\\"' +\n                \", \\\"season_number\\\"\"  + ':' + '\\\"' +season_number +'\\\"' +\n                '}' ;\n//          +\"}\" ;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/TVShow.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\nimport androidx.annotation.NonNull;\nimport androidx.room.ColumnInfo;\nimport androidx.room.Entity;\nimport androidx.room.PrimaryKey;\n\nimport com.theflexproject.thunder.model.Genre;\nimport com.theflexproject.thunder.model.MyMedia;\n\nimport java.util.ArrayList;\n\n@Entity\npublic class TVShow implements MyMedia {\n    @PrimaryKey (autoGenerate = true)\n    @NonNull\n    public int idForDB;\n    public boolean adult;\n    public String backdrop_path;\n\n    public int getAddToList() {\n        return addToList;\n    }\n\n    public void setAddToList(int addToList) {\n        this.addToList = addToList;\n    }\n\n    @ColumnInfo(name = \"addToList\", defaultValue = \"0\")\n    public int addToList;\n\n    @ColumnInfo(name = \"logo_path\", defaultValue = \"\")\n    public String logo_path;\n\n    public String homepage;\n    public String first_air_date;\n    public int id;\n    public boolean in_production;\n    public String last_air_date;\n    public String name;\n    public int number_of_episodes;\n    public int number_of_seasons;\n    public String original_name;\n    public String overview;\n    public double popularity;\n    public String original_language;\n    public String poster_path;\n    public String status;\n    public ArrayList<Season> seasons;\n    public String tagline;\n    public String type;\n    public double vote_average;\n    public int vote_count;\n    public ArrayList<Genre> genres;\n\n    //    public ArrayList<CreatedBy> created_by;\n//    public ArrayList<Integer> episode_run_time;\n    //    public ArrayList<Network> networks;\n//    public ArrayList<ProductionCompany> production_companies;\n//    public ArrayList<ProductionCountry> production_countries;\n//    public ArrayList<SpokenLanguage> spoken_languages;\n//    public ArrayList<String> origin_country;\n//    public Object next_episode_to_air;\n//    public LastEpisodeToAir last_episode_to_air;\n//\n//    public ArrayList<String> languages;\n\n    public boolean isAdult() {\n        return adult;\n    }\n\n    public void setAdult(boolean adult) {\n        this.adult = adult;\n    }\n\n    public String getBackdrop_path() {\n        return backdrop_path;\n    }\n\n    public void setBackdrop_path(String backdrop_path) {\n        this.backdrop_path = backdrop_path;\n    }\n\n\n    public String getLogo_path() {\n        return logo_path;\n    }\n\n    public void setLogo_path(String logo_path) {\n        this.logo_path = logo_path;\n    }\n//    public ArrayList<CreatedBy> getCreated_by() {\n//        return created_by;\n//    }\n//\n//    public void setCreated_by(ArrayList<CreatedBy> created_by) {\n//        this.created_by = created_by;\n//    }\n//\n//    public ArrayList<Integer> getEpisode_run_time() {\n//        return episode_run_time;\n//    }\n//\n//    public void setEpisode_run_time(ArrayList<Integer> episode_run_time) {\n//        this.episode_run_time = episode_run_time;\n//    }\n\n    public String getFirst_air_date() {\n        return first_air_date;\n    }\n\n    public void setFirst_air_date(String first_air_date) {\n        this.first_air_date = first_air_date;\n    }\n\n    public ArrayList<Genre> getGenres() {\n        return genres;\n    }\n\n    public void setGenres(ArrayList<Genre> genres) {\n        this.genres = genres;\n    }\n\n    public String getHomepage() {\n        return homepage;\n    }\n\n    public void setHomepage(String homepage) {\n        this.homepage = homepage;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public boolean isIn_production() {\n        return in_production;\n    }\n\n    public void setIn_production(boolean in_production) {\n        this.in_production = in_production;\n    }\n\n//    public ArrayList<String> getLanguages() {\n//        return languages;\n//    }\n\n//    public void setLanguages(ArrayList<String> languages) {\n//        this.languages = languages;\n//    }\n\n    public String getLast_air_date() {\n        return last_air_date;\n    }\n\n    public void setLast_air_date(String last_air_date) {\n        this.last_air_date = last_air_date;\n    }\n\n//    public LastEpisodeToAir getLast_episode_to_air() {\n//        return last_episode_to_air;\n//    }\n\n//    public void setLast_episode_to_air(LastEpisodeToAir last_episode_to_air) {\n//        this.last_episode_to_air = last_episode_to_air;\n//    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n//    public Object getNext_episode_to_air() {\n//        return next_episode_to_air;\n//    }\n//\n//    public void setNext_episode_to_air(Object next_episode_to_air) {\n//        this.next_episode_to_air = next_episode_to_air;\n//    }\n//\n//    public ArrayList<Network> getNetworks() {\n//        return networks;\n//    }\n//\n//    public void setNetworks(ArrayList<Network> networks) {\n//        this.networks = networks;\n//    }\n\n    public int getNumber_of_episodes() {\n        return number_of_episodes;\n    }\n\n    public void setNumber_of_episodes(int number_of_episodes) {\n        this.number_of_episodes = number_of_episodes;\n    }\n\n    public int getNumber_of_seasons() {\n        return number_of_seasons;\n    }\n\n    public void setNumber_of_seasons(int number_of_seasons) {\n        this.number_of_seasons = number_of_seasons;\n    }\n\n//    public ArrayList<String> getOrigin_country() {\n//        return origin_country;\n//    }\n//\n//    public void setOrigin_country(ArrayList<String> origin_country) {\n//        this.origin_country = origin_country;\n//    }\n\n    public String getOriginal_language() {\n        return original_language;\n    }\n\n    public void setOriginal_language(String original_language) {\n        this.original_language = original_language;\n    }\n\n    public String getOriginal_name() {\n        return original_name;\n    }\n\n    public void setOriginal_name(String original_name) {\n        this.original_name = original_name;\n    }\n\n    public String getOverview() {\n        return overview;\n    }\n\n    public void setOverview(String overview) {\n        this.overview = overview;\n    }\n\n    public double getPopularity() {\n        return popularity;\n    }\n\n    public void setPopularity(double popularity) {\n        this.popularity = popularity;\n    }\n\n    public String getPoster_path() {\n        return poster_path;\n    }\n\n    public void setPoster_path(String poster_path) {\n        this.poster_path = poster_path;\n    }\n//\n//    public ArrayList<ProductionCompany> getProduction_companies() {\n//        return production_companies;\n//    }\n//\n//    public void setProduction_companies(ArrayList<ProductionCompany> production_companies) {\n//        this.production_companies = production_companies;\n//    }\n//\n//    public ArrayList<ProductionCountry> getProduction_countries() {\n//        return production_countries;\n//    }\n//\n//    public void setProduction_countries(ArrayList<ProductionCountry> production_countries) {\n//        this.production_countries = production_countries;\n//    }\n//\n    public ArrayList<Season> getSeasons() {\n        return seasons;\n    }\n\n    public void setSeasons(ArrayList<Season> seasons) {\n        this.seasons = seasons;\n    }\n//\n//    public ArrayList<SpokenLanguage> getSpoken_languages() {\n//        return spoken_languages;\n//    }\n//\n//    public void setSpoken_languages(ArrayList<SpokenLanguage> spoken_languages) {\n//        this.spoken_languages = spoken_languages;\n//    }\n\n    public String getStatus() {\n        return status;\n    }\n\n    public void setStatus(String status) {\n        this.status = status;\n    }\n\n    public String getTagline() {\n        return tagline;\n    }\n\n    public void setTagline(String tagline) {\n        this.tagline = tagline;\n    }\n\n    public String getType() {\n        return type;\n    }\n\n    public void setType(String type) {\n        this.type = type;\n    }\n\n    public double getVote_average() {\n        return vote_average;\n    }\n\n    public void setVote_average(double vote_average) {\n        this.vote_average = vote_average;\n    }\n\n    public int getVote_count() {\n        return vote_count;\n    }\n\n    public void setVote_count(int vote_count) {\n        this.vote_count = vote_count;\n    }\n\n    public int getIdForDB() {\n        return idForDB;\n    }\n\n    public void setIdForDB(int idForDB) {\n        this.idForDB = idForDB;\n    }\n\n    @Override\n    public String toString() {\n        return \"TVShow{\" +\n                \"idForDB=\" + idForDB +\n                \", adult=\" + adult +\n                \", backdrop_path='\" + backdrop_path + '\\'' +\n                \", first_air_date='\" + first_air_date + '\\'' +\n                \", homepage='\" + homepage + '\\'' +\n                \", id=\" + id +\n                \", in_production=\" + in_production +\n                \", last_air_date='\" + last_air_date + '\\'' +\n                \", name='\" + name + '\\'' +\n                \", number_of_episodes=\" + number_of_episodes +\n                \", number_of_seasons=\" + number_of_seasons +\n                \", original_language='\" + original_language + '\\'' +\n                \", original_name='\" + original_name + '\\'' +\n                \", overview='\" + overview + '\\'' +\n                \", popularity=\" + popularity +\n                \", poster_path='\" + poster_path + '\\'' +\n                \", seasons=\" + seasons +\n                \", status='\" + status + '\\'' +\n                \", tagline='\" + tagline + '\\'' +\n                \", type='\" + type + '\\'' +\n                \", logo_path=\" + logo_path +\n                \", vote_average=\" + vote_average +\n                \", vote_count=\" + vote_count +\n                '}';\n    }\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/TVShowSeasonDetails.java",
    "content": "\npackage com.theflexproject.thunder.model.TVShowInfo;\n\nimport androidx.annotation.NonNull;\nimport androidx.room.Entity;\nimport androidx.room.PrimaryKey;\n\nimport com.theflexproject.thunder.model.MyMedia;\n\nimport java.util.ArrayList;\n\n@Entity\npublic class TVShowSeasonDetails implements MyMedia {\n    @PrimaryKey (autoGenerate = true)\n    @NonNull\n    public int idfordb;\n    public String _id;\n    public String air_date;\n    public ArrayList<Episode> episodes;\n    public String name;\n    public String overview;\n    public int id;\n    public String poster_path;\n    public int season_number;\n\n    public long show_id;\n\n    @NonNull\n    public String get_id() {\n        return _id;\n    }\n\n    public void set_id(@NonNull String _id) {\n        this._id = _id;\n    }\n\n    public String getAir_date() {\n        return air_date;\n    }\n\n    public void setAir_date(String air_date) {\n        this.air_date = air_date;\n    }\n\n    public ArrayList<Episode> getEpisodes() {\n        return episodes;\n    }\n\n    public void setEpisodes(ArrayList<Episode> episodes) {\n        this.episodes = episodes;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public String getOverview() {\n        return overview;\n    }\n\n    public void setOverview(String overview) {\n        this.overview = overview;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public String getPoster_path() {\n        return poster_path;\n    }\n\n    public void setPoster_path(String poster_path) {\n        this.poster_path = poster_path;\n    }\n\n    public int getSeason_number() {\n        return season_number;\n    }\n\n    public void setSeason_number(int season_number) {\n        this.season_number = season_number;\n    }\n\n\n\n    @NonNull\n    public int getIdfordb() {\n        return idfordb;\n    }\n\n    public void setIdfordb(int idfordb) {\n        this.idfordb = idfordb;\n    }\n\n    @Override\n    public String toString() {\n        return \"TVShowSeasonDetails{\" +\n                \"idfordb='\" + idfordb + '\\'' +\n                \", _id='\" + _id + '\\'' +\n                \", air_date='\" + air_date + '\\'' +\n                \", episodes=\" + episodes +\n                \", name='\" + name + '\\'' +\n                \", overview='\" + overview + '\\'' +\n                \", id=\" + id +\n                \", show_id=\" + show_id +\n                \", poster_path='\" + poster_path + '\\'' +\n                \", season_number=\" + season_number +\n                '}';\n    }\n\n    public long getShow_id() {\n        return show_id;\n    }\n\n    public void setShow_id(long show_id) {\n        this.show_id = show_id;\n    }\n}\n\n\n\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/TVShowInfo/TVShowsResponseFromTMDB.java",
    "content": "package com.theflexproject.thunder.model.TVShowInfo;\n\n\nimport java.util.ArrayList;\n\npublic class TVShowsResponseFromTMDB{\n\n    public int page;\n    public ArrayList<Result> results;\n    public int total_pages;\n    public int total_results;\n\n    public int getPage() {\n        return page;\n    }\n\n    public void setPage(int page) {\n        this.page = page;\n    }\n\n    public ArrayList<Result> getResults() {\n        return results;\n    }\n\n    public void setResults(ArrayList<Result> results) {\n        this.results = results;\n    }\n\n    public int getTotal_pages() {\n        return total_pages;\n    }\n\n    public void setTotal_pages(int total_pages) {\n        this.total_pages = total_pages;\n    }\n\n    public int getTotal_results() {\n        return total_results;\n    }\n\n    public void setTotal_results(int total_results) {\n        this.total_results = total_results;\n    }\n\n    @Override\n    public String toString() {\n        return \"TVShowsResponseFromTMDB{\" +\n                \"page=\" + page +\n                \", results=\" + results +\n                \", total_pages=\" + total_pages +\n                \", total_results=\" + total_results +\n                '}';\n    }\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/tmdbImages/Backdrop.java",
    "content": "package com.theflexproject.thunder.model.tmdbImages;\n\npublic class Backdrop {\n    public double aspect_ratio;\n    public int height;\n    public String iso_639_1;\n    public String file_path;\n    public double vote_average;\n    public int vote_count;\n    public int width;\n\n    public double getAspect_ratio() {\n        return aspect_ratio;\n    }\n\n    public void setAspect_ratio(double aspect_ratio) {\n        this.aspect_ratio = aspect_ratio;\n    }\n\n    public int getHeight() {\n        return height;\n    }\n\n    public void setHeight(int height) {\n        this.height = height;\n    }\n\n    public String getIso_639_1() {\n        return iso_639_1;\n    }\n\n    public void setIso_639_1(String iso_639_1) {\n        this.iso_639_1 = iso_639_1;\n    }\n\n    public String getFile_path() {\n        return file_path;\n    }\n\n    public void setFile_path(String file_path) {\n        this.file_path = file_path;\n    }\n\n    public double getVote_average() {\n        return vote_average;\n    }\n\n    public void setVote_average(double vote_average) {\n        this.vote_average = vote_average;\n    }\n\n    public int getVote_count() {\n        return vote_count;\n    }\n\n    public void setVote_count(int vote_count) {\n        this.vote_count = vote_count;\n    }\n\n    public int getWidth() {\n        return width;\n    }\n\n    public void setWidth(int width) {\n        this.width = width;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/tmdbImages/Logo.java",
    "content": "package com.theflexproject.thunder.model.tmdbImages;\n\npublic class Logo {\n    public double aspect_ratio;\n    public int height;\n    public String iso_639_1;\n    public String file_path;\n    public double vote_average;\n    public int vote_count;\n    public int width;\n\n    public double getAspect_ratio() {\n        return aspect_ratio;\n    }\n\n    public void setAspect_ratio(double aspect_ratio) {\n        this.aspect_ratio = aspect_ratio;\n    }\n\n    public int getHeight() {\n        return height;\n    }\n\n    public void setHeight(int height) {\n        this.height = height;\n    }\n\n    public String getIso_639_1() {\n        return iso_639_1;\n    }\n\n    public void setIso_639_1(String iso_639_1) {\n        this.iso_639_1 = iso_639_1;\n    }\n\n    public String getFile_path() {\n        return file_path;\n    }\n\n    public void setFile_path(String file_path) {\n        this.file_path = file_path;\n    }\n\n    public double getVote_average() {\n        return vote_average;\n    }\n\n    public void setVote_average(double vote_average) {\n        this.vote_average = vote_average;\n    }\n\n    public int getVote_count() {\n        return vote_count;\n    }\n\n    public void setVote_count(int vote_count) {\n        this.vote_count = vote_count;\n    }\n\n    public int getWidth() {\n        return width;\n    }\n\n    public void setWidth(int width) {\n        this.width = width;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/tmdbImages/Poster.java",
    "content": "package com.theflexproject.thunder.model.tmdbImages;\n\npublic class Poster {\n    public double aspect_ratio;\n    public int height;\n    public String iso_639_1;\n    public String file_path;\n    public double vote_average;\n    public int vote_count;\n    public int width;\n\n    public double getAspect_ratio() {\n        return aspect_ratio;\n    }\n\n    public void setAspect_ratio(double aspect_ratio) {\n        this.aspect_ratio = aspect_ratio;\n    }\n\n    public int getHeight() {\n        return height;\n    }\n\n    public void setHeight(int height) {\n        this.height = height;\n    }\n\n    public String getIso_639_1() {\n        return iso_639_1;\n    }\n\n    public void setIso_639_1(String iso_639_1) {\n        this.iso_639_1 = iso_639_1;\n    }\n\n    public String getFile_path() {\n        return file_path;\n    }\n\n    public void setFile_path(String file_path) {\n        this.file_path = file_path;\n    }\n\n    public double getVote_average() {\n        return vote_average;\n    }\n\n    public void setVote_average(double vote_average) {\n        this.vote_average = vote_average;\n    }\n\n    public int getVote_count() {\n        return vote_count;\n    }\n\n    public void setVote_count(int vote_count) {\n        this.vote_count = vote_count;\n    }\n\n    public int getWidth() {\n        return width;\n    }\n\n    public void setWidth(int width) {\n        this.width = width;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/model/tmdbImages/TMDBImagesResponse.java",
    "content": "package com.theflexproject.thunder.model.tmdbImages;\n\n\nimport java.util.ArrayList;\n\npublic class TMDBImagesResponse{\n    public ArrayList<Backdrop> backdrops;\n    public int id;\n    public ArrayList<Logo> logos;\n    public ArrayList<Poster> posters;\n\n    public ArrayList<Backdrop> getBackdrops() {\n        return backdrops;\n    }\n\n    public void setBackdrops(ArrayList<Backdrop> backdrops) {\n        this.backdrops = backdrops;\n    }\n\n    public int getId() {\n        return id;\n    }\n\n    public void setId(int id) {\n        this.id = id;\n    }\n\n    public ArrayList<Logo> getLogos() {\n        return logos;\n    }\n\n    public void setLogos(ArrayList<Logo> logos) {\n        this.logos = logos;\n    }\n\n    public ArrayList<Poster> getPosters() {\n        return posters;\n    }\n\n    public void setPosters(ArrayList<Poster> posters) {\n        this.posters = posters;\n    }\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/player/DemoUtil.java",
    "content": "package com.theflexproject.thunder.player;\n\nimport android.content.Context;\n\nimport com.google.android.exoplayer2.DefaultRenderersFactory;\nimport com.google.android.exoplayer2.RenderersFactory;\nimport com.google.android.exoplayer2.database.DatabaseProvider;\nimport com.google.android.exoplayer2.database.StandaloneDatabaseProvider;\nimport com.google.android.exoplayer2.upstream.DataSource;\nimport com.google.android.exoplayer2.upstream.DefaultDataSource;\nimport com.google.android.exoplayer2.upstream.DefaultHttpDataSource;\nimport com.google.android.exoplayer2.upstream.cache.Cache;\nimport com.google.android.exoplayer2.upstream.cache.CacheDataSource;\nimport com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor;\nimport com.google.android.exoplayer2.upstream.cache.SimpleCache;\n\nimport java.io.File;\nimport java.net.CookieHandler;\nimport java.net.CookieManager;\nimport java.net.CookiePolicy;\n\n/** Utility methods for the demo app. */\npublic final class DemoUtil {\n\n    private static final String TAG = \"DemoUtil\";\n    private static final String DOWNLOAD_CONTENT_DIRECTORY = \"downloads\";\n\n    private static DataSource. Factory dataSourceFactory;\n    private static DataSource. Factory httpDataSourceFactory;\n    private static  DatabaseProvider databaseProvider;\n    private static  File downloadDirectory;\n    private static  Cache downloadCache;\n\n    public static RenderersFactory buildRenderersFactory(\n            Context context, boolean preferExtensionRenderer) {\n        @DefaultRenderersFactory.ExtensionRendererMode\n        int extensionRendererMode = DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON;\n        return new DefaultRenderersFactory(context.getApplicationContext())\n                .setExtensionRendererMode(extensionRendererMode);\n    }\n\n    public static synchronized DataSource.Factory getHttpDataSourceFactory(Context context) {\n        if (httpDataSourceFactory == null) {\n            if (httpDataSourceFactory == null) {\n                // We don't want to use Cronet, or we failed to instantiate a CronetEngine.\n                CookieManager cookieManager = new CookieManager();\n                cookieManager.setCookiePolicy(CookiePolicy.ACCEPT_ORIGINAL_SERVER);\n                CookieHandler.setDefault(cookieManager);\n                httpDataSourceFactory = new DefaultHttpDataSource.Factory();\n            }\n        }\n        return httpDataSourceFactory;\n    }\n\n    /** Returns a {@link DataSource.Factory}. */\n    public static synchronized DataSource.Factory getDataSourceFactory(Context context) {\n        if (dataSourceFactory == null) {\n            context = context.getApplicationContext();\n            DefaultDataSource.Factory upstreamFactory =\n                    new DefaultDataSource.Factory(context, getHttpDataSourceFactory(context));\n            dataSourceFactory = buildReadOnlyCacheDataSource(upstreamFactory, getDownloadCache(context));\n        }\n        return dataSourceFactory;\n    }\n\n    private static synchronized Cache getDownloadCache(Context context) {\n        if (downloadCache == null) {\n            File downloadContentDirectory =\n                    new File(getDownloadDirectory(context), DOWNLOAD_CONTENT_DIRECTORY);\n            downloadCache =\n                    new SimpleCache(\n                            downloadContentDirectory, new NoOpCacheEvictor(), getDatabaseProvider(context));\n        }\n        return downloadCache;\n    }\n\n\n    private static synchronized DatabaseProvider getDatabaseProvider(Context context) {\n        if (databaseProvider == null) {\n            databaseProvider = new StandaloneDatabaseProvider(context);\n        }\n        return databaseProvider;\n    }\n\n    private static synchronized File getDownloadDirectory(Context context) {\n        if (downloadDirectory == null) {\n            downloadDirectory = context.getExternalFilesDir(/* type= */ null);\n            if (downloadDirectory == null) {\n                downloadDirectory = context.getFilesDir();\n            }\n        }\n        return downloadDirectory;\n    }\n\n    private static CacheDataSource.Factory buildReadOnlyCacheDataSource(\n            DataSource.Factory upstreamFactory, Cache cache) {\n        return new CacheDataSource.Factory()\n                .setCache(cache)\n                .setUpstreamDataSourceFactory(upstreamFactory)\n                .setCacheWriteDataSinkFactory(null)\n                .setFlags(CacheDataSource.FLAG_IGNORE_CACHE_ON_ERROR);\n    }\n\n    private DemoUtil() {}\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/player/PlayerActivity.java",
    "content": "package com.theflexproject.thunder.player;\n\nimport android.content.Intent;\nimport android.content.pm.ActivityInfo;\nimport android.net.Uri;\nimport android.os.Build;\nimport android.os.Bundle;\nimport android.util.Log;\nimport android.view.KeyEvent;\nimport android.view.View;\nimport android.widget.ImageButton;\nimport android.widget.LinearLayout;\nimport android.widget.Toast;\n\nimport androidx.annotation.Nullable;\nimport androidx.appcompat.app.AppCompatActivity;\n\nimport com.google.android.exoplayer2.C;\nimport com.google.android.exoplayer2.ExoPlayer;\nimport com.google.android.exoplayer2.MediaItem;\nimport com.google.android.exoplayer2.PlaybackException;\nimport com.google.android.exoplayer2.Player;\nimport com.google.android.exoplayer2.RenderersFactory;\nimport com.google.android.exoplayer2.audio.AudioAttributes;\nimport com.google.android.exoplayer2.drm.DefaultDrmSessionManagerProvider;\nimport com.google.android.exoplayer2.source.DefaultMediaSourceFactory;\nimport com.google.android.exoplayer2.source.MediaSource;\nimport com.google.android.exoplayer2.trackselection.TrackSelectionParameters;\nimport com.google.android.exoplayer2.ui.StyledPlayerControlView;\nimport com.google.android.exoplayer2.ui.StyledPlayerView;\nimport com.google.android.exoplayer2.upstream.DataSource;\nimport com.google.android.exoplayer2.util.EventLogger;\nimport com.theflexproject.thunder.R;\n\npublic class PlayerActivity extends AppCompatActivity implements View.OnClickListener, StyledPlayerView.ControllerVisibilityListener {\n\n    private static final String KEY_TRACK_SELECTION_PARAMETERS = \"track_selection_parameters\";\n    private static final String KEY_ITEM_INDEX = \"item_index\";\n    private static final String KEY_POSITION = \"position\";\n    private static final String KEY_AUTO_PLAY = \"auto_play\";\n\n    public static final String PREFER_EXTENSION_DECODERS_EXTRA = \"prefer_extension_decoders\";\n\n    protected StyledPlayerView playerView;\n    protected StyledPlayerControlView controlView;\n    protected LinearLayout debugRootView;\n    protected @Nullable ExoPlayer player;\n\n    private DataSource.Factory dataSourceFactory;\n    private MediaItem mediaItem;\n    private TrackSelectionParameters trackSelectionParameters;\n    private boolean startAutoPlay;\n    private int startItemIndex;\n    private long startPosition;\n\n    private ImageButton buttonAspectRatio;\n    int uiOptions;\n    View decorView;\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n\n        decorView = getWindow().getDecorView();\n\n        uiOptions = View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n                | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n                | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n                | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n                | View.SYSTEM_UI_FLAG_FULLSCREEN\n                | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;\n\n        decorView.setSystemUiVisibility(uiOptions);\n\n        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);\n\n        dataSourceFactory = DemoUtil.getDataSourceFactory(/* context= */ this);\n\n        setContentView();\n\n        playerView = findViewById(R.id.player_view);\n        playerView.setControllerVisibilityListener(this);\n        playerView.requestFocus();\n\n        if (savedInstanceState != null) {\n            trackSelectionParameters =\n                    TrackSelectionParameters.fromBundle(\n                            savedInstanceState.getBundle(KEY_TRACK_SELECTION_PARAMETERS));\n            startAutoPlay = savedInstanceState.getBoolean(KEY_AUTO_PLAY);\n            startItemIndex = savedInstanceState.getInt(KEY_ITEM_INDEX);\n            startPosition = savedInstanceState.getLong(KEY_POSITION);\n\n        } else {\n            trackSelectionParameters = new TrackSelectionParameters.Builder(/* context= */ this).build();\n            clearStartPosition();\n        }\n\n}\n\n    @Override\n    public void onNewIntent(Intent intent) {\n        super.onNewIntent(intent);\n        releasePlayer();\n\n        clearStartPosition();\n        setIntent(intent);\n    }\n\n    @Override\n    public void onStart() {\n        super.onStart();\n        if (Build.VERSION.SDK_INT > 23) {\n            initializePlayer();\n            if (playerView != null) {\n                playerView.onResume();\n            }\n        }\n    }\n\n    @Override\n    public void onResume() {\n        super.onResume();\n        if (Build.VERSION.SDK_INT <= 23 || player == null) {\n            initializePlayer();\n            if (playerView != null) {\n                playerView.onResume();\n            }\n        }\n\n    }\n\n    @Override\n    public void onPause() {\n        super.onPause();\n        if (Build.VERSION.SDK_INT <= 23) {\n            if (playerView != null) {\n                playerView.onPause();\n            }\n            releasePlayer();\n        }\n    }\n\n    @Override\n    public void onStop() {\n        super.onStop();\n        if (Build.VERSION.SDK_INT > 23) {\n            if (playerView != null) {\n                playerView.onPause();\n            }\n            releasePlayer();\n        }\n    }\n\n    @Override\n    public void onDestroy() {\n        super.onDestroy();\n\n    }\n\n\n    @Override\n    public void onSaveInstanceState(Bundle outState) {\n        super.onSaveInstanceState(outState);\n        updateTrackSelectorParameters();\n        updateStartPosition();\n        outState.putBundle(KEY_TRACK_SELECTION_PARAMETERS, trackSelectionParameters.toBundle());\n        outState.putBoolean(KEY_AUTO_PLAY, startAutoPlay);\n        outState.putInt(KEY_ITEM_INDEX, startItemIndex);\n        outState.putLong(KEY_POSITION, startPosition);\n    }\n\n    // Activity input\n\n    @Override\n    public boolean dispatchKeyEvent(KeyEvent event) {\n        // See whether the player view wants to handle media or DPAD keys events.\n        return playerView.dispatchKeyEvent(event) || super.dispatchKeyEvent(event);\n    }\n\n    // OnClickListener methods\n\n    // StyledPlayerView.ControllerVisibilityListener implementation\n\n    @Override\n    public void onVisibilityChanged(int visibility) {\n\n    }\n    @Override\n    public void onClick(View view) {\n\n    }\n\n    // Internal methods\n\n    protected void setContentView() {\n        setContentView(R.layout.activity_player);\n    }\n\n    /**\n     * @return Whether initialization was successful.\n     */\n    protected boolean initializePlayer() {\n        if (player == null) {\n            Intent intent = getIntent();\n            String urlString = intent.getStringExtra(\"url\");\n            Uri uri = Uri.parse(urlString);\n            Log.i(\"Inside Player\",uri.toString());\n            mediaItem = MediaItem.fromUri(uri);\n\n            ExoPlayer.Builder playerBuilder =\n                    new ExoPlayer.Builder(/* context= */ this)\n                            .setMediaSourceFactory(createMediaSourceFactory());\n            setRenderersFactory(\n                    playerBuilder, intent.getBooleanExtra(PREFER_EXTENSION_DECODERS_EXTRA, false));\n            player = playerBuilder.build();\n            player.setTrackSelectionParameters(trackSelectionParameters);\n            player.addListener(new PlayerEventListener());\n            player.addAnalyticsListener(new EventLogger());\n            player.setAudioAttributes(AudioAttributes.DEFAULT, /* handleAudioFocus= */ true);\n            player.setPlayWhenReady(startAutoPlay);\n            playerView.setPlayer(player);\n\n        }\n        boolean haveStartPosition = startItemIndex != C.INDEX_UNSET;\n        if (haveStartPosition) {\n            player.seekTo(startItemIndex, startPosition);\n        }\n        player.setMediaItem(mediaItem, /* resetPosition= */ !haveStartPosition);\n        player.prepare();\n        return true;\n    }\n\n    private MediaSource.Factory createMediaSourceFactory() {\n        DefaultDrmSessionManagerProvider drmSessionManagerProvider =\n                new DefaultDrmSessionManagerProvider();\n        drmSessionManagerProvider.setDrmHttpDataSourceFactory(\n                DemoUtil.getHttpDataSourceFactory(/* context= */ this));\n        return new DefaultMediaSourceFactory(/* context= */ this)\n                .setDataSourceFactory(dataSourceFactory)\n                .setDrmSessionManagerProvider(drmSessionManagerProvider);\n    }\n\n    private void setRenderersFactory(\n            ExoPlayer.Builder playerBuilder, boolean preferExtensionDecoders) {\n        RenderersFactory renderersFactory =\n                DemoUtil.buildRenderersFactory(/* context= */ this, preferExtensionDecoders);\n        playerBuilder.setRenderersFactory(renderersFactory);\n    }\n\n\n    protected void releasePlayer() {\n        if (player != null) {\n            updateTrackSelectorParameters();\n            updateStartPosition();\n            player.release();\n            player = null;\n            playerView.setPlayer(/* player= */ null);\n\n        }\n    }\n\n    private void updateTrackSelectorParameters() {\n        if (player != null) {\n            trackSelectionParameters = player.getTrackSelectionParameters();\n        }\n    }\n\n    private void updateStartPosition() {\n        if (player != null) {\n            startAutoPlay = player.getPlayWhenReady();\n            startItemIndex = player.getCurrentMediaItemIndex();\n            startPosition = Math.max(0, player.getContentPosition());\n        }\n    }\n\n    protected void clearStartPosition() {\n        startAutoPlay = true;\n        startItemIndex = C.INDEX_UNSET;\n        startPosition = C.TIME_UNSET;\n    }\n\n    private void showControls() {\n\n    }\n\n    private void showToast(int messageId) {\n        showToast(getString(messageId));\n    }\n\n    private void showToast(String message) {\n        Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\n    }\n\n    private class PlayerEventListener implements Player.Listener {\n\n        @Override\n        public void onPlaybackStateChanged(@Player.State int playbackState) {\n            if (playbackState == Player.STATE_ENDED) {\n                showControls();\n            }\n            decorView.setSystemUiVisibility(uiOptions);\n        }\n\n        @Override\n        public void onPlayerError(PlaybackException error) {\n            if (error.errorCode == PlaybackException.ERROR_CODE_BEHIND_LIVE_WINDOW) {\n                player.seekToDefaultPosition();\n                player.prepare();\n            } else {\n                showControls();\n            }\n        }\n\n}\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/AnimeNameExtractor.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class AnimeNameExtractor {\n\n   private static final Pattern ANIME_NAME_PATTERN = Pattern.compile(\"\\\\[(.+)?\\\\] (.+?) (S\\\\d* )?- (\\\\d+) (\\\\[(.+)\\\\])?\");\n\n\n    public static String[] getAnimeName (String matchString) {\n        String animeName;\n        String seasonNumber;\n        String episodeNumber;\n        Matcher m = ANIME_NAME_PATTERN.matcher(matchString);\n        if (m.matches()) {\n            animeName= m.group(2);\n            seasonNumber= m.group(3);\n            episodeNumber= m.group(4);\n            System.out.println(\"In animeExtractor\"+animeName +seasonNumber+ episodeNumber);\n            return new String[]{animeName , seasonNumber , episodeNumber};\n        }\n        return null;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/BlurBitmap.java",
    "content": "//package com.theflexproject.thunder.utils;\n//\n//import android.graphics.Bitmap;\n//\n//public class BlurBitmap {\n//    private static final int BLUR_RADIUS = 5;\n//    private static final int BITMAP_SCALE = 1;\n//    static Bitmap sentBitmap = null;\n//    public static Bitmap fastBlur(Bitmap sentBitmap) {\n//\n//        if(sentBitmap!=null){\n//        int radius = BLUR_RADIUS;\n//\n//        int width = sentBitmap.getWidth();\n//        int height = sentBitmap.getHeight();\n//        sentBitmap = Bitmap.createScaledBitmap(sentBitmap , width , height , false);\n//\n//        Bitmap bitmap = sentBitmap.copy(sentBitmap.getConfig() , true);\n//\n//        int w = bitmap.getWidth();\n//        int h = bitmap.getHeight();\n//\n//        int[] pix = new int[w * h];\n//\n//        bitmap.getPixels(pix , 0 , w , 0 , 0 , w , h);\n//\n//        int wm = w - 1;\n//        int hm = h - 1;\n//        int wh = w * h;\n//        int div = radius + radius + 1;\n//\n//        int[] r = new int[wh];\n//        int[] g = new int[wh];\n//        int[] b = new int[wh];\n//        int rsum, gsum, bsum, x, y, i, p, yp, yi, yw;\n//        int[] vmin = new int[Math.max(w , h)];\n//\n//        int divsum = (div + 1) >> 1;\n//        divsum *= divsum;\n//        int[] dv = new int[256 * divsum];\n//        for (i = 0; i < 256 * divsum; i++) {\n//            dv[i] = (i / divsum);\n//        }\n//\n//        yw = yi = 0;\n//\n//        int[][] stack = new int[div][3];\n//        int stackpointer;\n//        int stackstart;\n//        int[] sir;\n//        int rbs;\n//        int r1 = radius + 1;\n//        int routsum, goutsum, boutsum;\n//        int rinsum, ginsum, binsum;\n//\n//        for (y = 0; y < h; y++) {\n//            rinsum = ginsum = binsum = routsum = goutsum = boutsum = rsum = gsum = bsum = 0;\n//            for (i = -radius; i <= radius; i++) {\n//                p = pix[yi + Math.min(wm , Math.max(i , 0))];\n//                sir = stack[i + radius];\n//                sir[0] = (p & 0xff0000) >> 16;\n//                sir[1] = (p & 0x00ff00) >> 8;\n//                sir[2] = (p & 0x0000ff);\n//                rbs = r1 - Math.abs(i);\n//                rsum += sir[0] * rbs;\n//                gsum += sir[1] * rbs;\n//                bsum += sir[2] * rbs;\n//                if (i > 0) {\n//                    rinsum += sir[0];\n//                    ginsum += sir[1];\n//                    binsum += sir[2];\n//                } else {\n//                    routsum += sir[0];\n//                    goutsum += sir[1];\n//                    boutsum += sir[2];\n//                }\n//            }\n//            stackpointer = radius;\n//\n//            for (x = 0; x < w; x++) {\n//\n//                r[yi] = dv[rsum];\n//                g[yi] = dv[gsum];\n//                b[yi] = dv[bsum];\n//\n//                rsum -= routsum;\n//                gsum -= goutsum;\n//                bsum -= boutsum;\n//\n//                stackstart = stackpointer - radius + div;\n//                sir = stack[stackstart % div];\n//\n//                routsum -= sir[0];\n//                goutsum -= sir[1];\n//                boutsum -= sir[2];\n//\n//                if (y == 0) {\n//                    vmin[x] = Math.min(x + radius + 1 , wm);\n//                }\n//                p = pix[yw + vmin[x]];\n//\n//                sir[0] = (p & 0xff0000) >> 16;\n//                sir[1] = (p & 0x00ff00) >> 8;\n//                sir[2] = (p & 0x0000ff);\n//\n//                rinsum += sir[0];\n//                ginsum += sir[1];\n//                binsum += sir[2];\n//\n//                rsum += rinsum;\n//                gsum += ginsum;\n//                bsum += binsum;\n//\n//                stackpointer = (stackpointer + 1) % div;\n//                sir = stack[(stackpointer) % div];\n//\n//                routsum += sir[0];\n//                goutsum += sir[1];\n//                boutsum += sir[2];\n//\n//                rinsum -= sir[0];\n//                ginsum -= sir[1];\n//                binsum -= sir[2];\n//\n//                yi++;\n//            }\n//            yw += w;\n//        }\n//        for (x = 0; x < w; x++) {\n//            rinsum = ginsum = binsum = routsum = goutsum = boutsum = rsum = gsum = bsum = 0;\n//            yp = -radius * w;\n//            for (i = -radius; i <= radius; i++) {\n//                yi = Math.max(0 , yp) + x;\n//\n//                sir = stack[i + radius];\n//\n//                sir[0] = r[yi];\n//                sir[1] = g[yi];\n//                sir[2] = b[yi];\n//\n//                rbs = r1 - Math.abs(i);\n//\n//                rsum += r[yi] * rbs;\n//                gsum += g[yi] * rbs;\n//                bsum += b[yi] * rbs;\n//\n//                if (i > 0) {\n//                    rinsum += sir[0];\n//                    ginsum += sir[1];\n//                    binsum += sir[2];\n//                } else {\n//                    routsum += sir[0];\n//                    goutsum += sir[1];\n//                    boutsum += sir[2];\n//                }\n//\n//                if (i < hm) {\n//                    yp += w;\n//                }\n//            }\n//            yi = x;\n//            stackpointer = radius;\n//            for (y = 0; y < h; y++) {\n//                // Preserve alpha channel: ( 0xff000000 & pix[yi] )\n//                pix[yi] = (0xff000000 & pix[yi]) | (dv[rsum] << 16) | (dv[gsum] << 8) | dv[bsum];\n//\n//                rsum -= routsum;\n//                gsum -= goutsum;\n//                bsum -= boutsum;\n//\n//                stackstart = stackpointer - radius + div;\n//                sir = stack[stackstart % div];\n//\n//                routsum -= sir[0];\n//                goutsum -= sir[1];\n//                boutsum -= sir[2];\n//\n//                if (x == 0) {\n//                    vmin[y] = Math.min(y + r1 , hm) * w;\n//                }\n//                p = x + vmin[y];\n//\n//                sir[0] = r[p];\n//                sir[1] = g[p];\n//                sir[2] = b[p];\n//\n//                rinsum += sir[0];\n//                ginsum += sir[1];\n//                binsum += sir[2];\n//\n//                rsum += rinsum;\n//                gsum += ginsum;\n//                bsum += binsum;\n//\n//                stackpointer = (stackpointer + 1) % div;\n//                sir = stack[stackpointer];\n//\n//                routsum += sir[0];\n//                goutsum += sir[1];\n//                boutsum += sir[2];\n//\n//                rinsum -= sir[0];\n//                ginsum -= sir[1];\n//                binsum -= sir[2];\n//\n//                yi += w;\n//            }\n//        }\n//\n//        bitmap.setPixels(pix , 0 , w , 0 , 0 , w , h);\n//            return (bitmap);\n//\n//    }\n//        return sentBitmap;\n//    }\n//\n//}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/CheckForUpdates.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport android.util.Log;\n\nimport com.google.gson.Gson;\nimport com.theflexproject.thunder.BuildConfig;\nimport com.theflexproject.thunder.fragments.BaseFragment;\nimport com.theflexproject.thunder.model.GitHubResponse;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.net.HttpURLConnection;\nimport java.net.URL;\n\npublic class CheckForUpdates extends BaseFragment {\n    public GitHubResponse[] checkForUpdates() throws IOException {\n        String GET_URL = \"https://api.github.com/repos/anujd64/Thunder/releases\";\n        int versionCode = BuildConfig.VERSION_CODE;\n        String versionName = BuildConfig.VERSION_NAME;\n        GitHubResponse[] gitHubResponse;\n        StringBuffer response = null;\n        URL obj = new URL(GET_URL);\n        HttpURLConnection con = (HttpURLConnection) obj.openConnection();\n        con.setRequestMethod(\"GET\");\n        int responseCode = con.getResponseCode();\n        System.out.println(\"GET Response Code :: \" + responseCode);\n        if (responseCode == HttpURLConnection.HTTP_OK) { // success\n            BufferedReader in = new BufferedReader(new InputStreamReader(\n                    con.getInputStream()));\n            String inputLine;\n            response = new StringBuffer();\n\n            while ((inputLine = in.readLine()) != null) {\n                response.append(inputLine);\n            }\n            in.close();\n\n            Gson gson = new Gson();\n            gitHubResponse = gson.fromJson(response.toString() ,GitHubResponse[].class);\n            String gitHubVersion = gitHubResponse[0].tag_name.substring(1);\n            Log.i(\"Check fOr Update\",gitHubVersion + \"current\" + versionName );\n\n                if(versionCompare(gitHubVersion,versionName)==1){\n                    /**UpdateFragment*/\n                    return gitHubResponse;\n                }\n\n        } else {\n            System.out.println(\"GET request did not work\");\n        }\n\n        assert response != null;\n        Log.i(\"Check fOr Update\",response.toString());\n\n    return null;\n\n    }\n\n    static int versionCompare(String v1, String v2)\n    {\n\n        int vnum1 = 0, vnum2 = 0;\n\n        for (int i = 0, j = 0; (i < v1.length()\n                || j < v2.length());) {\n            while (i < v1.length()\n                    && v1.charAt(i) != '.') {\n                vnum1 = vnum1 * 10\n                        + (v1.charAt(i) - '0');\n                i++;\n            }\n            while (j < v2.length()\n                    && v2.charAt(j) != '.') {\n                vnum2 = vnum2 * 10\n                        + (v2.charAt(j) - '0');\n                j++;\n            }\n\n            if (vnum1 > vnum2)\n                return 1;\n            if (vnum2 > vnum1)\n                return -1;\n            vnum1 = vnum2 = 0;\n            i++;\n            j++;\n        }\n        return 0;\n    }\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/IndexUtils.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport static com.theflexproject.thunder.MainActivity.context;\nimport static com.theflexproject.thunder.utils.SendPostRequest.postRequestGDIndex;\nimport static com.theflexproject.thunder.utils.SendPostRequest.postRequestGoIndex;\nimport static com.theflexproject.thunder.utils.SendPostRequest.postRequestMapleIndex;\nimport static com.theflexproject.thunder.utils.SendPostRequest.postRequestSimpleProgramIndex;\n\nimport android.content.Context;\n\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.IndexLink;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\n\nimport java.util.List;\n\npublic class IndexUtils{\n\n    public static boolean refreshIndex(Context mContext , IndexLink indexLink) {\n        Thread thread = null;\n//        if(!deleteIndex(indexLink)){\n            thread = new Thread(new Runnable() {\n                @Override\n                public void run() {\n                    String folderType = indexLink.getFolderType();\n                    String indexType = indexLink.getIndexType();\n\n                    String link =indexLink.getLink();\n                    String user =indexLink.getUsername();\n                    String pass =indexLink.getPassword();\n\n                    System.out.println(\"Before setting id\"+ indexLink.getId());\n\n//                    int id = indexLink.getId();\n//                    DatabaseClient.getInstance(context).getAppDatabase().indexLinksDao().deleteById(indexLink.getId());\n\n                    IndexLink indexLinkAgain = DatabaseClient.getInstance(mContext).getAppDatabase().indexLinksDao().find(link);\n                    if(indexLinkAgain==null){\n                        DatabaseClient.getInstance(mContext).getAppDatabase().indexLinksDao().insert(indexLink);\n                    }\n                    int id =indexLinkAgain.getId();\n\n                    System.out.println(\"After setting id\"+ indexLinkAgain.getId());\n\n\n                    if(folderType.equals(\"Movies\")) {\n                        if(indexType.equals(\"GDIndex\")) {\n                            postRequestGDIndex(link,user,pass,false,id);\n                        }\n                        if(indexType.equals(\"GoIndex\")) {\n                            postRequestGoIndex(link,user,pass,false,id);\n                        }\n                        if(indexType.equals(\"MapleIndex\")){\n                            postRequestMapleIndex(link,user,pass,false,id);\n                        }\n                        if(indexType.equals(\"SimpleProgram\")){\n                            postRequestSimpleProgramIndex(link,user,pass,false,id);\n                        }\n                    }\n\n                    if(folderType.equals(\"TVShows\")){\n                        if(indexType.equals(\"GDIndex\")) {\n                            postRequestGDIndex(link,user,pass,true,id);\n                        }\n                        if(indexType.equals(\"GoIndex\")) {\n                            postRequestGoIndex(link,user,pass,true,id);\n                        }\n                        if(indexType.equals(\"MapleIndex\")){\n                            postRequestMapleIndex(link,user,pass,true,id);\n                        }\n                        if(indexType.equals(\"SimpleProgram\")){\n                            postRequestSimpleProgramIndex(link,user,pass,true,id);\n                        }\n                    }\n\n                }\n            });\n            thread.start();\n            return thread.isAlive();\n//        }\n//        return thread.isAlive();\n    }\n\n    public static boolean deleteIndex(Context mContext,IndexLink indexLink) {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                if (indexLink.getFolderType().equals(\"Movies\")) {\n                    DatabaseClient.getInstance(mContext)\n                            .getAppDatabase()\n                            .movieDao()\n                            .deleteAllFromthisIndex(indexLink.getId());\n                }\n                if (indexLink.getFolderType().equals(\"TVShows\")) {\n                    DatabaseClient.getInstance(mContext)\n                            .getAppDatabase()\n                            .episodeDao()\n                            .deleteAllFromThisIndex(indexLink.getId());\n\n\n                    List<TVShowSeasonDetails> seasonsList = DatabaseClient\n                            .getInstance(mContext)\n                            .getAppDatabase()\n                            .tvShowSeasonDetailsDao()\n                            .getAll();\n\n                    for(TVShowSeasonDetails season : seasonsList) {\n                        List<Episode> episodeList = DatabaseClient\n                                .getInstance(mContext)\n                                .getAppDatabase()\n                                .episodeDao()\n                                .getFromSeasonOnly(season.getId());\n                        if(episodeList==null || episodeList.size()==0){\n                            DatabaseClient.getInstance(mContext).getAppDatabase().tvShowSeasonDetailsDao().deleteById(season.getId());\n                        }\n                    }\n\n                    List<TVShow> tvShowList = DatabaseClient\n                            .getInstance(mContext)\n                            .getAppDatabase()\n                            .tvShowDao().getAll();\n\n                    for(TVShow tvShow : tvShowList) {\n                        List<TVShowSeasonDetails> seasonsInThisShow = DatabaseClient\n                                .getInstance(mContext)\n                                .getAppDatabase()\n                                .tvShowSeasonDetailsDao()\n                                .findByShowId(tvShow.getId());\n                        if(seasonsInThisShow==null|| seasonsInThisShow.size()==0){\n                            DatabaseClient.getInstance(mContext).getAppDatabase().tvShowDao().deleteById(tvShow.getId());\n                        }\n                    }\n\n                }\n                DatabaseClient.getInstance(mContext)\n                        .getAppDatabase()\n                        .indexLinksDao()\n                        .deleteById(indexLink.getId());\n            }\n        });\n        thread.start();\n        try{\n            thread.join();\n        }catch (InterruptedException e){\n            System.out.println(e.toString());\n        }\n\n        return thread.isAlive();\n    }\n\n    static int noOfMedia = 0;\n    public static int getNoOfMedia(Context mContext,IndexLink t) {\n\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                noOfMedia = 0;\n                if(t.getFolderType()!=null && t.getFolderType().equals(\"Movies\")){\n                    noOfMedia = DatabaseClient.getInstance(mContext).getAppDatabase().movieDao().getNoOfMovies(t.getId());\n                    System.out.println(\"noOfMedia after calculation\"+noOfMedia);\n                }\n                if(t.getFolderType()!=null && t.getFolderType().equals(\"TVShows\")){\n                    noOfMedia = DatabaseClient.getInstance(mContext).getAppDatabase().episodeDao().getNoOfShows(t.getId());\n                    System.out.println(\"noOfMedia after calculation\"+noOfMedia);\n                }\n            }\n        });\n        thread.start();\n\n        try {\n            thread.join();\n        } catch (InterruptedException e) {\n            e.printStackTrace();\n        }\n\n        System.out.println(\"noOfMedia after calculation\"+noOfMedia);\n\n\n        return noOfMedia;\n    }\n\n    public static void disableIndex(Context mContext,IndexLink indexLink){\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                if(indexLink.getFolderType().equals(\"Movies\")){\n                    DatabaseClient.getInstance(mContext).getAppDatabase().movieDao().disableFromThisIndex(indexLink.getId());\n                }\n                if(indexLink.getFolderType().equals(\"TVShows\")){\n                   DatabaseClient.getInstance(mContext).getAppDatabase().episodeDao().disableFromThisIndex(indexLink.getId());\n                }\n                DatabaseClient.getInstance(mContext).getAppDatabase().indexLinksDao().disableIndex(indexLink.getId());\n\n            }\n        });\n        thread.start();\n\n    }\n\n    public static void enableIndex(Context mContext,IndexLink indexLink){\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                if(indexLink.getFolderType().equals(\"Movies\")){\n                    DatabaseClient.getInstance(mContext).getAppDatabase().movieDao().enableFromThisIndex(indexLink.getId());\n                }\n                if(indexLink.getFolderType().equals(\"TVShows\")){\n                   DatabaseClient.getInstance(mContext).getAppDatabase().episodeDao().enableFromThisIndex(indexLink.getId());\n                    System.out.println(\"noOfMedia after calculation\"+noOfMedia);\n                }\n                DatabaseClient.getInstance(mContext).getAppDatabase().indexLinksDao().enableIndex(indexLink.getId());\n\n            }\n        });\n        thread.start();\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/MovieQualityExtractor.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport java.util.regex.Pattern;\n\npublic class MovieQualityExtractor {\n    public static String extractQualtiy(String name){\n        if(Pattern.compile(Pattern.quote(\"DOVI\"), Pattern.CASE_INSENSITIVE).matcher(name).find() && name.contains(\"2160\")){return \"4K Dolby Vision\";}\n        if(Pattern.compile(Pattern.quote(\"DOVI\"), Pattern.CASE_INSENSITIVE).matcher(name).find() && name.contains(\"1080\")){return \"1080p Dolby Vision\";}\n        if(Pattern.compile(Pattern.quote(\"HDR\"), Pattern.CASE_INSENSITIVE).matcher(name).find() && name.contains(\"2160\")) return \"4K HDR\";\n        if(Pattern.compile(Pattern.quote(\"HDR\"), Pattern.CASE_INSENSITIVE).matcher(name).find() && name.contains(\"1080\")) return \"1080p HDR\";\n\n        if(Pattern.compile(Pattern.quote(\"Dolby Vision\"), Pattern.CASE_INSENSITIVE).matcher(name).find() ||\n                Pattern.compile(Pattern.quote(\"DVSUX\"), Pattern.CASE_INSENSITIVE).matcher(name).find()) return \"Dolby Vision\";\n\n        if(name.contains(\"2160\")) return \"2160p\";\n        if(name.contains(\"1080\")) return \"1080p\";\n        if(name.contains(\"720\")) return \"720p\";\n        if(name.contains(\"480\")) return \"480p\";\n        if(name.contains(\"XviD\")||name.contains(\"XVID\")) return \"XVID\";\n        if(name.contains(\"ION10\")) return \"ION10\";\n        return null;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/MovieTitleExtractor2.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport static com.theflexproject.thunder.utils.ParseUtils.BRACKETS;\nimport static com.theflexproject.thunder.utils.ParseUtils.removeAfterEmptyParenthesis;\nimport static com.theflexproject.thunder.utils.ParseUtils.yearExtractor;\n\nimport android.util.Pair;\n\nimport java.util.Locale;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class MovieTitleExtractor2 {\n\n    public static MovieTitleExtractor2 instance() {\n        return INSTANCE;\n    }\n\n    private static final MovieTitleExtractor2 INSTANCE =\n            new MovieTitleExtractor2();\n\n    private MovieTitleExtractor2() {\n    }\n\n\n     public static String[] getTitle2(String input) {\n        String name = input;\n\n        // extract the last year from the string\n        String year = null;\n        // matches \"[space or punctuation/brackets etc]year\", year is group 1\n        // \"[\\\\s\\\\p{Punct}]((?:19|20)\\\\d{2})(?!\\\\d)\"\n        Pair<String, String> nameYear = yearExtractor(name);\n        name = nameYear.first;\n        year = nameYear.second;\n\n        // remove junk behind () that was containing year\n        // applies to movieName (1928) junk -> movieName () junk -> movieName\n        name = removeAfterEmptyParenthesis(name);\n\n        // Strip out starting numbering for collections \"1. \", \"1) \", \"1 - \", \"1.-.\", \"1._\"... but not \"1.Foo\" or \"1-Foo\"\n        name = ParseUtils.removeNumbering(name);\n        // Strip out starting numbering for collections \"1-\"\n        name = ParseUtils.removeNumberingDash(name);\n\n        // Strip out everything else in brackets <[{( .. )})>, most of the time teams names, etc\n        name = StringUtils.replaceAll(name, \"\", BRACKETS);\n\n        // strip away known case sensitive garbage\n        name = cutOffBeforeFirstMatch(name, GARBAGE_CASESENSITIVE_PATTERNS);\n\n        // replace all remaining whitespace & punctuation with a single space\n        name = ParseUtils.removeInnerAndOutterSeparatorJunk(name);\n\n        // append a \" \" to aid next step\n        // > \"Foo bar 1080p AC3 \" to find e.g. \" AC3 \"\n        name = name + \" \";\n\n        // try to remove more garbage, this time \" garbage \" syntax\n        // method will compare with lowercase name automatically\n        name = cutOffBeforeFirstMatch(name, GARBAGE_LOWERCASE);\n\n        name = name.trim();\n        String[] nameYear2 ={name,year};\n        return nameYear2;\n    }\n\n    // Common garbage in movies names to determine where the garbage starts in the name\n    // tested against strings like \"real movie name dvdrip 1080p power \"\n    private static final String[] GARBAGE_LOWERCASE = {\n            \" dvdrip \", \" dvd rip \", \"dvdscreener \", \" dvdscr \", \" dvd scr \",\n            \" brrip \", \" br rip \", \" bdrip\", \" bd rip \", \" blu ray \", \" bluray \",\n            \" hddvd \", \" hd dvd \", \" hdrip \", \" hd rip \", \" hdlight \", \" minibdrip \",\n            \" webrip \", \" web rip \",\n            \" 720p \", \" 1080p \", \" 1080i \", \" 720 \", \" 1080 \", \" 480i \", \" 2160p \", \" 4k \", \" 480p \", \" 576p \", \" 576i \", \" 240p \", \" 360p \", \" 4320p \", \" 8k \",\n            \" hdtv \", \" sdtv \", \" m hd \", \" ultrahd \", \" mhd \",\n            \" h264 \", \" x264 \", \" aac \", \" ac3 \", \" ogm \", \" dts \", \" hevc \", \" x265 \", \" av1 \",\n            \" avi \", \" mkv \", \" xvid \", \" divx \", \" wmv \", \" mpg \", \" mpeg \", \" flv \", \" f4v \",\n            \" asf \", \" vob \", \" mp4 \", \" mov \",\n            \" directors cut \", \" dircut \", \" readnfo \", \" read nfo \", \" repack \", \" rerip \", \" multi \", \" remastered \",\n            \" truefrench \", \" srt \", \" extended cut \",\n            \" sbs \", \" hsbs \", \" side by side \", \" sidebyside \", /* Side-By-Side 3d stuff */\n            \" 3d \", \" h sbs \", \" h tb \" , \" tb \", \" htb \", \" top bot \", \" topbot \", \" top bottom \", \" topbottom \", \" tab \", \" htab \", /* Top-Bottom 3d stuff */\n            \" anaglyph \", \" anaglyphe \", /* Anaglyph 3d stuff */\n            \" truehd \", \" atmos \", \" uhd \", \" hdr10+ \", \" hdr10 \", \" hdr \", \" dolby \", \" dts-x \", \" dts-hd.ma \",\n            \" hfr \",\n    };\n    // denoise filter Default = @\"(([\\(\\{\\[]|\\b)((576|720|1080)[pi]|dir(ectors )?cut|dvd([r59]|rip|scr(eener)?)|(avc)?hd|wmv|ntsc|pal|mpeg|dsr|r[1-5]|bd[59]|dts|ac3|blu(-)?ray|[hp]dtv|stv|hddvd|xvid|divx|x264|dxva|(?-i)FEST[Ii]VAL|L[iI]M[iI]TED|[WF]S|PROPER|REPACK|RER[Ii]P|REAL|RETA[Ii]L|EXTENDED|REMASTERED|UNRATED|CHRONO|THEATR[Ii]CAL|DC|SE|UNCUT|[Ii]NTERNAL|[DS]UBBED)([\\]\\)\\}]|\\b)(-[^\\s]+$)?)\")]\n    // stuff that could be present in real names is matched with tight case sensitive syntax\n    // strings here will only match if separated by any of \" .-_\"\n    private static final String[] GARBAGE_CASESENSITIVE = {\n            \"FRENCH\", \"TRUEFRENCH\", \"DUAL\", \"MULTISUBS\", \"MULTI\", \"MULTi\", \"SUBFORCED\", \"SUBFORCES\", \"UNRATED\", \"UNRATED[ ._-]DC\", \"EXTENDED\", \"IMAX\",\n            \"COMPLETE\", \"PROPER\", \"iNTERNAL\", \"INTERNAL\",\n            \"SUBBED\", \"ANiME\", \"LIMITED\", \"REMUX\", \"DCPRip\",\n            \"TS\", \"TC\", \"REAL\", \"HD\", \"DDR\", \"WEB\",\n            \"EN\", \"ENG\", \"FR\", \"ES\", \"IT\", \"NL\", \"VFQ\", \"VF\", \"VO\", \"VOF\", \"VOSTFR\", \"Eng\",\n            \"VOST\", \"VFF\", \"VF2\", \"VFI\", \"VFSTFR\",\n    };\n\n    private static final Pattern[] GARBAGE_CASESENSITIVE_PATTERNS = new Pattern[GARBAGE_CASESENSITIVE.length];\n    static {\n        for (int i = 0; i < GARBAGE_CASESENSITIVE.length; i++) {\n            // case sensitive string wrapped in \"space or . or _ or -\", in the end either separator or end of line\n            // end of line is important since .foo.bar. could be stripped to .foo and that would no longer match .foo.\n            GARBAGE_CASESENSITIVE_PATTERNS[i] = Pattern.compile(\"[ ._-]\" + GARBAGE_CASESENSITIVE[i] + \"(?:[ ._-]|$)\");\n        }\n    }\n\n    /**\n     * assumes title is always first\n     * @return substring from start to first finding of any garbage pattern\n     */\n    private static String cutOffBeforeFirstMatch(String input, Pattern[] patterns) {\n        String remaining = input;\n        for (Pattern pattern : patterns) {\n            if (remaining.isEmpty()) return \"\";\n\n            Matcher matcher = pattern.matcher(remaining);\n            if (matcher.find()) {\n                remaining = remaining.substring(0, matcher.start());\n            }\n        }\n        return remaining;\n    }\n\n    public static final String cutOffBeforeFirstMatch(String input, String[] garbageStrings) {\n        // lower case input to test against lowercase strings\n        String inputLowerCased = input.toLowerCase(Locale.US);\n\n        int firstGarbage = input.length();\n\n        for (String garbage : garbageStrings) {\n            int garbageIndex = inputLowerCased.indexOf(garbage);\n            // if found, shrink to 0..index\n            if (garbageIndex > -1 && garbageIndex < firstGarbage)\n                firstGarbage = garbageIndex;\n        }\n\n        // return substring from input -> keep case\n        return input.substring(0, firstGarbage);\n    }\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/Pair.java",
    "content": "package com.theflexproject.thunder.utils;\n\n\n\npublic interface Pair {\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/PairMovies.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport com.theflexproject.thunder.model.Movie;\n\nimport java.util.List;\n\npublic class PairMovies implements Pair {\n\n        private String recyclerTitle;\n\n        private List<Movie> mediaList;\n\n\n        public PairMovies(String recyclerTitle , List<Movie> mediaList){\n                this.mediaList= mediaList;\n                this.recyclerTitle= recyclerTitle;\n\n        }\n\n        public String getRecyclerTitle() {\n                return recyclerTitle;\n        }\n\n        public void setRecyclerTitle(String recyclerTitle) {\n                this.recyclerTitle = recyclerTitle;\n        }\n\n        public List<Movie> getmediaList() {\n                return mediaList;\n        }\n\n        public void setmediaList(List<Movie> mediaList) {\n                this.mediaList = mediaList;\n        }\n\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/PairTvShows.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\n\nimport java.util.List;\n\npublic class PairTvShows implements Pair {\n\n    private String recyclerTitle;\n\n    private List<TVShow> tvShowList;\n\n\n    public PairTvShows(String recyclerTitle , List<TVShow> tvShowList){\n        this.tvShowList= tvShowList;\n        this.recyclerTitle= recyclerTitle;\n    }\n\n    public String getRecyclerTitle() {\n        return recyclerTitle;\n    }\n\n    public void setRecyclerTitle(String recyclerTitle) {\n        this.recyclerTitle = recyclerTitle;\n    }\n\n\n    public List<TVShow> getTvShowList() {\n        return tvShowList;\n    }\n\n    public void setTvShowList(List<TVShow> tvShowList) {\n        this.tvShowList = tvShowList;\n    }\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/ParseUtils.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport android.util.Log;\nimport android.util.Pair;\n\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class ParseUtils {\n\n    /* ( whitespace | punctuation)+, matches dots, spaces, brackets etc */\n    private static final Pattern MULTI_NON_CHARACTER_PATTERN = Pattern.compile(\"[\\\\s\\\\p{Punct}&&[^']]+\");\n    /*\n     * Matches dots in between Uppercase letters e.g. in \"E.T.\", \"S.H.I.E.L.D.\" but not a \"a.b.c.\"\n     * Last dot is kept \"a.F.O.O.is.foo\" => \"a.FOO.is.foo\"\n     **/\n    private static final Pattern ACRONYM_DOTS = Pattern.compile(\"(?<=(\\\\b|[._])\\\\p{Lu})[.](?=\\\\p{Lu}([.]|$))\");\n\n    /* Matches \"1. \", \"1) \", \"1 - \", \"1.-.\", \"1._\"... but not \"1.Foo\" (could be a starting date with space) or \"1-Foo\" ..*/\n    private static final Pattern LEADING_NUMBERING = Pattern.compile(\"^(\\\\d+([.)][\\\\s\\\\p{Punct}]+|\\\\s+\\\\p{Punct}[\\\\p{Punct}\\\\s]*))*\");\n    // Matches \"1-Foo\" to be used with movies only because clashes with 24-s01e01 check with find . -type f -regex '.*/[0-9]+-[^/]*'\n    private static final Pattern LEADING_NUMBERING_DASH = Pattern.compile(\"^(\\\\d+([-]|\\\\s+\\\\p{Punct}[\\\\p{Punct}\\\\s]*))*\");\n\n    /** besides the plain ' there is the typographic ’ and ‘ which is actually not an apostrophe */\n    private static final char[] ALTERNATE_APOSTROPHES = new char[] {\n            '’', '‘'\n    };\n\n    public static final Pattern BRACKETS = Pattern.compile(\"[<({\\\\[].+?[>)}\\\\]]\");\n\n    // matches \"[space or punctuation/brackets etc]year\", year is group 1\n    private static final Pattern YEAR_PATTERN = Pattern.compile(\"(.*)[\\\\s\\\\p{Punct}]((?:19|20)\\\\d{2})(?!\\\\d)\");\n\n    // Strip out everything after empty parenthesis (after year pattern removal)\n    // i.e. movieName (1969) garbage -> movieName () garbage -> movieName\n    private static final Pattern EMPTY_PARENTHESIS_PATTERN = Pattern.compile(\"(.*)[\\\\s\\\\p{Punct}]+([(][)])\");\n\n    private static final Pattern COUNTRY_OF_ORIGIN = Pattern.compile(\"(.*)[\\\\s\\\\p{Punct}]+\\\\(((US|UK|FR))\\\\)\");\n\n    private static final Pattern PARENTHESIS_YEAR_PATTERN = Pattern.compile(\"(.*)[\\\\s\\\\p{Punct}]+\\\\(((?:19|20)\\\\d{2})\\\\)\");\n\n    public static String removeNumbering(String input) {\n        return StringUtils.replaceAll(input, \"\", LEADING_NUMBERING);\n    }\n\n    public static String removeNumberingDash(String input) {\n        return StringUtils.replaceAll(input, \"\", LEADING_NUMBERING_DASH);\n    }\n\n    /** replaces \"S.H.I.E.L.D.\" with \"SHIELD\", only uppercase letters */\n    public static String replaceAcronyms(String input) {\n        return StringUtils.replaceAll(input, \"\", ACRONYM_DOTS);\n    }\n\n    /** replaces alternative apostrophes with a simple ' */\n    public static String unifyApostrophes(String input) {\n        return StringUtils.replaceAllChars(input, ALTERNATE_APOSTROPHES, '\\'');\n    }\n\n    /** removes all punctuation characters besides ' Also does apostrophe and Acronym replacement */\n    public static String removeInnerAndOutterSeparatorJunk(String input) {\n        // replace ’ and ‘ by ' - both could be used as apostrophes\n        String result = unifyApostrophes(input);\n        result = replaceAcronyms(result);\n        return StringUtils.replaceAll(result, \" \", MULTI_NON_CHARACTER_PATTERN).trim();\n    }\n\n    public static String removeAfterEmptyParenthesis(String input) {\n        Log.i(\"ERROR\",\"removeAfterEmptyParenthesis input: \" + input);\n        Matcher matcher = EMPTY_PARENTHESIS_PATTERN.matcher(input);\n        int start = 0;\n        int stop = 0;\n        boolean found = false;\n        while (matcher.find()) {\n            Log.i(\"ERROR\",\"removeAfterEmptyParenthesis: pattern found\");\n            found = true;\n            start = matcher.start(1);\n        }\n        // get the first match and extract it from the string\n        if (found)\n            input = input.substring(0, start);\n        Log.i(\"ERROR\",\"removeAfterEmptyParenthesis remove junk after (): \" + input);\n        return input;\n    }\n\n    private ParseUtils() {\n        // static utilities\n    }\n\n    // matches \"[space or punctuation/brackets etc]year\", year is group 1\n    // \"[\\\\s\\\\p{Punct}]((?:19|20)\\\\d{2})(?!\\\\d)\"\n    public static Pair<String, String> yearExtractor(String input) {\n        Log.i(\"ERROR\",\"yearExtractor input: \" + input);\n        return twoPatternExtractor2(input, YEAR_PATTERN);\n    }\n\n    public static Pair<String, String> twoPatternExtractor2(String input, Pattern pattern) {\n        Log.i(\"ERROR\",\"twoPatternExtractor2 input: \" + input);\n        String isolated = null;\n        Matcher matcher = pattern.matcher(input);\n        if (matcher.find()) {\n            input =  matcher.group(1);\n            isolated = matcher.group(2);\n        }\n        Log.i(\"ERROR\",\"twoPatternExtractor output: \" + input + \" isolated: \" + isolated);\n        return new Pair<>(input, isolated);\n    }\n\n    public static Pair<String, String> getCountryOfOrigin(String input) {\n        String countryOfOrigin = null;\n\n        return twoPatternExtractor2(input, COUNTRY_OF_ORIGIN);\n    }\n\n    public static Pair<String, String> parenthesisYearExtractor(String input) {\n        return twoPatternExtractor2(input, PARENTHESIS_YEAR_PATTERN);\n    }\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/PlexMovieExtractor.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class PlexMovieExtractor {\n    private static final String ANYTHING = \"(.*)\";\n    private static final String TMDB_TAG = ANYTHING+\"(tmdb-([0-9]+))\"+ANYTHING;\n    private static final String TMDB_TAG_SIMPLE_PROGRAM = ANYTHING+\"(TMDB([0-9]+))\"+ANYTHING;\n    private static final String VIDEO_DETAILS_TAG = ANYTHING+\"(\\\\[([\\\\d]{3,4})p, ([a-zA-z\\\\d]{3,4}), ([a-zA-z\\\\d]{3,4})])\"+ANYTHING;\n    private static final Pattern NAME_TMDB_ID_PATTERN = Pattern.compile(TMDB_TAG);\n    private static final Pattern NAME_TMDB_ID_PATTERN_SIMPLE_PROGRAM = Pattern.compile(TMDB_TAG_SIMPLE_PROGRAM);\n    private static final Pattern NAME_VIDEO_DETAILS_PATTERN = Pattern.compile(VIDEO_DETAILS_TAG);\n\n    public static String getTMDBId (String matchString) {\n        String tmdb_id = \"\";\n        System.out.println(\"Before tmdb_id in plexExtractor matchString\"+matchString);\n        System.out.println(\"Before tmdb_id in plexExtractor\"+tmdb_id);\n        Matcher m = NAME_TMDB_ID_PATTERN.matcher(matchString);\n        Matcher m2 = NAME_TMDB_ID_PATTERN_SIMPLE_PROGRAM.matcher(matchString);\n        if (m.matches()) {\n            System.out.println(m.group(3));\n            tmdb_id= m.group(3);\n            System.out.println(\"After tmdb_id in plexExtractor\"+tmdb_id);\n            return tmdb_id;\n        }else if(m2.matches()){\n            System.out.println(m2.group(3));\n            tmdb_id= m2.group(3);\n            System.out.println(\"After tmdb_id in plexExtractor\"+tmdb_id);\n            return tmdb_id;\n        }\n        return null;\n    }\n    public static String[] getVideoDetails(String matchString){\n        Matcher m = NAME_VIDEO_DETAILS_PATTERN.matcher(matchString);\n        if (m.matches()) {\n            String video_res = m.group(3);\n            String video_codec = m.group(4);\n            String audio_codec = m.group(5);\n            return new String[]{video_res,video_codec,audio_codec};\n        }\n        return null;\n    }\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/RefreshWorker.java",
    "content": "package com.theflexproject.thunder.utils;\n\n\nimport static com.theflexproject.thunder.utils.IndexUtils.refreshIndex;\n\nimport android.content.Context;\nimport android.net.ConnectivityManager;\nimport android.net.NetworkInfo;\n\nimport androidx.annotation.NonNull;\nimport androidx.work.Worker;\nimport androidx.work.WorkerParameters;\n\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.IndexLink;\n\nimport java.util.List;\n\npublic class RefreshWorker extends Worker {\n    Context ctxt ;\n    public RefreshWorker(\n            @NonNull Context mContext,\n            @NonNull WorkerParameters params)\n    {\n        super(mContext, params);\n        ctxt = mContext;\n    }\n\n    @Override\n    public Result doWork() {\n\n        // Do the work here--in this case, upload the images.\n\n        if(isNetworkAvailable()){\n            List<IndexLink> indexLinkList = DatabaseClient.getInstance(ctxt).getAppDatabase().indexLinksDao().getAllEnabled();\n            for (IndexLink indexLink:indexLinkList) {\n                refreshIndex(ctxt, indexLink);\n            }\n            return Result.success();\n        }\n      return Result.failure();\n        // Indicate whether the work finished successfully with the Result\n    }\n    private boolean isNetworkAvailable() {\n        ConnectivityManager connectivityManager\n                = (ConnectivityManager) ctxt.getSystemService(Context.CONNECTIVITY_SERVICE);\n        NetworkInfo activeNetworkInfo = connectivityManager != null ? connectivityManager.getActiveNetworkInfo() : null;\n        return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/SceneMovieTitleExtractor.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class SceneMovieTitleExtractor {\n\n    public static SceneMovieTitleExtractor instance() {\n        return INSTANCE;\n    }\n\n    static final SceneMovieTitleExtractor INSTANCE =\n            new SceneMovieTitleExtractor();\n\n    SceneMovieTitleExtractor() {\n        // singleton\n    }\n\n    public static String[] getTitleYear(String matchString) {\n        Matcher m = NAME_YEAR_SCENE_PATTERN.matcher(matchString);\n        if (m.matches()) {\n            String name = StringUtils.replaceAll(m.group(1), \" \", JUNK_PATTERN);\n            name = ParseUtils.removeInnerAndOutterSeparatorJunk(name);\n            String year = m.group(2);\n            String[] nameYear = {name,year};\n            return nameYear;\n        }\n        return null;\n    }\n\n    // some junk that sometimes appears before the year\n    private static final String JUNK =\n            \"(?i)(?:(?:DIR(?:ECTORS)?|EXTENDED)[\\\\s\\\\p{Punct}]?CUT|UNRATED|THEATRICAL[\\\\s\\\\p{Punct}]?EDITION)\";\n    private static final Pattern JUNK_PATTERN = Pattern.compile(JUNK);\n\n    // NOT ( whitespace | punctuation), matches A-Z, 0-9, localized characters etc\n    private static final String CHARACTER = \"[^\\\\s\\\\p{Punct}]\";\n    // ( whitespace | punctuation), matches dots, spaces, brackets etc\n    private static final String NON_CHARACTER = \"[\\\\s\\\\p{Punct}]\";\n    // matches \"word\"\n    private static final String CHARACTER_GROUP = CHARACTER + \"+\";\n    // matches shortest \"word.word.word.\"\n    private static final String SEPARATED_CHARTER_GROUPS = \"(?:\" + CHARACTER_GROUP + NON_CHARACTER + \")+?\";\n    // matches \"19XX\" and \"20XX\" - capture group\n    private static final String YEAR_GROUP = \"((?:19|20)\\\\d{2})\";\n    // matches \"word.word.word.\" - capture group\n    private static final String MOVIENAME_GROUP = \"(\" + SEPARATED_CHARTER_GROUPS + \")\";\n    // matches \".junk.junk.junk\"\n    private static final String REMAINING_JUNK = \"(?:\" + NON_CHARACTER + CHARACTER_GROUP + \")+\";\n    // matches \"Movie.Name.2011.JUNK.JUNK.avi\"\n    private static final String MOVIENAME_YEAR_JUNK = MOVIENAME_GROUP + YEAR_GROUP + REMAINING_JUNK;\n\n    private static final Pattern NAME_YEAR_SCENE_PATTERN = Pattern.compile(MOVIENAME_YEAR_JUNK);\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/SendGetRequestTMDB.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport static com.theflexproject.thunder.Constants.FANART_IMAGE_BASE_URL;\nimport static com.theflexproject.thunder.Constants.TMDB_API_KEY;\nimport static com.theflexproject.thunder.Constants.TMDB_BASE_URL;\nimport static com.theflexproject.thunder.Constants.TMDB_IMAGE_BASE_URL;\nimport static com.theflexproject.thunder.Constants.getFanartApiKey;\nimport static com.theflexproject.thunder.MainActivity.context;\nimport static com.theflexproject.thunder.utils.PlexMovieExtractor.getTMDBId;\nimport static com.theflexproject.thunder.utils.ShowUtils.EPNUM;\nimport static com.theflexproject.thunder.utils.ShowUtils.SEASON;\nimport static com.theflexproject.thunder.utils.ShowUtils.SHOW;\n\nimport android.util.Log;\n\nimport com.google.gson.Gson;\nimport com.google.gson.JsonSyntaxException;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.ExternalIds;\nimport com.theflexproject.thunder.model.FanArt.FanArtMovieResponseModel;\nimport com.theflexproject.thunder.model.FanArt.FanArtTvResponseModel;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.MoviesResponseFromTMDB;\nimport com.theflexproject.thunder.model.MyMedia;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\nimport com.theflexproject.thunder.model.TVShowInfo.Result;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShow;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowSeasonDetails;\nimport com.theflexproject.thunder.model.TVShowInfo.TVShowsResponseFromTMDB;\nimport com.theflexproject.thunder.model.tmdbImages.Logo;\nimport com.theflexproject.thunder.model.tmdbImages.TMDBImagesResponse;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.net.HttpURLConnection;\nimport java.net.URL;\nimport java.net.URLEncoder;\nimport java.nio.charset.StandardCharsets;\nimport java.util.ArrayList;\nimport java.util.Date;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.NoSuchElementException;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\nimport me.xdrop.fuzzywuzzy.FuzzySearch;\nimport me.xdrop.fuzzywuzzy.model.ExtractedResult;\n\npublic class SendGetRequestTMDB {\n\n\n    static void sendGet2(Movie movie) {\n        String fileName = movie.getFileName();\n\n        //Match if the fileName contains tmdb id\n        String movieIdFromPlexExtractor = (getTMDBId(fileName));\n\n        if (movieIdFromPlexExtractor != null) {\n            System.out.println(\"movieId from plex extractor\");\n            getMovieById(Long.parseLong(movieIdFromPlexExtractor) , movie);\n        }\n\n\n        //Match if the fileName follows scene naming pattern\n        String[] titleYear;\n        titleYear = SceneMovieTitleExtractor.getTitleYear(fileName.replaceAll(\"Copy of \" , \"\"));\n\n        //Match if the fileName follows other loosely followed naming conventions\n        if (titleYear == null) {\n            titleYear = MovieTitleExtractor2.getTitle2(fileName.replaceAll(\"Copy of \" , \"\"));\n        }\n\n        //Extract title and year\n        String titleExtracted = \"\", yearExtracted = \"0\";\n        if (titleYear != null) {\n            if (titleYear[0] != null) {\n                titleExtracted = titleYear[0];\n                if (titleYear[1] != null && titleYear[1].length() > 3) {\n                    yearExtracted = titleYear[1];\n                } else {\n                    yearExtracted = ParseUtils.yearExtractor(fileName).second;\n                }\n            }\n        }\n\n        //Sends tmdb request to search on tmdb and receive multiple responses\n        String response = searchMovieOnTmdbByName(titleExtracted , yearExtracted);\n\n        Gson gson = new Gson();\n        MoviesResponseFromTMDB moviesResponseFromTMDB = null;\n        try {\n            moviesResponseFromTMDB = gson.fromJson(response , MoviesResponseFromTMDB.class);\n        } catch (Exception e) {\n            System.out.println(e);\n        }\n\n        ArrayList<String> titlesAndYearsFromTMDB = new ArrayList<>();\n\n        if (moviesResponseFromTMDB != null && moviesResponseFromTMDB.results.size() != 0) {\n            for (int i = 0; i < moviesResponseFromTMDB.results.size(); i++) {\n                String releaseDate = moviesResponseFromTMDB.results.get(i).getRelease_date();\n                if (releaseDate != null)\n                    if (releaseDate.length() == 4) {\n                        titlesAndYearsFromTMDB.add(moviesResponseFromTMDB.results.get(i).getTitle() + \" \" + releaseDate);\n                    } else {\n                        titlesAndYearsFromTMDB.add(moviesResponseFromTMDB.results.get(i).getTitle() + \" \" + releaseDate.split(\"-\")[0]);\n                    }\n            }\n            int finalIndex = 0;\n            if (!titleExtracted.equals(\"\") && !yearExtracted.equals(\"0\")) {\n                finalIndex = findIndexOfClosestMatch(titleExtracted + \" \" + yearExtracted , titlesAndYearsFromTMDB);\n            }\n            int movieId = moviesResponseFromTMDB.results.get(finalIndex).getId();\n            getMovieById(movieId , movie);\n        }\n\n        else if (movie.getTitle() == null) {\n            System.out.println(\"file with no tmdb info\" + movie);\n            DatabaseClient.getInstance(context).getAppDatabase().movieDao().insert(movie);\n        }\n    }\n\n    private static String searchMovieOnTmdbByName(String titleExtracted , String yearExtracted) {\n        StringBuilder response = new StringBuilder();\n        try {\n            String finalUrl = TMDB_BASE_URL + \"search/movie?api_key=\" + TMDB_API_KEY + \"&year=\" + yearExtracted + \"&language=en-US&page=1&include_adult=false&query=\" + URLEncoder.encode(titleExtracted , \"UTF-8\");\n            URL url = new URL(finalUrl);\n            System.out.println(\"TMDB GET REQUEST URL INSIDE searchMovieOnTmdbByName \" + finalUrl);\n            HttpURLConnection con = (HttpURLConnection) url.openConnection();\n            con.setRequestMethod(\"GET\");\n            int responseCode = con.getResponseCode();\n            System.out.println(\"TMDB RESPONSE CODE\" + responseCode);\n            if (responseCode == HttpURLConnection.HTTP_OK) {\n                BufferedReader in = new BufferedReader(new InputStreamReader(\n                        con.getInputStream()));\n                String inputLine;\n                response = new StringBuilder();\n                while ((inputLine = in.readLine()) != null) {\n                    response.append(inputLine);\n                }\n                in.close();\n            } else {\n                System.out.println(\"GET request did not work\");\n            }\n        } catch (IOException | JsonSyntaxException e) {\n            e.printStackTrace();\n        }\n        return response.toString();\n    }\n\n    private static void getMovieById(long id , MyMedia myMedia) {\n        //Get Movie by id\n        //Get results from tmdb by Name\n        Movie movie = (Movie) myMedia;\n\n        DatabaseClient.getInstance(context).getAppDatabase().movieDao().delete(movie);\n\n        StringBuilder responseById = new StringBuilder();\n        try {\n            String TMDB_MOVIE_BY_ID_URL = TMDB_BASE_URL + \"movie/\" + id + \"?api_key=\" + TMDB_API_KEY + \"&language=en-US\";\n            URL url = new URL(TMDB_MOVIE_BY_ID_URL);\n            HttpURLConnection con = (HttpURLConnection) url.openConnection();\n            con.setRequestMethod(\"GET\");\n            int responseCode = con.getResponseCode();\n            Log.i(\"tmdb api response code\" , String.valueOf(responseCode));\n            if (responseCode == HttpURLConnection.HTTP_OK) { // success\n                BufferedReader in = new BufferedReader(new InputStreamReader(\n                        con.getInputStream()));\n                String inputLine;\n                responseById = new StringBuilder();\n                while ((inputLine = in.readLine()) != null) {\n                    responseById.append(inputLine);\n                }\n                in.close();\n            } else {\n                System.out.println(\"GET request did not work\");\n            }\n        } catch (IOException | JsonSyntaxException e) {\n            e.printStackTrace();\n        }\n\n        System.out.println(\"responseById\" + responseById.toString());\n\n        String fileName = movie.getFileName();\n        String mimeType = movie.getMimeType();\n        Date modifiedTime = movie.getModifiedTime();\n        String size = movie.getSize();\n        String urlString = movie.getUrlString();\n        String gd_id = movie.getGd_id();\n        int index_id = movie.getIndex_id();\n        String logo_path = getLogo2(id , false);\n        if (logo_path.equals(\"\")) logo_path = getLogo(id , false);\n\n        System.out.println(\"logo_path in sendget2\" + logo_path);\n\n        try {\n            Gson gson = new Gson();\n            movie = gson.fromJson(responseById.toString() , Movie.class);\n        } catch (NumberFormatException e) {\n            System.out.println(\"NumberFormatException\" + e);\n        }\n\n\n        movie.setFileName(fileName);\n        movie.setMimeType(mimeType);\n        movie.setModifiedTime(modifiedTime);\n        movie.setSize(size);\n        movie.setUrlString(urlString);\n        movie.setGd_id(gd_id);\n        movie.setIndex_id(index_id);\n\n\n        movie.setLogo_path(logo_path);\n\n        System.out.println(\"movie after adding everything\" + movie);\n\n        if (DatabaseClient.getInstance(context).getAppDatabase().movieDao().getByFileName(movie.getGd_id()) == null) {\n            DatabaseClient.getInstance(context).getAppDatabase().movieDao().insert(movie);\n        }\n\n    }\n\n    static void sendGetTVShow(Episode episode) {\n\n        String episodeFileName = episode.getFileName().replaceAll(\"Copy of \" , \"\");\n        Map<String, String> result = ShowUtils.parseShowName(episodeFileName);\n        String finalShowName = null;\n        String finalSeasonNumber = null;\n        String finalEpisodeNumber = null;\n        if (result != null) {\n            finalShowName = result.get(SHOW);\n            finalSeasonNumber = result.get(SEASON);\n            finalEpisodeNumber = result.get(EPNUM);\n        }\n        String finalurl = \"\";\n        long tvShowId = 0;\n\n        boolean failed = false;\n        try {\n            String string = getTMDBId(episode.getUrlString());\n            tvShowId = Long.parseLong(string);\n            System.out.println(\"parsed show id \" + tvShowId);\n\n            TVShow tvShow = new TVShow();\n            getTVById(tvShowId , tvShow);\n\n            //Request for season details\n            if (tvShowId != 0)\n                getTVSeasonById2(tvShowId , finalSeasonNumber , finalEpisodeNumber , episode);\n\n\n        } catch (NumberFormatException | NullPointerException e) {\n            failed = true;\n            System.out.println(\"parse failed get tv\" + e.getMessage());\n        }\n\n        if (finalShowName != null) {\n            TVShow test = DatabaseClient.getInstance(context).getAppDatabase().tvShowDao().findByName(finalShowName);\n            if (test != null && test.getId() != 0) {\n                getTVSeasonById2(test.getId() , finalSeasonNumber , finalEpisodeNumber , episode);\n            }\n            if (test == null && failed) {\n                //request TV show results by name to extract showId\n                StringBuilder response = new StringBuilder();\n                try {\n                    finalurl = TMDB_BASE_URL + \"search/tv?api_key=\" + TMDB_API_KEY + \"&language=en-US&page=1&include_adult=false&query=\" + URLEncoder.encode(finalShowName , \"UTF-8\");\n\n                    System.out.println(\"finalUrl in sendGetTVShow\" + finalurl);\n\n                    URL url = new URL(finalurl);\n                    Log.i(\"Show title\" , finalurl);\n                    HttpURLConnection con = (HttpURLConnection) url.openConnection();\n                    con.setRequestMethod(\"GET\");\n                    int responseCode = con.getResponseCode();\n                    Log.i(\"tmdb api response\" , String.valueOf(responseCode));\n                    if (responseCode == HttpURLConnection.HTTP_OK) { // success\n                        BufferedReader in = new BufferedReader(new InputStreamReader(\n                                con.getInputStream()));\n                        String inputLine;\n                        response = new StringBuilder();\n                        while ((inputLine = in.readLine()) != null) {\n                            response.append(inputLine);\n                        }\n                        in.close();\n                    } else {\n                        System.out.println(\"GET request did not work\");\n                    }\n                    Gson gson = new Gson();\n                    TVShowsResponseFromTMDB tvShowsResponseFromTMDB = gson.fromJson(response.toString() , TVShowsResponseFromTMDB.class);\n\n                    Log.i(\"tvShowsResponseFromTMDB\" , tvShowsResponseFromTMDB.toString());\n\n                    /*better method for selection of tv show */\n                    if (tvShowsResponseFromTMDB.results.size() > 0) {\n                        ArrayList<String> tvTitlesFromTMDB = new ArrayList<>();\n\n                        for (int i = 0; i < tvShowsResponseFromTMDB.getResults().size(); i++) {\n                            Result tv = tvShowsResponseFromTMDB.getResults().get(i);\n                            tvTitlesFromTMDB.add(tv.getName());\n                        }\n                        ExtractedResult matchedTvTitle;\n                        int finalIndex = 0;\n                        matchedTvTitle = FuzzySearch.extractOne(finalShowName , tvTitlesFromTMDB);\n                        if (matchedTvTitle.getScore() == 100) {\n                            finalIndex = matchedTvTitle.getIndex();\n                        } else if (matchedTvTitle.getScore() > 70) {\n                            finalIndex = matchedTvTitle.getIndex();\n                        }\n                        tvShowId = tvShowsResponseFromTMDB.results.get(finalIndex).getId();\n\n                    }\n\n                    if (tvShowId != 0) {\n                        //Request for tv show by id and\n                        TVShow tvShow = new TVShow();\n                        getTVById(tvShowId , tvShow);\n                        //Request for season details\n                        getTVSeasonById2(tvShowId , finalSeasonNumber , finalEpisodeNumber , episode);\n                    }\n\n                } catch (IOException e) {\n                    System.out.println(e.toString());\n                }\n\n            }\n\n\n        }\n\n\n    }\n\n    private static void getTVById(long tvShowId , MyMedia myMedia) {\n        TVShow tvShow = (TVShow) myMedia;\n\n        long oldTVShowID = tvShow.getId();\n        DatabaseClient.getInstance(context).getAppDatabase().tvShowDao().delete(tvShow);\n        DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().deleteByShowId(oldTVShowID);\n\n\n        TVShow test = DatabaseClient.getInstance(context).getAppDatabase().tvShowDao().find(tvShowId);\n\n\n        if (test == null && tvShowId != 0) {\n            String finalurl = TMDB_BASE_URL + \"tv/\" + tvShowId + \"?api_key=\" + TMDB_API_KEY + \"&language=en-US\";\n            StringBuilder responseTvShowDetails = new StringBuilder();\n            try {\n                URL url = new URL(finalurl);\n                Log.i(\"Show title\" , finalurl);\n                HttpURLConnection con = (HttpURLConnection) url.openConnection();\n                con.setRequestMethod(\"GET\");\n                int responseCode = con.getResponseCode();\n                Log.i(\"tmdb api response\" , String.valueOf(responseCode));\n                if (responseCode == HttpURLConnection.HTTP_OK) { // success\n                    BufferedReader in = new BufferedReader(new InputStreamReader(\n                            con.getInputStream()));\n                    String inputLine;\n                    responseTvShowDetails = new StringBuilder();\n                    while ((inputLine = in.readLine()) != null) {\n                        responseTvShowDetails.append(inputLine);\n                    }\n                    in.close();\n                } else {\n                    System.out.println(\"GET request did not work\");\n                }\n                Log.i(\"tvShowById\" , responseTvShowDetails.toString());\n\n//                long tvdb_id = getTVDBId(tvShowId);\n\n\n                Gson gson = new Gson();\n                tvShow = gson.fromJson(responseTvShowDetails.toString() , TVShow.class);\n\n//                String logoPath = getLogo(tvdb_id,true);\n                String logoPath = getLogo2(tvShowId , true);\n\n                if (logoPath.equals(\"\")) {\n                    tvdb_id = getTVDBId(tvShowId);\n                    logoPath = getLogo(tvdb_id , true);\n                }\n\n                tvShow.setLogo_path(logoPath);\n\n                Log.i(\"tvShow\" , tvShow.toString());\n\n                DatabaseClient.getInstance(context).getAppDatabase().tvShowDao().insert(tvShow);\n\n            } catch (IOException e) {\n                e.printStackTrace();\n            }\n\n\n        }\n\n        //get all the episodes to be update with new info\n        List<Episode> episodeList = DatabaseClient.getInstance(context).getAppDatabase().episodeDao().getFromThisShow(oldTVShowID);\n        for (Episode e : episodeList) {\n            System.out.println(\"Inside for loop\");\n\n            String episodeFileName = e.getFileName().replaceAll(\"Copy of \" , \"\");\n            Map<String, String> result = ShowUtils.parseShowName(episodeFileName);\n            String finalShowName = null;\n            String finalSeasonNumber = null;\n            String finalEpisodeNumber = null;\n            if (result != null) {\n                finalShowName = result.get(SHOW);\n                finalSeasonNumber = result.get(SEASON);\n                finalEpisodeNumber = result.get(EPNUM);\n            }\n            getTVSeasonById2(tvShowId , finalSeasonNumber , finalEpisodeNumber , e);\n        }\n\n    }\n\n    private static void getTVSeasonById2(long tvShowId , String finalSeasonNumber , String finalEpisodeNumber , Episode episode) {\n        try {\n            if (finalSeasonNumber != null) {\n//                TVShowSeasonDetails tvShowSeasonDetails =null;\n                TVShowSeasonDetails tvShowSeasonDetails = DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().findByShowIdAndSeasonNumber(tvShowId , finalSeasonNumber);\n\n\n                if (tvShowSeasonDetails == null) {\n                    StringBuilder responseSeasonDetails = new StringBuilder();\n\n\n                    String finalUrl = TMDB_BASE_URL + \"tv/\" + tvShowId + \"/season/\" + finalSeasonNumber + \"?api_key=\" + TMDB_API_KEY + \"&language=en-US\";\n                    System.out.println(\"Season Number \" + finalSeasonNumber + \"finalurl \" + finalUrl);\n\n                    URL url = new URL(finalUrl);\n                    HttpURLConnection con = (HttpURLConnection) url.openConnection();\n                    con.setRequestMethod(\"GET\");\n                    int responseCode = con.getResponseCode();\n                    if (responseCode == HttpURLConnection.HTTP_OK) { // success\n\n                        BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream(), StandardCharsets.UTF_8));\n                        String inputLine;\n                        responseSeasonDetails = new StringBuilder();\n                        while ((inputLine = in.readLine()) != null) {\n                            responseSeasonDetails.append(inputLine);\n                        }\n                        in.close();\n                    } else {\n                        System.out.println(\"Season details 2 GET request did not work\");\n                    }\n\n                    Gson gson = new Gson();\n\n                    System.out.println(\"the received string season\"+ String.valueOf(responseSeasonDetails));\n\n\n\n\n                    try{\n\n                        String s = responseSeasonDetails.toString();\n                        Pattern pattern = Pattern.compile(Matcher.quoteReplacement(\"\\\\\\\"\"));\n                        Matcher matcher = pattern.matcher(s);\n                        s = matcher.replaceAll(\"\");\n\n                        System.out.println(\"changed string\"+s);\n\n                        tvShowSeasonDetails = gson.fromJson(s, TVShowSeasonDetails.class);\n\n//\n//                        JSONObject json = (JSONObject) new JSONParser().parse(responseSeasonDetails.toString().replaceAll(Matcher.quoteReplacement(\"\\\"\"),\"\").replaceAll(Matcher.quoteReplacement(\"\\n\"),\"\"));\n//                        tvShowSeasonDetails = gson.fromJson(json.toJSONString(), TVShowSeasonDetails.class);\n//                        tvShowSeasonDetails = gson.fromJson(String.valueOf(responseSeasonDetails), TVShowSeasonDetails.class);\n//                        tvShowSeasonDetails = gson.fromJson(String.valueOf(responseSeasonDetails).replace(\"\\n\",\"\\\\\\n\").replace(\"\\\"\",\"\\\\\\\"\") , TVShowSeasonDetails.class);\n                    }catch (Exception e){\n                        System.out.println(\"MalformedURLException\");\n                    }\n\n\n                    if (tvShowSeasonDetails != null && tvShowSeasonDetails.getEpisodes() != null) {\n\n                        if (tvShowId != 0) {\n                            tvShowSeasonDetails.setShow_id(tvShowId);\n                        }\n\n                        Log.i(\"tvShowSeasonDetails\" , tvShowSeasonDetails.toString());\n                        System.out.println(\"tvShowSeasonDetails in getTVSeasonById2\" + tvShowSeasonDetails);\n//                        TVShowSeasonDetails test = DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().find(tvShowSeasonDetails.getId());\n//                        if (test == null)\n\n                        for (Episode e : tvShowSeasonDetails.getEpisodes()) {\n                            e.setModifiedTime(new Date());\n                        }\n                        DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().insert(tvShowSeasonDetails);\n\n                        System.out.println(\"Episode Number\" + finalEpisodeNumber);\n\n\n                    }\n\n\n                }\n\n\n                try {\n                    System.out.println(\"getTVSeasonById2 tvShowSeasonDetails \" + tvShowSeasonDetails.toString());\n                    for (Episode e: tvShowSeasonDetails.getEpisodes()) {\n                        if(Integer.parseInt(finalEpisodeNumber)== e.getEpisode_number()){\n\n                                System.out.println(\"Episode before inserting in db found in tvseason details\" + e.toString());\n                                e.setFileName(episode.getFileName());\n                                e.setMimeType(episode.getMimeType());\n                                e.setModifiedTime(episode.getModifiedTime());\n                                e.setSize(episode.getSize());\n                                e.setUrlString(episode.getUrlString());\n                                e.setGd_id(episode.getGd_id());\n                                e.setIndex_id(episode.getIndex_id());\n\n                                e.setSeason_id(tvShowSeasonDetails.getId());\n                                e.setShow_id(tvShowId);\n\n                                DatabaseClient.getInstance(context).getAppDatabase().episodeDao().deleteByLink(e.getGd_id());\n\n                                DatabaseClient.getInstance(context).getAppDatabase().episodeDao().insert(e);\n                                System.out.println(\"Episode after inserting in db\" + Integer.parseInt(finalEpisodeNumber) + \" Ep from the season details\" + e.getEpisode_number());\n\n                        }\n                        else {\n                            episode.setShow_id(tvShowId);\n                            DatabaseClient.getInstance(context).getAppDatabase().episodeDao().insert(episode);\n                        }\n\n                    }\n\n//                    Episode e = tvShowSeasonDetails.getEpisodes().stream()\n//                            .filter(episode1 -> (Integer.parseInt(finalEpisodeNumber) == episode1.getEpisode_number()))\n//                            .findAny()\n//                            .orElse(null);\n\n\n\n                } catch (NullPointerException e) {\n\n                    System.out.println(\"caught exception in getTVSeasonById2.2\");\n                }\n\n            }\n\n        } catch (IOException e) {\n            System.out.println(\"caught exception in getTVSeasonById2\" + e);\n        }\n\n    }\n\n    public static void tmdbGetByID(MyMedia myMedia , long id , boolean isShow) {\n        try {\n            if (isShow) {\n                getTVById(id , myMedia);\n            }\n\n            if (!isShow) {\n                getMovieById(id , myMedia);\n            }\n\n        } catch (NullPointerException e) {\n            System.out.println(e);\n        }\n\n    }\n\n    private static int findIndexOfClosestMatch(String s , ArrayList<String> titlesAndYearsFromTMDB) {\n        try {\n            ExtractedResult result = FuzzySearch.extractOne(s , titlesAndYearsFromTMDB);\n            System.out.println(\"findIndexOfClosestMatch FuzzySearch RESULT\" + result.toString());\n            System.out.println(\"final Title chosen by findIndexOfClosestMatch\" + result.getString());\n            return result.getIndex();\n        } catch (JsonSyntaxException | NoSuchElementException elementException) {\n            elementException.printStackTrace();\n        }\n        return 0;\n    }\n\n    static String urlLogo = \"\";\n\n    private static String getLogo2(Long id , boolean isShow) {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                try {\n                    urlLogo = \"\";\n\n                    String typeOfMedia = \"movie\";\n                    if (isShow) typeOfMedia = \"tv\";\n\n\n                    URL url = new URL(TMDB_BASE_URL + typeOfMedia + \"/\" + id + \"/images?api_key=\" + TMDB_API_KEY);\n\n                    HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n                    conn.setRequestMethod(\"GET\");\n\n                    int code = conn.getResponseCode();\n                    System.out.println((\"HTTP CODE\" + code));\n\n\n                    BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n                    StringBuilder sb = new StringBuilder();\n                    for (int c; (c = br.read()) >= 0; )\n                        sb.append((char) c);\n                    br.close();\n\n                    Gson om = new Gson();\n\n                    TMDBImagesResponse tmdbImagesResponse;\n                    tmdbImagesResponse = om.fromJson(sb.toString() , TMDBImagesResponse.class);\n\n                    ArrayList<Logo> logoArrayList = tmdbImagesResponse.getLogos();\n//                    Collections.sort(logoArrayList , new imageVotesComparator());\n//                    ;\n\n                    System.out.println(\"TMDBImagesResponse\" + tmdbImagesResponse);\n                    if (tmdbImagesResponse.getLogos() != null) {\n                        for (int i = 0; tmdbImagesResponse.getLogos().size() > 0 && i < tmdbImagesResponse.getLogos().size(); i++) {\n                            if (tmdbImagesResponse.getLogos().get(i).getIso_639_1() != null\n                                    &&\n                                    (tmdbImagesResponse.getLogos().get(i).getIso_639_1().equals(\"en\")\n//                                            || tmdbImagesResponse.getLogos().get(i).getIso_639_1().equals(\"hi\")\n                                    )\n                                    &&\n                                    !tmdbImagesResponse.getLogos().get(i).getFile_path().contains(\".svg\")) {\n                                urlLogo = TMDB_IMAGE_BASE_URL + tmdbImagesResponse.getLogos().get(i).getFile_path().toString();\n                                break;\n                            }\n                        }\n                    }\n\n\n                    System.out.println(\"inside getLogo\" + urlLogo);\n                } catch (IOException e) {\n                    System.out.println(e.toString());\n                }\n            }\n        });\n        thread.start();\n        try {\n            thread.join();\n        } catch (InterruptedException e) {\n            e.printStackTrace();\n        }\n        return urlLogo;\n    }\n\n    private static String getLogo(Long id , boolean isShow) {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                try {\n                    urlLogo = \"\";\n\n                    String typeOfMedia = \"movies\";\n\n                    if (isShow) typeOfMedia = \"tv\";\n\n                    URL url = new URL(FANART_IMAGE_BASE_URL + typeOfMedia + \"/\" + id + \"?api_key=\" + getFanartApiKey());\n\n                    HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n                    conn.setRequestMethod(\"GET\");\n\n                    int code = conn.getResponseCode();\n                    System.out.println((\"HTTP CODE\" + code));\n\n\n                    BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n                    StringBuilder sb = new StringBuilder();\n                    for (int c; (c = br.read()) >= 0; )\n                        sb.append((char) c);\n                    br.close();\n\n                    Gson om = new Gson();\n\n                    FanArtMovieResponseModel root;\n                    FanArtTvResponseModel tvResponseModel;\n                    if (isShow) {\n                        tvResponseModel = om.fromJson(sb.toString() , FanArtTvResponseModel.class);\n                        System.out.println(\"FanArtMovieResponse\" + tvResponseModel);\n                        if (tvResponseModel != null && tvResponseModel.getHdtvlogo() != null) {\n                            for (int i = 0; i < tvResponseModel.getHdtvlogo().size(); i++) {\n                                if (tvResponseModel.getHdtvlogo().get(i).getLang().equals(\"en\") || tvResponseModel.getHdtvlogo().get(i).getLang().equals(\"hi\")) {\n                                    urlLogo = tvResponseModel.getHdtvlogo().get(i).getUrl().toString();\n                                    break;\n                                }\n                            }\n                        }\n                        if (urlLogo.equals(\"\") && tvResponseModel != null && tvResponseModel.getClearlogo() != null) {\n                            for (int i = 0; i < tvResponseModel.getClearlogo().size(); i++) {\n                                if (tvResponseModel.getClearlogo().get(i).getLang().equals(\"en\") || tvResponseModel.getClearlogo().get(i).getLang().equals(\"hi\")) {\n                                    urlLogo = tvResponseModel.getClearlogo().get(i).getUrl();\n                                    break;\n                                }\n                            }\n                        }\n                    } else {\n                        root = om.fromJson(sb.toString() , FanArtMovieResponseModel.class);\n                        System.out.println(\"FanArtMovieResponse\" + root);\n                        if (root != null && root.getHdmovielogo() != null) {\n                            for (int i = 0; i < root.getHdmovielogo().size(); i++) {\n                                if (root.getHdmovielogo().get(i).getLang().equals(\"en\") || root.getHdmovielogo().get(i).getLang().equals(\"hi\")) {\n                                    urlLogo = root.getHdmovielogo().get(i).getUrl().toString();\n                                    break;\n                                }\n                            }\n                        }\n                        if (urlLogo.equals(\"\") && root != null && root.getMovielogo() != null) {\n                            for (int i = 0; i < root.getMovielogo().size(); i++) {\n                                if (root.getMovielogo().get(i).getLang().equals(\"en\") || root.getMovielogo().get(i).getLang().equals(\"hi\")) {\n                                    urlLogo = root.getMovielogo().get(i).getUrl();\n                                    break;\n                                }\n                            }\n                        }\n                    }\n\n                    System.out.println(\"inside getLogo\" + urlLogo);\n                } catch (IOException e) {\n                    System.out.println(e.toString());\n                }\n            }\n        });\n        thread.start();\n        try {\n            thread.join();\n        } catch (InterruptedException e) {\n            e.printStackTrace();\n        }\n        return urlLogo;\n    }\n\n    static long tvdb_id = 0;\n\n    private static long getTVDBId(long tvShowId) {\n        Thread thread = new Thread(new Runnable() {\n            @Override\n            public void run() {\n                tvdb_id = 0;\n                String finalurl = TMDB_BASE_URL + \"tv/\" + tvShowId + \"/external_ids?api_key=\" + TMDB_API_KEY + \"&language=en-US\";\n                StringBuilder responseExternalIds = new StringBuilder();\n                try {\n                    URL url = new URL(finalurl);\n                    Log.i(\"Show title\" , finalurl);\n                    HttpURLConnection con = (HttpURLConnection) url.openConnection();\n                    con.setRequestMethod(\"GET\");\n                    int responseCode = con.getResponseCode();\n                    Log.i(\"tmdb api response\" , String.valueOf(responseCode));\n                    if (responseCode == HttpURLConnection.HTTP_OK) { // success\n                        BufferedReader in = new BufferedReader(new InputStreamReader(\n                                con.getInputStream()));\n                        String inputLine;\n                        responseExternalIds = new StringBuilder();\n                        while ((inputLine = in.readLine()) != null) {\n                            responseExternalIds.append(inputLine);\n                        }\n                        in.close();\n                    } else {\n                        System.out.println(\"GET request did not work\");\n                    }\n                    Log.i(\"tvShowById\" , responseExternalIds.toString());\n\n\n                    Gson gson = new Gson();\n                    ExternalIds externalIds = gson.fromJson(responseExternalIds.toString() , ExternalIds.class);\n\n                    tvdb_id = externalIds.getTvdb_id();\n\n                } catch (IOException e) {\n                    e.printStackTrace();\n                }\n            }\n        });\n        thread.start();\n        try {\n            thread.join();\n        } catch (InterruptedException e) {\n            e.printStackTrace();\n        }\n\n\n        return tvdb_id;\n    }\n}\n\n\n//    static void sendGet(Movie movie) {\n//        String finalurl = \"\";\n//        String[] titleYear1 = SceneMovieTitleExtractor.getTitleYear(movie.getFileName().replaceAll(\"Copy of \" , \"\"));\n//        String[] titleYear2 = MovieTitleExtractor2.getTitle2(movie.getFileName().replaceAll(\"Copy of \" , \"\"));\n//        String titleFromFile1 = \"\", titleFromFile2 = \"\", yearFromFile1 = \"\", yearFromFile2 = \"\";\n//        if (titleYear1 != null) {\n//            titleFromFile1 = titleYear1[0];\n//        } else {\n//            titleFromFile2 = titleYear2[0];\n//        }\n//        if (titleYear1 != null) {\n//            yearFromFile1 = titleYear1[0];\n//        } else {\n//            yearFromFile2 = titleYear2[0];\n//        }\n//\n//        try {\n//            try {\n//                if (SceneMovieTitleExtractor.getTitleYear(movie.getFileName()) != null) {\n//                    finalurl = TMDB_GET_REQUEST_BASE_URL + TMDB_API_KEY + \"&language=en-US&page=1&include_adult=false&query=\"\n//                            + URLEncoder.encode(titleFromFile1 , \"UTF-8\");\n//                } else {\n//                    finalurl = TMDB_GET_REQUEST_BASE_URL + TMDB_API_KEY + \"&language=en-US&page=1&include_adult=false&query=\"\n//                            + URLEncoder.encode(titleFromFile2 , \"UTF-8\");\n//                }\n//            } catch (Exception e) {\n//                Log.i(\"exc\" , e.toString());\n//                e.printStackTrace();\n//            }\n//            StringBuilder response = new StringBuilder();\n//            try {\n//                URL url = new URL(finalurl);\n//                Log.i(\"movie title\" , finalurl);\n//                HttpURLConnection con = (HttpURLConnection) url.openConnection();\n//                con.setRequestMethod(\"GET\");\n//                int responseCode = con.getResponseCode();\n//                Log.i(\"tmdb api response\" , String.valueOf(responseCode));\n//                if (responseCode == HttpURLConnection.HTTP_OK) { // success\n//                    BufferedReader in = new BufferedReader(new InputStreamReader(\n//                            con.getInputStream()));\n//                    String inputLine;\n//                    response = new StringBuilder();\n//                    while ((inputLine = in.readLine()) != null) {\n//                        response.append(inputLine);\n//                    }\n//                    in.close();\n//                } else {\n//                    System.out.println(\"GET request did not work\");\n//                }\n//                Gson gson = new Gson();\n//                MoviesResponseFromTMDB moviesResponseFromTMDB = gson.fromJson(response.toString() , MoviesResponseFromTMDB.class);\n//\n//                if (moviesResponseFromTMDB.results.size() > 0) {\n//                    //New Changes\n//                    ArrayList<String> titlesFromTMDB = new ArrayList<>();\n//                    ArrayList<String> yearsFromTMDB = new ArrayList<>();\n//                    ArrayList<String> titlesandYearsFromTMDB = new ArrayList<>();\n//                    for (int i = 0; i < moviesResponseFromTMDB.results.size(); i++) {\n//                        titlesFromTMDB.add(moviesResponseFromTMDB.results.get(i).getTitle());\n//                        yearsFromTMDB.add(moviesResponseFromTMDB.results.get(i).getRelease_date());\n//                        titlesandYearsFromTMDB.add(moviesResponseFromTMDB.results.get(i).getTitle() + \" \" + moviesResponseFromTMDB.results.get(i).getRelease_date());\n//                    }\n//\n//                    ExtractedResult result;\n//                    String finalTitle;\n//                    int finalIndex = 0;\n//\n//                    Log.i(\"list of tmdb\" , titlesFromTMDB.toString());\n//                    try {\n//                        if (titleFromFile1 != null) {\n//                            result = FuzzySearch.extractOne(titleFromFile1 , titlesFromTMDB);\n//                            Log.i(result.toString() , \"result\");\n//                            if (result.getScore() > 60) {\n//                                finalTitle = result.getString();\n//                                finalIndex = result.getIndex();\n//                                Log.i(result.toString() , finalTitle);\n//                            } else {\n//                                result = FuzzySearch.extractOne(titleFromFile1 + yearFromFile1 , titlesandYearsFromTMDB);\n//                                finalTitle = result.getString();\n//                                finalIndex = result.getIndex();\n//                                Log.i(result.toString() , finalTitle);\n//                            }\n//\n//                        } else {\n//                            result = FuzzySearch.extractOne(titleFromFile2 + \" \" + yearFromFile2 , titlesFromTMDB);\n//                            if (result.getScore() > 60) {\n//                                finalTitle = result.getString();\n//                                finalIndex = result.getIndex();\n//                                Log.i(result.toString() , finalTitle);\n//                            } else {\n//                                result = FuzzySearch.extractOne(titleFromFile2 + yearFromFile2 , titlesandYearsFromTMDB);\n//                                finalTitle = result.getString();\n//                                finalIndex = result.getIndex();\n//                                Log.i(result.toString() , finalTitle);\n//                            }\n//                        }\n//                    } catch (Exception e) {\n//                        e.printStackTrace();\n//                    }\n//                    String fileName = movie.getFileName();\n//                    String mimeType = movie.getMimeType();\n//                    Date modifiedTime = movie.getModifiedTime();\n//                    String size = movie.getSize();\n//                    String urlString = movie.getUrlString();\n//\n//                    movie = moviesResponseFromTMDB.results.get(finalIndex);\n//\n//                    movie.setFileName(fileName);\n//                    movie.setMimeType(mimeType);\n//                    movie.setModifiedTime(modifiedTime);\n//                    movie.setSize(size);\n//                    movie.setUrlString(urlString);\n//\n////                    file.setGenre_ids(tmdbResponse.results.get(0).getGenre_ids());\n//                    Log.i(\"sendGet: \" , moviesResponseFromTMDB.results.get(finalIndex).toString());\n//                }\n//\n//            } catch (MalformedURLException e) {\n//                Log.i(\"exe\" , e.toString());\n//            }\n//        } catch (IOException e) {\n//            e.printStackTrace();\n//        }\n//\n//\n//        System.out.println(\"file with no tmdb info\" + movie);\n//\n//        movie.setTitle(movie.getFileName());\n//\n//\n//        if (DatabaseClient.getInstance(context).getAppDatabase().movieDao().getByFileName(movie.getFileName()) == null) {\n//            DatabaseClient.getInstance(context).getAppDatabase().movieDao().insert(movie);\n//\n//        }\n//    }\n\n\n//    private static void getSeasonInfo(int tvShowId, String seasonNumber) {\n//\n//\n//        //Request for season details\n//        StringBuilder responseSeasonDetails = new StringBuilder();\n//        try {\n//            if (tvShowSeasonId != 0) {\n//                finalurl =\"https://api.themoviedb.org/3/tv/\"+tvShowId+\"/season/\"+finalSeasonNumber+\"?api_key=\" + TMDB_API_KEY + \"&language=en-US\";\n//                URL url = new URL(finalurl);\n//                Log.i(\"Show title\" , finalurl);\n//                HttpURLConnection con = (HttpURLConnection) url.openConnection();\n//                con.setRequestMethod(\"GET\");\n//                int responseCode = con.getResponseCode();\n//                Log.i(\"tmdb api response\" , String.valueOf(responseCode));\n//                if (responseCode == HttpURLConnection.HTTP_OK) { // success\n//                    BufferedReader in = new BufferedReader(new InputStreamReader(\n//                            con.getInputStream()));\n//                    String inputLine;\n//                    responseSeasonDetails = new StringBuilder();\n//                    while ((inputLine = in.readLine()) != null) {\n//                        responseSeasonDetails.append(inputLine);\n//                    }\n//                    in.close();\n//                } else {\n//                    System.out.println(\"GET request did not work\");\n//                }\n//\n//                Gson gson = new Gson();\n//\n//                TVShowSeasonDetails tvShowSeasonDetails = gson.fromJson(responseSeasonDetails.toString() , TVShowSeasonDetails.class);\n//\n//\n//\n//\n//            }\n//\n//        } catch (IOException e) {\n//            System.out.println(e);\n//        }\n//\n//\n//\n//\n//\n//            TVShowSeasonDetails test = DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().find(tvShowSeasonDetails.getId());\n//            if(test== null) DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().insert(tvShowSeasonDetails);\n//\n//            System.out.println(\"Episode Number\" +finalEpisodeNumber);\n//            for (Episode e :tvShowSeasonDetails.getEpisodes() ) {\n//                assert finalEpisodeNumber != null;\n//                if(e.getEpisode_number()== Integer.parseInt(finalEpisodeNumber) ){\n//                    System.out.println(\"Episode Number from title of the file \" +Integer.parseInt(finalEpisodeNumber)+\" Ep from the season details\"+e.getEpisode_number());\n//\n//                    e.setFileName(episode.getFileName());\n//                    e.setMimeType(episode.getMimeType());\n//                    e.setModifiedTime(episode.getModifiedTime());;\n//                    e.setSize(episode.getSize());\n//                    e.setUrlString(episode.getUrlString());\n//                    e.setSeason_id(tvShowSeasonDetails.getId());\n//                    //why null here?\n//                    System.out.println(\"ep in season in seasondetails\"+episode.toString());\n//\n////                    episode = gson.fromJson(e.toString(),Episode.class);\n//\n////                            episode = e;\n////                            episode.setSeason_id(tvShowSeasonDetails.getId());\n////                            episode.setFileName(fileName);\n////                            episode.setMimeType(mimeType);\n////                            episode.setModifiedTime(modifiedTime);\n////                            episode.setSize(size);\n////                            episode.setUrlString(urlString);\n//\n//                    System.out.println(\"ep in season in seasondetails after adding everything\"+e.toString());\n//                    Episode testEp = DatabaseClient.getInstance(context).getAppDatabase().episodeDao().findByFileName(e.getFileName());\n//                    if(testEp == null){\n//                        DatabaseClient.getInstance(context).getAppDatabase().episodeDao().insert(e);\n//                    }\n//                }\n//            }\n//        }\n\n\n//    private static void getTVSeasonById(long tvShowId , String finalSeasonNumber , String finalEpisodeNumber , Episode episode) {\n//        StringBuilder responseSeasonDetails = new StringBuilder();\n//        try {\n//            if (finalSeasonNumber != null) {\n//                TVShowSeasonDetails tvShowSeasonDetails = DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().findByShowIdAndSeasonNumber(tvShowId , finalSeasonNumber);\n//                if (tvShowSeasonDetails == null) {\n//                    System.out.println(\"Season Number \" + finalSeasonNumber);\n//\n//                    String finalUrl = \"https://api.themoviedb.org/3/tv/\" + tvShowId + \"/season/\" + finalSeasonNumber + \"?api_key=\" + TMDB_API_KEY + \"&language=en-US\";\n//                    URL url = new URL(finalUrl);\n//                    HttpURLConnection con = (HttpURLConnection) url.openConnection();\n//                    con.setRequestMethod(\"GET\");\n//                    int responseCode = con.getResponseCode();\n//                    if (responseCode == HttpURLConnection.HTTP_OK) { // success\n//                        BufferedReader in = new BufferedReader(new InputStreamReader(\n//                                con.getInputStream()));\n//                        String inputLine;\n//                        responseSeasonDetails = new StringBuilder();\n//                        while ((inputLine = in.readLine()) != null) {\n//                            responseSeasonDetails.append(inputLine);\n//                        }\n//                        in.close();\n//                    } else {\n//                        System.out.println(\"GET request did not work\");\n//                    }\n//\n//                    Gson gson = new Gson();\n//\n//                    tvShowSeasonDetails = gson.fromJson(responseSeasonDetails.toString() , TVShowSeasonDetails.class);\n//\n//\n//                    if (tvShowSeasonDetails != null) {\n//\n//                        if (tvShowId != 0) {\n//                            tvShowSeasonDetails.setShow_id(tvShowId);\n//                        }\n//\n//                    System.out.println(\"tvShowSeasonDetails \" + tvShowSeasonDetails);\n//                    TVShowSeasonDetails test = DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().find(tvShowSeasonDetails.getId());\n//                    if (test == null)\n//                        DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().insert(tvShowSeasonDetails);\n//\n//                    }\n//\n//\n//                }\n//\n//                System.out.println(\"Episode Number\" + finalEpisodeNumber);\n//\n//                try {\n//\n//                    Episode e = tvShowSeasonDetails.getEpisodes().stream()\n//                        .filter(episode1 -> (Integer.parseInt(finalEpisodeNumber)==episode1.getEpisode_number()))\n//                        .findAny()\n//                        .orElse(null);\n//\n//\n//                    System.out.println(\"Episode before inserting in db found in tvseason details\" +e.toString());\n//                    if(e!=null) {\n//                        e.setFileName(episode.getFileName());\n//                        e.setMimeType(episode.getMimeType());\n//                        e.setModifiedTime(episode.getModifiedTime());\n//                        e.setSize(episode.getSize());\n//                        e.setUrlString(episode.getUrlString());\n//                        e.setGd_id(episode.getGd_id());\n//                        e.setIndex_id(episode.getIndex_id());\n//\n//                        e.setSeason_id(tvShowSeasonDetails.getId());\n//                        e.setShow_id(tvShowId);\n//\n////                            DatabaseClient.getInstance(context).getAppDatabase().episodeDao().deleteByLink(e.getUrlString());\n//\n//                        DatabaseClient.getInstance(context).getAppDatabase().episodeDao().insert(e);\n//                        System.out.println(\"Episode after inserting in db\" + Integer.parseInt(finalEpisodeNumber) + \" Ep from the season details\" + e.getEpisode_number());\n//                    }\n//\n//                }catch (NullPointerException e){\n//\n//                }\n//\n//\n////                    for (Episode e : tvShowSeasonDetails.getEpisodes()) {\n////                        if (e.getEpisode_number() == Integer.parseInt(finalEpisodeNumber)) {\n////                            System.out.println(\"Episode Number from title of the file \" + Integer.parseInt(finalEpisodeNumber) + \" Ep from the season details \" + e.getEpisode_number());\n////\n////                            e.setFileName(episode.getFileName());\n////                            e.setMimeType(episode.getMimeType());\n////                            e.setModifiedTime(episode.getModifiedTime());\n////                            e.setSize(episode.getSize());\n////                            e.setUrlString(episode.getUrlString());\n////                            e.setGd_id(episode.getGd_id());\n////                            e.setIndex_id(episode.getIndex_id());\n////\n////                            e.setSeason_id(tvShowSeasonDetails.getId());\n////                            e.setShow_id(tvShowId);\n////\n//////                            DatabaseClient.getInstance(context).getAppDatabase().episodeDao().deleteByLink(e.getUrlString());\n////\n////                            DatabaseClient.getInstance(context).getAppDatabase().episodeDao().insert(e);\n////                            System.out.println(\"Episode after inserting in db\" + Integer.parseInt(finalEpisodeNumber) + \" Ep from the season details\" + e.getEpisode_number());\n////\n////                        }\n////                        else {\n////                            episode.setShow_id(tvShowId);\n////                            if (DatabaseClient.getInstance(context).getAppDatabase().episodeDao().findByLink(episode.getIndex_id()) == null)\n////                                DatabaseClient.getInstance(context).getAppDatabase().episodeDao().insert(episode);\n////                        }\n////                    }\n////                }\n//\n//\n//                }\n//\n//            } catch (IOException e) {\n//            System.out.println(e);\n//        }\n//    }\n\n\n//THIS CODE WAS INSIDE TMDBGETBYID\n//            //request for tv show by id and\n//            TVShow oldTV = (TVShow) myMedia;\n//\n//            //delete tv show (with older wrong info)\n//            DatabaseClient.getInstance(context).getAppDatabase().tvShowDao().deleteById(oldTV.getId());\n//\n//\n//            for (Season tvseason: oldTV.getSeasons()) {\n//                int tvSeasonId = tvseason.getId();\n//                //delete all the seasons\n//                DatabaseClient.getInstance(context).getAppDatabase().tvShowSeasonDetailsDao().deleteById(tvSeasonId);\n//            }\n//\n//\n//            if(id!=null){\n//                String finalurl =\"https://api.themoviedb.org/3/tv/\"+id+\"?api_key=\" + TMDB_API_KEY + \"&language=en-US\";\n//                StringBuilder responseTvShowDetails = new StringBuilder();\n//                try {\n//                    URL url = new URL(finalurl);\n//                    Log.i(\"Show title\" , finalurl);\n//                    HttpURLConnection con = (HttpURLConnection) url.openConnection();\n//                    con.setRequestMethod(\"GET\");\n//                    int responseCode = con.getResponseCode();\n//                    Log.i(\"tmdb api response\" , String.valueOf(responseCode));\n//                    if (responseCode == HttpURLConnection.HTTP_OK) { // success\n//                        BufferedReader in = new BufferedReader(new InputStreamReader(\n//                                con.getInputStream()));\n//                        String inputLine;\n//                        responseTvShowDetails = new StringBuilder();\n//                        while ((inputLine = in.readLine()) != null) {\n//                            responseTvShowDetails.append(inputLine);\n//                        }\n//                        in.close();\n//                    } else {\n//                        System.out.println(\"GET request did not work\");\n//                    }\n//                    Log.i(\"responseTvShowDetails\" , responseTvShowDetails.toString());\n//\n//                    Gson gson = new Gson();\n//                    myMedia = gson.fromJson(responseTvShowDetails.toString() , TVShow.class);\n//\n//                    Log.i(\"tvShow\" , myMedia.toString());\n//\n//                    DatabaseClient.getInstance(context).getAppDatabase().tvShowDao().insert((TVShow) myMedia);\n//\n//                } catch (IOException e) {\n//                    e.printStackTrace();\n//                }\n//            }\n//\n//            //get all the episodes to be update with new info\n//            List<Episode> episodeList = DatabaseClient.getInstance(context).getAppDatabase().episodeDao().getFromThisShow(oldTV.getId());\n//\n//            for (Episode episode: episodeList) {\n////                getSeasonInfo(episode.getSeason_number(),episode.getEpisode_number());\n//            }\n\n\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/SendPostRequest.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport static com.theflexproject.thunder.Constants.CF_CACHE_TOKEN;\nimport static com.theflexproject.thunder.Constants.SIMPLE_PROGRAM_DOWNLOAD_API;\nimport static com.theflexproject.thunder.MainActivity.context;\nimport static com.theflexproject.thunder.utils.SendGetRequestTMDB.sendGet2;\nimport static com.theflexproject.thunder.utils.SendGetRequestTMDB.sendGetTVShow;\n\nimport android.os.Build;\nimport android.util.Log;\n\nimport com.google.gson.Gson;\nimport com.google.gson.stream.JsonReader;\nimport com.theflexproject.thunder.database.DatabaseClient;\nimport com.theflexproject.thunder.model.File;\nimport com.theflexproject.thunder.model.Movie;\nimport com.theflexproject.thunder.model.ResFormat;\nimport com.theflexproject.thunder.model.SimpleLink;\nimport com.theflexproject.thunder.model.TVShowInfo.Episode;\n\nimport java.io.BufferedReader;\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.StringReader;\nimport java.net.HttpURLConnection;\nimport java.net.URL;\nimport java.net.URLEncoder;\nimport java.nio.charset.StandardCharsets;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Base64;\nimport java.util.Date;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Map;\n\n\npublic class SendPostRequest {\n\n    private static String nextPageToken = \"\";\n    private static int pageIndex = 0;\n//    private static int retryLimit = 3;\n\n\n    public static void postRequestGDIndex(String urlString , String user , String pass , boolean isTVShow , int index_id) {\n        try {\n            if (urlString.charAt(urlString.length() - 1) != '/') {\n                urlString += '/';\n            }\n\n            URL url = new URL(urlString);\n\n            String user_pass = user + \":\" + pass;\n            byte[] user_pass_array = user_pass.getBytes(StandardCharsets.UTF_8);\n\n            String authHeaderValue;\n            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n                authHeaderValue = \"Basic \" + Base64.getEncoder().encodeToString(user_pass_array);\n            } else {\n                authHeaderValue = \"Basic \" + Arrays.toString(android.util.Base64.encode(user_pass_array , android.util.Base64.DEFAULT));// Unresolved reference: decode\n            }\n\n//        String authHeaderValue = \"Basic \"+ Base64.getEncoder().encodeToString(user_pass_array);\n\n            System.out.println(authHeaderValue);\n\n\n            Log.i(\"token\" , authHeaderValue);\n            Map<String, Object> params = new LinkedHashMap<>();\n            params.put(\"authorization\" , authHeaderValue);\n            params.put(\"page_token\" , nextPageToken);\n            params.put(\"page_index\" , pageIndex);\n\n            StringBuilder postData = new StringBuilder();\n            for (Map.Entry<String, Object> param : params.entrySet()) {\n                if (postData.length() != 0) postData.append('&');\n                postData.append(URLEncoder.encode(param.getKey() , \"UTF-8\"));\n                postData.append('=');\n                postData.append(URLEncoder.encode(String.valueOf(param.getValue()) , \"UTF-8\"));\n            }\n            byte[] postDataBytes = postData.toString().getBytes(StandardCharsets.UTF_8);\n\n            HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n\n            BufferedReader br = null;\n\n            boolean failed = false;\n\n\n            conn.setRequestMethod(\"POST\");\n            conn.setRequestProperty(\"Content-Type\" , \"application/x-www-form-urlencoded\");\n            conn.setRequestProperty(\"Content-Length\" , String.valueOf(postDataBytes.length));\n            conn.setRequestProperty(\"authorization\" , authHeaderValue);\n//            conn.setRequestProperty(\"Referer\" , url.toString());\n            conn.setDoOutput(true);\n            conn.getOutputStream().write(postDataBytes);\n            try {\n                br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n\n            } catch (FileNotFoundException e) {\n                failed = true;\n            }\n\n            int code = conn.getResponseCode();\n            System.out.println((\"HTTP CODE\" + code));\n\n            int tryCount = 0;\n            while ((code != 200 || failed) && tryCount < 5) {\n                System.out.println(\"Request is not successful - \" + tryCount);\n                tryCount++;\n                conn.disconnect();\n                conn = (HttpURLConnection) url.openConnection();\n                conn.setRequestMethod(\"POST\");\n                conn.setRequestProperty(\"Content-Type\" , \"application/x-www-form-urlencoded\");\n                conn.setRequestProperty(\"Content-Length\" , String.valueOf(postDataBytes.length));\n                conn.setRequestProperty(\"authorization\" , authHeaderValue);\n//            conn.setRequestProperty(\"Referer\" , url.toString());\n                conn.setDoOutput(true);\n                conn.getOutputStream().write(postDataBytes);\n                try {\n                    br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n                    code = conn.getResponseCode();\n                    System.out.println((\"HTTP CODE\" + code));\n                } catch (FileNotFoundException e) {\n                    failed = true;\n                    System.out.println(\"Failed again while retrying \" + e);\n                }\n            }\n\n\n            if (br != null) {\n                StringBuilder sb = new StringBuilder();\n                for (int c; (c = br.read()) >= 0; )\n                    sb.append((char) c);\n                br.close();\n\n\n                System.out.println(\"Undecrypted response\" + sb.toString());\n\n                if (sb.length() > 0 && sb.toString().contains(\"window.drive_names\")) {\n                    String res = sb.substring(sb.indexOf(\"window.drive_names = JSON.parse('[\") + 34 , sb.indexOf(\"]\"));\n                    res = res.replaceAll(\"\\\"\" , \"\");\n                    String[] strings = res.split(\",\");\n                    System.out.println(Arrays.toString(strings));\n\n                    for (int i = 0; i < strings.length; i++) {\n\n                        postRequestGDIndex(urlString + i + \":/\" , user , pass , isTVShow , index_id);\n\n                    }\n\n                }\n\n                //Only for gd index as the response in encrypted\n                StringBuilder reverseSb = sb.reverse();\n                String encodedString = reverseSb.substring(24 , reverseSb.length() - 20);\n\n                byte[] decodedBytes;\n\n\n                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n                    decodedBytes = Base64.getDecoder().decode(encodedString);\n                } else {\n                    decodedBytes = android.util.Base64.decode(encodedString , android.util.Base64.DEFAULT);// Unresolved reference: decode\n                }\n\n//        byte[] decodedBytes = Base64.getDecoder().decode(encodedString);\n\n\n                String decodedString = new String(decodedBytes , StandardCharsets.UTF_8);\n\n                if(!decodedString.equals(\"undefined\")){\n\n\n                System.out.println(\"Response from GD Index\" + decodedString);\n                Gson gson = new Gson();\n                ResFormat target = gson.fromJson(decodedString , ResFormat.class);\n\n                List<String> folders = new ArrayList<>();\n                List<File> files = target.getData().getFiles();\n\n                DatabaseClient.getInstance(context).getAppDatabase().resFormatDao().insert(target);\n\n//                if (files == null) {\n//                    while (retryLimit >= 0) {\n//                        postRequestGDIndex(urlString , user , pass , isTVShow , index_id);\n//                        retryLimit--;\n//                    }\n//                }\n\n                //send files to tmdb and insert them to db\n                if (!isTVShow) {\n                    checkFilesAndSendToTMDBMovie(folders , files , urlString , index_id);\n                } else {\n                    checkFilesAndSendToTMDBTVShow(folders , files , urlString , index_id);\n                }\n\n\n                if (target.nextPageToken != null) {\n                    nextPageToken = target.getNextPageToken();\n                    pageIndex++;\n                    postRequestGDIndex(urlString , user , pass , isTVShow , index_id);\n                }\n                for (int i = 0; i < folders.size(); i++) {\n                    pageIndex = 0;\n                    nextPageToken = \"\";\n                    postRequestGDIndex(folders.get(i) , user , pass , isTVShow , index_id);\n                    Log.i(\"Folder\" , folders.get(i));\n                }\n\n                }\n            }\n        } catch (IOException e) {\n            System.out.println(\"IOExceptio Occured in gdIndex\");\n        }\n\n    }\n\n    public static void postRequestGoIndex(String urlString , String user , String pass , boolean isTVShow , int index_id) {\n        try {\n\n            if (urlString.charAt(urlString.length() - 1) != '/') {\n                urlString += '/';\n            }\n\n            URL url = new URL(urlString);\n\n            String user_pass = user + \":\" + pass;\n            byte[] user_pass_array = user_pass.getBytes(StandardCharsets.UTF_8);\n            String authHeaderValue;\n            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n                authHeaderValue = \"Basic \" + Base64.getEncoder().encodeToString(user_pass_array);\n            } else {\n                authHeaderValue = \"Basic \" + Arrays.toString(android.util.Base64.encode(user_pass_array , android.util.Base64.DEFAULT));// Unresolved reference: decode\n            }\n\n//        String authHeaderValue = \"Basic \" + Base64.getEncoder().encodeToString(user_pass_array);\n\n            System.out.println(authHeaderValue);\n\n            String json = \"{ \\\"q\\\":\\\"\\\",\\\"password\\\": null , \\\"page_index\\\":\" + pageIndex + \"}\";\n            byte[] postDataBytes = json.getBytes(StandardCharsets.UTF_8);\n\n            BufferedReader br = null;\n\n            boolean failed = false;\n\n            HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n\n            try {\n                conn.setRequestMethod(\"POST\");\n                conn.setRequestProperty(\"Content-Type\" , \"application/json\");\n                conn.setRequestProperty(\"Accept\" , \"application/json\");\n                conn.setRequestProperty(\"Authorization\" , authHeaderValue);\n                conn.setDoOutput(true);\n                conn.getOutputStream().write(postDataBytes);\n            } catch (FileNotFoundException e) {\n                failed = true;\n                System.out.println(\"Failed in the initial attempt \" + e);\n            }\n\n            int code = conn.getResponseCode();\n            System.out.println((\"HTTP CODE\" + code));\n\n\n            int tryCount = 0;\n            while ((code != 200 || failed) && tryCount < 10) {\n\n                System.out.println(\"Request is not successful - \" + tryCount);\n                tryCount++;\n//            conn.getInputStream().close();\n                conn.disconnect();\n                conn = (HttpURLConnection) url.openConnection();\n                conn.setRequestMethod(\"POST\");\n                conn.setRequestProperty(\"Content-Type\" , \"application/json\");\n                conn.setRequestProperty(\"Accept\" , \"application/json\");\n                conn.setRequestProperty(\"Authorization\" , authHeaderValue);\n                conn.setDoOutput(true);\n                conn.getOutputStream().write(postDataBytes);\n                try {\n                    br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n                } catch (FileNotFoundException e) {\n                    failed = true;\n                    System.out.println(\"Failed in the retry attempt\" + e);\n                }\n                code = conn.getResponseCode();\n                System.out.println((\"HTTP CODE\" + code));\n            }\n\n            if (br != null) {\n                StringBuilder sb = new StringBuilder();\n                for (int c; (c = br.read()) >= 0; )\n                    sb.append((char) c);\n                br.close();\n                System.out.println(\"\" + sb);\n                Gson gson = new Gson();\n                ResFormat target = gson.fromJson(String.valueOf(sb) , ResFormat.class);\n\n                List<String> folders = new ArrayList<>();\n                List<File> files = target.getData().getFiles();\n\n//                if (files == null) {\n//                    while (retryLimit >= 0) {\n//                        postRequestGoIndex(urlString , user , pass , isTVShow , index_id);\n//                        retryLimit--;\n//                    }\n//                }\n\n                DatabaseClient.getInstance(context).getAppDatabase().resFormatDao().insert(target);\n\n                if (!isTVShow) {\n                    checkFilesAndSendToTMDBMovie(folders , files , urlString , index_id);\n                } else {\n                    checkFilesAndSendToTMDBTVShow(folders , files , urlString , index_id);\n                }\n\n\n                if (target.nextPageToken != null) {\n                    nextPageToken = target.nextPageToken;\n                    pageIndex++;\n                    postRequestGoIndex(urlString , user , pass , isTVShow , index_id);\n                }\n\n                for (int i = 0; i < folders.size(); i++) {\n                    pageIndex = 0;\n                    nextPageToken = \"\";\n                    postRequestGoIndex(folders.get(i) , user , pass , isTVShow , index_id);\n                    Log.i(\"Folder\" , folders.get(i));\n                }\n            }\n        } catch (IOException e) {\n            System.out.println(\"Exception in Goindex\");\n        }\n\n\n    }\n\n    public static void postRequestMapleIndex(String urlString , String user , String pass , boolean isTVShow , int index_id) {\n\n        try {\n            if (urlString.charAt(urlString.length() - 1) != '/') {\n                urlString += '/';\n            }\n            urlString += \"?rootId=root\";\n\n            URL url = new URL(urlString);\n\n            String user_pass = user + \":\" + pass;\n            byte[] user_pass_array = user_pass.getBytes(StandardCharsets.UTF_8);\n\n            String authHeaderValue;\n            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n                authHeaderValue = \"Basic \" + Base64.getEncoder().encodeToString(user_pass_array);\n            } else {\n                authHeaderValue = \"Basic \" + Arrays.toString(android.util.Base64.encode(user_pass_array , android.util.Base64.DEFAULT));// Unresolved reference: decode\n            }\n//        String authHeaderValue = \"Basic \" + Base64.getEncoder().encodeToString(user_pass_array);\n\n            System.out.println(authHeaderValue);\n\n            HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n\n            BufferedReader br = null;\n\n            boolean failed = false;\n\n            try {\n                conn.setRequestMethod(\"POST\");\n                conn.setRequestProperty(\"Content-Type\" , \"application/json\");\n                conn.setRequestProperty(\"Accept\" , \"application/json\");\n                conn.setRequestProperty(\"Authorization\" , authHeaderValue);\n                conn.setDoOutput(true);\n                br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n\n            } catch (FileNotFoundException e) {\n                failed = true;\n                System.out.println(\"Failed in the initial attempt \" + e);\n            }\n\n            int code = conn.getResponseCode();\n            System.out.println((\"HTTP CODE\" + code));\n\n\n            int tryCount = 0;\n            while ((code != 200 || failed) && tryCount < 5) {\n\n                System.out.println(\"Request is not successful - \" + tryCount);\n                tryCount++;\n//            conn.getInputStream().close();\n                conn.disconnect();\n                conn = (HttpURLConnection) url.openConnection();\n                conn.setRequestMethod(\"POST\");\n                conn.setRequestProperty(\"Content-Type\" , \"application/json\");\n                conn.setRequestProperty(\"Accept\" , \"application/json\");\n                conn.setRequestProperty(\"Authorization\" , authHeaderValue);\n                conn.setDoOutput(true);\n                try {\n                    br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n                } catch (FileNotFoundException e) {\n                    failed = true;\n                    System.out.println(\"Failed in the retry attempt \" + e);\n                }\n            }\n\n            if (br != null) {\n                StringBuilder sb = new StringBuilder();\n                for (int c; (c = br.read()) >= 0; )\n                    sb.append((char) c);\n                br.close();\n\n                System.out.println(\"Response from Maple Index\" + sb);\n                Gson gson = new Gson();\n                ResFormat target = gson.fromJson(sb.toString() , ResFormat.class);\n\n                List<String> folders = new ArrayList<>();\n                List<File> files = target.getData().getFiles();\n\n//                if (files == null) {\n//\n//                    while (retryLimit >= 0) {\n//                        postRequestMapleIndex(urlString , user , pass , isTVShow , index_id);\n//                        retryLimit--;\n//                    }\n//                }\n\n                DatabaseClient.getInstance(context).getAppDatabase().resFormatDao().insert(target);\n\n                if (!isTVShow) {\n                    checkFilesAndSendToTMDBMovie(folders , files , urlString , index_id);\n                } else {\n                    checkFilesAndSendToTMDBTVShow(folders , files , urlString , index_id);\n                }\n\n\n                if (target.nextPageToken != null) {\n                    nextPageToken = target.getNextPageToken();\n                    pageIndex++;\n                    postRequestMapleIndex(urlString , user , pass , isTVShow , index_id);\n                }\n\n                for (int i = 0; i < folders.size(); i++) {\n                    pageIndex = 0;\n                    nextPageToken = \"\";\n                    postRequestMapleIndex(folders.get(i) , user , pass , isTVShow , index_id);\n                    Log.i(\"Folder\" , folders.get(i));\n                }\n            }\n        } catch (IOException e) {\n            System.out.println(\"Exception in maple\");\n        }\n\n\n    }\n\n    public static void postRequestSimpleProgramIndex(String urlString , String user , String pass , boolean isTVShow , int index_id) {\n\n        try {\n\n            if (urlString.charAt(urlString.length() - 1) != '/') {\n                urlString += '/';\n            }\n\n            Map<String, Object> params = new LinkedHashMap<>();\n            params.put(\"page_token\" , nextPageToken);\n            params.put(\"page_index\" , pageIndex);\n            params.put(\"password\" , \"\");\n\n\n            StringBuilder postData = new StringBuilder();\n            for (Map.Entry<String, Object> param : params.entrySet()) {\n                if (postData.length() != 0) postData.append('&');\n                postData.append(URLEncoder.encode(param.getKey() , \"UTF-8\"));\n                postData.append('=');\n                postData.append(URLEncoder.encode(String.valueOf(param.getValue()) , \"UTF-8\"));\n            }\n\n            String s = \"?\" + postData;\n\n            System.out.println(\"inside simple\" + urlString);\n            URL url = new URL(urlString + s);\n\n\n            System.out.println(\"Url built with params\" + postData);\n\n            HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n\n            BufferedReader br = null;\n\n            boolean failed = false;\n\n            try {\n                conn.setRequestMethod(\"GET\");\n                conn.setRequestProperty(\"cf_cache_token\" ,CF_CACHE_TOKEN);\n                br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n\n            } catch (FileNotFoundException e) {\n                failed = true;\n                System.out.println(\"Failed in the initial attempt \" + e);\n            }\n            int code = conn.getResponseCode();\n            System.out.println((\"HTTP CODE\" + code));\n\n            int tryCount = 0;\n            while ((code != 200 || failed) && tryCount < 5) {\n\n                System.out.println(\"Request is not successful - \" + tryCount);\n                tryCount++;\n//            conn.getInputStream().close();\n                conn.disconnect();\n                conn = (HttpURLConnection) url.openConnection();\n                conn.setRequestMethod(\"GET\");\n                conn.setRequestProperty(\"cf_cache_token\" , \"UKsVpQqBMxB56gBfhYKbfCVkRIXMh42pk6G4DdkXXoVh7j4BjV\");\n                try {\n                    br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n                } catch (FileNotFoundException e) {\n                    failed = true;\n                    System.out.println(\"Failed in the retry attempt \" + e);\n                }\n            }\n\n\n            if (br != null) {\n                StringBuilder sb = new StringBuilder();\n                for (int c; (c = br.read()) >= 0; )\n                    sb.append((char) c);\n                br.close();\n\n                System.out.println(\"Response from GD Index\" + sb);\n                Gson gson = new Gson();\n                ResFormat target = gson.fromJson(sb.toString() , ResFormat.class);\n\n\n                List<String> folders = new ArrayList<>();\n                List<File> files = target.getData().getFiles();\n\n\n                DatabaseClient.getInstance(context).getAppDatabase().resFormatDao().insert(target);\n\n\n                //send files to tmdb and insert them to db\n                if (!isTVShow) {\n                    checkFilesAndSendToTMDBMovie(folders , files , urlString , index_id);\n                } else {\n                    checkFilesAndSendToTMDBTVShow(folders , files , urlString , index_id);\n                }\n\n\n                if (target.nextPageToken != null) {\n                    nextPageToken = target.getNextPageToken();\n                    pageIndex++;\n                    postRequestSimpleProgramIndex(urlString , user , pass , isTVShow , index_id);\n                }\n//                if (files == null) {\n//                    while (retryLimit >= 0) {\n//                        System.out.println(\"likely a worker exception occurred\");\n//                        postRequestSimpleProgramIndex(urlString , user , pass , isTVShow , index_id);\n//                        retryLimit--;\n//                    }\n//                }\n                for (int i = 0; i < folders.size(); i++) {\n                    pageIndex = 0;\n                    nextPageToken = \"\";\n                    postRequestSimpleProgramIndex(folders.get(i) , user , pass , isTVShow , index_id);\n                    Log.i(\"Folder\" , folders.get(i));\n                }\n            }\n        } catch (IOException e) {\n            System.out.println(\"Exception in simple\");\n        }\n\n\n    }\n\n    private static void checkFilesAndSendToTMDBMovie(List<String> folders , List<File> files , String urlString , int index_id) {\n        Gson gson = new Gson();\n        if (files != null) {\n            try {\n                System.out.println(\"Files from the index\" + files);\n                for (int i = 0; i < files.size(); i++) {\n                    File file = files.get(i);\n                    if (file.getMimeType().equals(\"video/x-matroska\")\n                            || file.getMimeType().equals(\"video/mp4\")\n                            || file.getMimeType().equals(\"video/x-msvideo\")\n                            || file.getMimeType().equals(\"video/mpeg\")\n                            || file.getMimeType().equals(\"video/webm\")) {\n                        boolean test = isAlreadyPresent(file.getId() , file.getModifiedTime());\n\n                        if (!test) {\n                            System.out.println(\"the file is not present\");\n                            String callingMethodName = Thread.currentThread().getStackTrace()[3].getMethodName();\n                            System.out.println(\"Calling method name \" + callingMethodName);\n                            if (callingMethodName.equals(\"postRequestSimpleProgramIndex\")) {\n                                file.setUrlstring(generateDownloadLinkSimpleProgram(file.getId()));\n                            } else {\n                                file.setUrlstring(urlString + file.getName());\n                            }\n\n\n                            System.out.println(\"File to string\" +file.toString());\n\n\n                            try {\n                                JsonReader reader = new JsonReader(new StringReader(file.toString()));\n                                reader.setLenient(true);\n                                Movie movie = gson.fromJson(reader, Movie.class);\n\n//                            Movie movie = gson.fromJson(file.toString() , Movie.class);\n                                movie.setFileName(file.getName());\n                                movie.setGd_id(file.getId());\n                                movie.setIndex_id(index_id);\n\n//                            long modifiedTimeLong = dateToLong(file.getModifiedTime());\n\n                                movie.setModifiedTime(file.getModifiedTime());\n//                            movie.setModifiedTime(modifiedTimeLong);\n\n                                sendGet2(movie);//tmdbrequest\n                                Log.i(\"Movie\" , movie.toString());\n                            }catch (Exception e){\n                                System.out.println(\"Malformed Json in checkFilesAndSendToTMDBMovie\"+e.toString());\n                            }\n                        }\n\n                    } else if (file.getMimeType().equals(\"application/vnd.google-apps.folder\")) {\n                        folders.add(urlString + file.getName() + \"/\");\n                    }\n                }\n            } catch (NullPointerException e) {\n                Log.i(\"Exception null pointer\" , e.toString());\n            }\n\n        }\n\n    }\n\n    private static boolean isAlreadyPresent(String id , Date modifiedTime) {\n        System.out.println(\"id to test \" + id);\n        Movie movie = DatabaseClient.getInstance(context).getAppDatabase().movieDao().getByGdId(id);\n        Episode episode = DatabaseClient.getInstance(context).getAppDatabase().episodeDao().findByGdId(id);\n        if (movie != null && modifiedTime.after(movie.getModifiedTime())) {\n            DatabaseClient.getInstance(context).getAppDatabase().movieDao().deleteByGdId(id);\n            return false;\n        }\n        if (episode != null && modifiedTime.after(episode.getModifiedTime())) {\n            DatabaseClient.getInstance(context).getAppDatabase().episodeDao().deleteByGdId(id);\n            return false;\n        }\n        if (movie == null && episode == null) {\n            System.out.println(\"not present in movies\");\n            return false;\n        } else {\n            return true;\n        }\n    }\n\n    private static String generateDownloadLinkSimpleProgram(String id) {\n        try {\n            URL url = new URL(SIMPLE_PROGRAM_DOWNLOAD_API+ id);\n\n            HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n            conn.setRequestMethod(\"GET\");\n\n            int code = conn.getResponseCode();\n            System.out.println((\"HTTP CODE\" + code));\n\n            BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream() , StandardCharsets.UTF_8));\n            StringBuilder sb = new StringBuilder();\n            for (int c; (c = br.read()) >= 0; )\n                sb.append((char) c);\n            br.close();\n\n            Gson gson = new Gson();\n            SimpleLink target = gson.fromJson(sb.toString() , SimpleLink.class);\n            System.out.println(\"Response from link generator\" + target);\n\n            return target.getUrl();\n\n        } catch (IOException e) {\n            e.printStackTrace();\n        }\n\n\n        return null;\n    }\n\n    private static void checkFilesAndSendToTMDBTVShow(List<String> showFolders , List<File> files , String urlString , int index_id) {\n        Gson gson = new Gson();\n        if (files != null) {\n            try {\n                for (int i = 0; i < files.size(); i++) {\n                    File file = files.get(i);\n                    if (file.getMimeType().equals(\"video/x-matroska\")\n                            || file.getMimeType().equals(\"video/mp4\")\n                            || file.getMimeType().equals(\"video/x-msvideo\")\n                            || file.getMimeType().equals(\"video/mpeg\")\n                            || file.getMimeType().equals(\"video/webm\")) {\n\n                        boolean test = isAlreadyPresent(file.getId() , file.getModifiedTime());\n\n                        if (!test) {\n                            String callingMethodName = Thread.currentThread().getStackTrace()[3].getMethodName();\n                            if (callingMethodName.equals(\"postRequestSimpleProgramIndex\")) {\n                                file.setUrlstring(generateDownloadLinkSimpleProgram(file.getId()));\n                            } else {\n                                file.setUrlstring(urlString + file.getName());\n                            }\n                            Episode episode = gson.fromJson(file.toString() , Episode.class);\n                            episode.setFileName(file.getName());\n\n                            episode.setModifiedTime(file.getModifiedTime());\n                            episode.setGd_id(file.getId());\n                            episode.setIndex_id(index_id);\n                            System.out.println(\"episode before tmdb\" + episode);\n                            sendGetTVShow(episode);//tmdbrequest\n                        }\n\n\n                    } else if (file.getMimeType().equals(\"application/vnd.google-apps.folder\")) {\n                        showFolders.add(urlString + file.getName() + \"/\");\n                        Log.i(\"showFolders\" , showFolders + file.getName());\n                    }\n                }\n            } catch (NumberFormatException e) {\n                Log.i(\"Exception\" , e.toString());\n            }\n        }\n\n    }\n\n//    @RequiresApi(api = Build.VERSION_CODES.O)\n//    public static void postRequestGDIndexTVShow(String urlString , String user , String pass) throws IOException {\n//\n//        if(urlString.charAt(urlString.length()-1)!='/'){urlString+='/';}\n//\n//        URL url = new URL(urlString);\n//\n//        String user_pass = user+\":\"+pass;\n//        byte[] user_pass_array = user_pass.getBytes(StandardCharsets.UTF_8);\n//        String authHeaderValue = \"Basic \"+ Base64.getEncoder().encodeToString(user_pass_array);\n//\n//        System.out.println(authHeaderValue);\n//\n//\n//        Map<String,Object> params = new LinkedHashMap<>();\n//        params.put(\"authorization\", authHeaderValue);\n//        params.put(\"page_token\", nextPageToken);\n//        params.put(\"page_index\", pageIndex);\n//\n//        StringBuilder postData = new StringBuilder();\n//        for (Map.Entry<String,Object> param : params.entrySet()) {\n//            if (postData.length() != 0) postData.append('&');\n//            postData.append(URLEncoder.encode(param.getKey(), \"UTF-8\" ));\n//            postData.append('=');\n//            postData.append(URLEncoder.encode(String.valueOf(param.getValue()),  \"UTF-8\"));\n//        }\n//        byte[] postDataBytes = postData.toString().getBytes(StandardCharsets.UTF_8);\n//\n//        HttpURLConnection conn = (HttpURLConnection)url.openConnection();\n//        conn.setRequestMethod(\"POST\");\n//        conn.setRequestProperty(\"Content-Type\", \"application/x-www-form-urlencoded\");\n//        conn.setRequestProperty(\"Content-Length\", String.valueOf(postDataBytes.length));\n//        conn.setRequestProperty(\"authorization\",authHeaderValue);\n//        conn.setDoOutput(true);\n//        conn.getOutputStream().write(postDataBytes);\n//\n//\n//        int code = conn.getResponseCode();\n//        System.out.println((\"HTTP CODE\" + code));\n//\n//        /* Infinite recursion not a good solution */\n//        if(code==500){\n//            postRequestGDIndexTVShow(urlString,user,pass);\n//        }\n//\n//        BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), StandardCharsets.UTF_8));\n//        StringBuilder sb = new StringBuilder();\n//        for (int c; (c = br.read()) >= 0;)\n//            sb.append((char)c);\n//        br.close();\n//\n//        //Only for gdindex as the response in encrypted\n//        StringBuilder reverseSb = sb.reverse();\n//        String encodedString = reverseSb.substring(24,reverseSb.length()-20);\n//        byte[] decodedBytes = Base64.getDecoder().decode(encodedString);\n//        String decodedString = new String(decodedBytes,StandardCharsets.UTF_8);\n//\n//        System.out.println(\"Response from GD Index\"+decodedString);\n//        Gson gson = new Gson();\n//        ResFormat target = gson.fromJson(decodedString, ResFormat.class);\n//\n//        DatabaseClient.getInstance(context).getAppDatabase().resFormatDao().insert(target);\n//\n//        List<String> showFolders = new ArrayList<>();\n//        List<File> files = target.getData().getFiles();\n//\n//        checkFilesAndSendToTMDBTVShow(showFolders,files,url);\n//\n//        if(target.nextPageToken!=null){\n//            nextPageToken =target.getNextPageToken();\n//            pageIndex++;\n//            postRequestGDIndexTVShow(urlString,user,pass);\n//        }\n//        for (int i = 0; i < showFolders.size(); i++) {\n//            pageIndex = 0;\n//            nextPageToken = \"\";\n//            postRequestGDIndexTVShow(showFolders.get(i),user,pass);\n//            Log.i(\"Folder\", showFolders.get(i));\n//        }\n//\n//\n//\n//    }\n//\n//    @RequiresApi(api = Build.VERSION_CODES.O)\n//    public static void postRequestGoIndexTVShow(String urlString, String user, String pass) throws IOException, JSONException {\n//        if (urlString.charAt(urlString.length() - 1) != '/') {urlString += '/';}\n//\n//        URL url = new URL(urlString);\n//\n//        String user_pass = user + \":\" + pass;\n//        byte[] user_pass_array = user_pass.getBytes(StandardCharsets.UTF_8);\n//        String authHeaderValue = \"Basic \" + Base64.getEncoder().encodeToString(user_pass_array);\n//\n//        System.out.println(authHeaderValue);\n//\n//        String json = \"{ \\\"q\\\":\\\"\\\",\\\"password\\\": null , \\\"page_index\\\":\" + pageIndex + \"}\";\n//        byte[] postDataBytes = json.getBytes(StandardCharsets.UTF_8);\n//\n//\n//\n//        HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n//        conn.setRequestMethod(\"POST\");\n//        conn.setRequestProperty(\"Content-Type\", \"application/json\");\n//        conn.setRequestProperty(\"Accept\", \"application/json\");\n//        conn.setRequestProperty(\"Authorization\", authHeaderValue);\n//        conn.setDoOutput(true);\n//        conn.getOutputStream().write(postDataBytes);\n//\n//        int code = conn.getResponseCode();\n//        System.out.println((\"HTTP CODE\" + code));\n//\n//        /* Infinite recursion not a good solution */\n//        if(code==500){\n//            postRequestGoIndexTVShow(urlString,user,pass);\n//        }\n//\n//        BufferedReader br = new BufferedReader(new InputStreamReader( conn.getInputStream(), StandardCharsets.UTF_8));\n//\n//        StringBuilder sb = new StringBuilder();\n//        for (int c; (c = br.read()) >= 0;)\n//            sb.append((char)c);\n//        br.close();\n//        System.out.println(\"\"+ sb);\n//        Gson gson = new Gson();\n//        ResFormat target = gson.fromJson(String.valueOf(sb), ResFormat.class);\n//\n//        DatabaseClient.getInstance(context).getAppDatabase().resFormatDao().insert(target);\n//\n//        List<String> folders = new ArrayList<>();\n//        List<File> files = target.getData().getFiles();\n//\n//\n//        checkFilesAndSendToTMDBTVShow(folders,files,url);\n//\n//\n//\n//\n//        if(target.nextPageToken!=null){\n//            nextPageToken =target.nextPageToken;\n//            pageIndex++;\n//            postRequestGoIndexTVShow(urlString,user,pass);\n//        }\n//\n//        for (int i = 0; i < folders.size(); i++) {\n//            pageIndex = 0;\n//            nextPageToken = \"\";\n//            postRequestGoIndexTVShow(folders.get(i),user,pass);\n//            Log.i(\"Folder\", folders.get(i));\n//        }\n//\n//    }\n//\n//    @RequiresApi(api = Build.VERSION_CODES.O)\n//    public static void postRequestMapleIndexTVShow(String urlString, String user, String pass) throws IOException {\n//\n//        if (urlString.charAt(urlString.length() - 1) != '/') {urlString += '/';}\n//        urlString +=\"?rootId=root\";\n//\n//        URL url = new URL(urlString);\n//\n//        String user_pass = user + \":\" + pass;\n//        byte[] user_pass_array = user_pass.getBytes(StandardCharsets.UTF_8);\n//        String authHeaderValue = \"Basic \" + Base64.getEncoder().encodeToString(user_pass_array);\n//\n//        System.out.println(authHeaderValue);\n//\n//        HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n//        conn.setRequestMethod(\"POST\");\n//        conn.setRequestProperty(\"Content-Type\", \"application/json\");\n//        conn.setRequestProperty(\"Accept\", \"application/json\");\n//        conn.setRequestProperty(\"Authorization\", authHeaderValue);\n//        conn.setDoOutput(true);\n//\n//\n//        int code = conn.getResponseCode();\n//        System.out.println((\"HTTP CODE\" + code));\n//\n//        /* Infinite recursion not a good solution */\n//        if(code==500){\n//            postRequestMapleIndexTVShow(urlString,user,pass);\n//        }\n//\n//        BufferedReader br = new BufferedReader(new InputStreamReader( conn.getInputStream(), StandardCharsets.UTF_8));\n//        StringBuilder sb = new StringBuilder();\n//        for (int c; (c = br.read()) >= 0;)\n//            sb.append((char)c);\n//        br.close();\n//\n//        System.out.println(\"Response from Maple Index\"+ sb);\n//        Gson gson = new Gson();\n//        ResFormat target = gson.fromJson(sb.toString(), ResFormat.class);\n//\n//        DatabaseClient.getInstance(context).getAppDatabase().resFormatDao().insert(target);\n//\n//        List<String> folders = new ArrayList<>();\n//        List<File> files = target.getData().getFiles();\n//\n//        checkFilesAndSendToTMDBTVShow(folders,files,url);\n//\n//        if(target.nextPageToken!=null){\n//            nextPageToken =target.getNextPageToken();\n//            pageIndex++;\n//            postRequestMapleIndexTVShow(urlString,user,pass);\n//        }\n//\n//        for (int i = 0; i < folders.size(); i++) {\n//            pageIndex = 0;\n//            nextPageToken = \"\";\n//            postRequestMapleIndexTVShow(folders.get(i),user,pass);\n//            Log.i(\"Folder\", folders.get(i));\n//        }\n//\n//\n//\n//    }\n\n\n//    @RequiresApi(api = Build.VERSION_CODES.O)\n//    public static void postRequestGoExtendedIndex(String urlString, String user, String pass) throws IOException {\n//        if(urlString.charAt(urlString.length()-1)!='/'){urlString+='/';}\n//        URL url = new URL(urlString);\n//        String user_pass = user+\":\"+pass;\n//        byte[] user_pass_array = user_pass.getBytes(StandardCharsets.UTF_8);\n//        String token = \"Basic \"+ Base64.getEncoder().encodeToString(user_pass_array);\n//\n//        Log.i(\"token\",token);\n//        Map<String,Object> params = new LinkedHashMap<>();\n//        params.put(\"authorization\", token);\n//        params.put(\"page_token\", nextPageToken);\n//        params.put(\"page_index\", pageIndex);\n//\n//\n//        StringBuilder postData = new StringBuilder();\n//        for (Map.Entry<String,Object> param : params.entrySet()) {\n//            if (postData.length() != 0) postData.append('&');\n//            postData.append(URLEncoder.encode(param.getKey(), \"UTF-8\" ));\n//            postData.append('=');\n//            postData.append(URLEncoder.encode(String.valueOf(param.getValue()),  \"UTF-8\"));\n//        }\n//        byte[] postDataBytes = postData.toString().getBytes(StandardCharsets.UTF_8);\n//\n//        HttpURLConnection conn = (HttpURLConnection)url.openConnection();\n//        conn.setRequestMethod(\"POST\");\n//        conn.setRequestProperty(\"Content-Type\", \"application/x-www-form-urlencoded\");\n//        conn.setRequestProperty(\"Content-Length\", String.valueOf(postDataBytes.length));\n//        conn.setRequestProperty(\"authorization\",token);\n//        conn.setDoOutput(true);\n//        conn.getOutputStream().write(postDataBytes);\n//\n//\n//        int code = conn.getResponseCode();\n//        System.out.println((\"HTTP CODE\" + String.valueOf(code)));\n//\n//        /** Infinite recursion not a good solution */\n//        if(code==500){\n//            postRequestGDIndex(urlString,user,pass);\n//        }\n//\n//        Reader in = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"UTF-8\"));\n//\n//        StringBuilder sb = new StringBuilder();\n//        for (int c; (c = in.read()) >= 0;)\n//            sb.append((char)c);\n//\n//\n//        Gson gson = new Gson();\n//        ResFormat target = gson.fromJson(sb.toString(), ResFormat.class);\n//\n//        try{\n//            Log.i(\"Error\",sb.toString());\n//        }catch (NullPointerException w){ w.toString();}\n//\n//        DatabaseClient.getInstance(mCtx).getAppDatabase().resFormatDao().insert(target);\n//\n//        List<String> folders = new ArrayList<>();\n//\n//        try{\n//            for (int i = 0; i < target.data.files.size(); i++) {\n//                File file = target.data.files.get(i);\n//                if(file.getMimeType().equals(\"video/x-matroska\")\n//                        ||file.getMimeType().equals(\"video/mp4\")\n//                        || file.getMimeType().equals(\"video/x-msvideo\")\n//                        || file.getMimeType().equals(\"video/mpeg\")\n//                        || file.getMimeType().equals(\"video/webm\")){\n//                    file.setUrlstring(url+file.getName());\n//                    sendGet2(file);\n//                    DatabaseClient.getInstance(mCtx).getAppDatabase().fileDao().insert(target.data.files.get(i));\n//                }else if( file.getMimeType().equals(\"application/vnd.google-apps.folder\")){\n//                    folders.add(url+file.getName()+\"/\");\n//                }\n//            }\n//        }catch (NullPointerException e){Log.i(\"Exception\",e.toString());}\n//        Log.i(\"Folder\",folders.toString());\n//        if(target.nextPageToken!=null){\n//            nextPageToken =target.nextPageToken;\n//            pageIndex++;\n//            postRequestGDIndex(urlString,user,pass);\n//        }\n//        for (int i = 0; i < folders.size(); i++) {\n//            pageIndex = 0;\n//            nextPageToken = \"\";\n//            postRequestGDIndex(folders.get(i),user,pass);\n//            Log.i(\"Folder\",folders.get(i).toString());\n//        }\n//\n//\n//\n//    }\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/SettingsManager.java",
    "content": "package com.theflexproject.thunder.utils;\n\n\nimport android.content.Context;\nimport android.content.SharedPreferences;\n\npublic class SettingsManager {\n\n    Context context;\n    SharedPreferences sharedPreferences;\n    public SettingsManager(Context context) {\n        sharedPreferences = context.getSharedPreferences(\"Settings\", Context.MODE_PRIVATE);\n        this.context = context;\n    }\n\n//    public void firstTimeLaunch(Boolean isFirstTime) {\n//        SharedPreferences.Editor editor = sharedPreferences.edit();\n//        editor.putBoolean(\"RESTORE_DATABASE\", isFirstTime);\n//        editor.commit();\n//    }\n\n    public void saveRefresh(Boolean REFRESH_PERIODICALLY_BUTTON,Integer timeToRefresh) {\n        SharedPreferences.Editor editor = sharedPreferences.edit();\n        editor.putBoolean(\"REFRESH_SETTING\", REFRESH_PERIODICALLY_BUTTON);\n        editor.putInt(\"REFRESH_TIME\", timeToRefresh);\n        editor.commit();\n    }\n    public void saveCast(Boolean CAST_BUTTON) {\n        SharedPreferences.Editor editor = sharedPreferences.edit();\n        editor.putBoolean(\"CAST_SETTING\", CAST_BUTTON);\n        editor.commit();\n    }\n    public void saveExternal(Boolean EXTERNAL_PLAYER_BUTTON) {\n        SharedPreferences.Editor editor = sharedPreferences.edit();\n        editor.putBoolean(\"EXTERNAL_SETTING\", EXTERNAL_PLAYER_BUTTON);\n        editor.commit();\n\n    }\n\n}"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/ShowUtils.java",
    "content": "package com.theflexproject.thunder.utils;\n\n\nimport static com.theflexproject.thunder.utils.ParseUtils.getCountryOfOrigin;\nimport static com.theflexproject.thunder.utils.ParseUtils.parenthesisYearExtractor;\nimport static com.theflexproject.thunder.utils.ParseUtils.removeAfterEmptyParenthesis;\n\nimport android.util.Pair;\n\nimport java.io.UnsupportedEncodingException;\nimport java.net.URLEncoder;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\n/**\n * Class used to parse the file names and try to guess if we have a tv show.\n */\npublic final class ShowUtils {\n\n    // disable for now the SxxEyy-showName does not exist and makes ./serie/The Flash/S02/S02E01 lahlah.mkv not identified\n    private static final boolean ENABLE_PATTERNS_EPISODE_FIRST = false;\n\n    public static final String EPNUM = \"epnum\";\n    public static final String SEASON = \"season\";\n    public static final String SHOW = \"show\";\n    public static final String YEAR = \"year\";\n    public static final String ORIGIN = \"origin\";\n\n    /** These are considered equivalent to space */\n    public static final char[] REPLACE_ME = new char[] {\n            '.', // \"The.Good.Wife\" will not be found\n            '_', // \"The_Good_Wife\" would be found but we need the clean name for local display\n    };\n\n    private ShowUtils() {\n        // do not make instances of me\n    }\n\n    // Separators: Punctuation or Whitespace\n    // remove the \"(\" and \")\" in punctuation to avoid matching end parenthesis of date in \"show (1987) s01e01 title.mkv\"\n    private static final String SEP_OPTIONAL = \"[[\\\\p{Punct}&&[^()]]\\\\s]*+\";\n    private static final String SEP_MANDATORY = \"[[\\\\p{Punct}&&[^()]]\\\\s]++\";\n\n    // Name patterns where the show is present first. Examples below.\n    private static final Pattern[] patternsShowFirst = {\n            // almost anything that has S 00 E 00 in it and recognize shows with year as season number\n            Pattern.compile(\"(.+?)\" + SEP_MANDATORY + \"(?:s|seas|season)\" + SEP_OPTIONAL + \"(20\\\\d{2}|\\\\d{1,2})\" + SEP_OPTIONAL + \"(?:e|ep|episode)\" + SEP_OPTIONAL + \"(\\\\d{1,3})(?!\\\\d).*\", Pattern.CASE_INSENSITIVE),\n            // almost anything that has 00 x 00, note mandatory separator to fixe detection of movies 5.1x264 as Season 1 episode 264\n            Pattern.compile(\"(.+?)\" + SEP_MANDATORY + \"(20\\\\d{2}|\\\\d{1,2})\" + SEP_OPTIONAL + \"x\" + SEP_MANDATORY + \"(\\\\d{1,3})(?!\\\\d).*\", Pattern.CASE_INSENSITIVE),\n            // special case to avoid x264 or x265\n            Pattern.compile(\"(.+?)\" + SEP_MANDATORY + \"(20\\\\d{2}|\\\\d{1,2})\" + SEP_OPTIONAL + \"x\" + SEP_OPTIONAL + \"(?!(?:264|265|720))(\\\\d{1,3})(?!\\\\d).*\", Pattern.CASE_INSENSITIVE),\n            // Disable following pattern since it makes L.627 or OSS 117 movies identified as TV serie\n            // foo.103 and similar\n            // Note: can detect movies that contain 3 digit numbers like \"127 hours\" or shows that have such numbers in their name like \"zoey 101\"\n            // Limit first digit to be >0 in order not to identify \"James Bond 007\" as tv show\n            //Pattern.compile(\"(.+)\" + SEP_MANDATORY + \"(?!(?:264|265|720))([1-9])(\\\\d{2,2})\" + SEP_MANDATORY + \".*\", Pattern.CASE_INSENSITIVE),\n    };\n    // Name patterns which begin with the number of the episode\n    private static final Pattern[] patternsEpisodeFirst = {\n            // anything that starts with S 00 E 00, text after \"-\" getting ignored\n            Pattern.compile(SEP_OPTIONAL + \"(?:s|seas|season)\" + SEP_OPTIONAL + \"(\\\\d{1,2})\" + SEP_OPTIONAL + \"(?:e|ep|episode)\" + SEP_OPTIONAL + \"(\\\\d{1,3})(?!\\\\d)\" + SEP_OPTIONAL + \"([^-]*+).*\", Pattern.CASE_INSENSITIVE),\n            // anything that starts with 00 x 00, text after \"-\" getting ignored like in \"S01E15 - ShowName - Ignored - still ignored\"\n            Pattern.compile(SEP_OPTIONAL + \"(\\\\d{1,2})\" + SEP_OPTIONAL + \"x\" + SEP_OPTIONAL + \"(\\\\d{1,3})(?!\\\\d)\" + SEP_OPTIONAL + \"([^-]*+).*\", Pattern.CASE_INSENSITIVE),\n    };\n\n    public static String cleanUpName(String name) {\n        name = ParseUtils.unifyApostrophes(name);\n        name = ParseUtils.removeNumbering(name);\n        name = ParseUtils.replaceAcronyms(name);\n        name = StringUtils.replaceAllChars(name, REPLACE_ME, ' ');\n        return name.trim();\n    }\n\n    /**\n     *  Parse the filename and returns a Map containing the keys \"show\",\n     *  \"season\" and \"epnum\" and their associated values.\n     *  If the filename doesn't match a tv show pattern, returns null.\n     */\n    public static Map<String, String> parseShowName(String filename) {\n        final HashMap<String, String> buffer = new HashMap<String, String>();\n        Pair<String, String> nameYear;\n        Pair<String, String> nameCountry;\n        String name;\n        for(Pattern regexp: patternsShowFirst) {\n            Matcher matcher = regexp.matcher(filename);\n            try {\n                if(matcher.find()) {\n                    nameYear = parenthesisYearExtractor(matcher.group(1));\n                    // remove junk behind () that was containing year\n                    // applies to movieName (1928) junk -> movieName () junk -> movieName\n                    name = removeAfterEmptyParenthesis(nameYear.first);\n                    name = cleanUpName(name);\n                    nameCountry = getCountryOfOrigin(name);\n                    buffer.put(SHOW, nameCountry.first);\n                    buffer.put(SEASON, matcher.group(2));\n                    buffer.put(EPNUM, matcher.group(3));\n                    buffer.put(YEAR, nameYear.second);\n                    buffer.put(ORIGIN, nameCountry.second);\n                    return buffer;\n                }\n            } catch (IllegalArgumentException ignored) {}\n        }\n        if (ENABLE_PATTERNS_EPISODE_FIRST)\n            for(Pattern regexp: patternsEpisodeFirst) {\n                Matcher matcher = regexp.matcher(filename);\n                try {\n                    if(matcher.find()) {\n                        nameYear = parenthesisYearExtractor(matcher.group(3));\n                        // remove junk behind () that was containing year\n                        // applies to movieName (1928) junk -> movieName () junk -> movieName\n                        name = removeAfterEmptyParenthesis(nameYear.first);\n                        name = cleanUpName(name);\n                        nameCountry = getCountryOfOrigin(name);\n                        buffer.put(SHOW, nameCountry.first);\n                        buffer.put(SEASON, matcher.group(1));\n                        buffer.put(EPNUM, matcher.group(2));\n                        buffer.put(YEAR, nameYear.second);\n                        buffer.put(ORIGIN, nameCountry.second);\n                        return buffer;\n                    }\n                } catch (IllegalArgumentException ignored) {}\n            }\n        return null;\n    }\n\n    /**\n     * Function to know if a given filename matches one of the patterns and as\n     * such, can have show and episode number extracted.\n     * Uses <b>searchString</b> instead of filename if present.\n     */\n    public static boolean isTvShow(String file, String searchString) {\n        String filename = file;\n        if (searchString != null && !searchString.isEmpty()) {\n            filename = searchString;\n        }\n\n        for(Pattern regexp: patternsShowFirst) {\n            Matcher m = regexp.matcher(filename);\n            try {\n                if(m.matches()) {\n                    return true;\n                }\n            } catch (IllegalArgumentException ignored) {\n            }\n        }\n        if (ENABLE_PATTERNS_EPISODE_FIRST)\n            for(Pattern regexp: patternsEpisodeFirst) {\n                Matcher m = regexp.matcher(filename);\n                try {\n                    if(m.matches())\n                        return true;\n                } catch (IllegalArgumentException ignored) {}\n            }\n        return false;\n    }\n\n    public static String urlEncode(String input) {\n        String encode = \"\";\n        try {\n            encode = URLEncoder.encode(input, \"UTF-8\");\n        } catch (UnsupportedEncodingException e1) {\n        }\n        return encode;\n    }\n\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/StorageUtils.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport android.Manifest;\nimport android.app.Activity;\nimport android.content.pm.PackageManager;\n\nimport androidx.core.app.ActivityCompat;\n\npublic class StorageUtils {\n    private static final int REQUEST_EXTERNAL_STORAGE = 1;\n    private static String[] PERMISSIONS_STORAGE = {\n            Manifest.permission.READ_EXTERNAL_STORAGE,\n            Manifest.permission.WRITE_EXTERNAL_STORAGE\n    };\n\n    /**\n     * Checks if the app has permission to write to device storage\n     *\n     * If the app does not has permission then the user will be prompted to grant permissions\n     *\n     * @param activity\n     */\n    public static boolean verifyStoragePermissions(Activity activity) {\n        // Check if we have write permission\n        int permission = ActivityCompat.checkSelfPermission(activity, Manifest.permission.WRITE_EXTERNAL_STORAGE);\n\n        if (permission != PackageManager.PERMISSION_GRANTED) {\n            // We don't have permission so prompt the user\n            ActivityCompat.requestPermissions(\n                    activity,\n                    PERMISSIONS_STORAGE,\n                    REQUEST_EXTERNAL_STORAGE\n            );\n            return true;\n        }\n        return false;\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/StringUtils.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class StringUtils {\n\n    public static String replaceAll(String input, String replacement, Pattern pattern) {\n        return pattern.matcher(input).replaceAll(replacement);\n    }\n\n    public static String replaceAllChars(String input, char[] badChars, char newChar) {\n        if (badChars == null || badChars.length == 0)\n            return input;\n        int inputLength = input.length();\n        int replacementLenght = badChars.length;\n        boolean modified = false;\n        char[] buffer = new char[inputLength];\n        input.getChars(0, inputLength, buffer, 0);\n        for (int inputIdx = 0; inputIdx < inputLength; inputIdx++) {\n            char current = buffer[inputIdx];\n            for (int replacementIdx = 0; replacementIdx < replacementLenght; replacementIdx++) {\n                if (current == badChars[replacementIdx]) {\n                    buffer[inputIdx] = newChar;\n                    modified = true;\n                    break;\n                }\n            }\n        }\n        return modified ? new String(buffer) : input;\n    }\n\n    public static String runtimeIntegerToString(int runtime){\n\n        StringBuilder sb = new StringBuilder();\n        double f = (double)(runtime)/60;\n        String hour = Integer.toString((int)(Math.floor(f)));\n        String mins = Integer.toString(runtime%60);\n        if(hour.equals(\"0\")){\n            sb.append(mins).append(\"m\");\n        }else {\n            sb.append(hour).append(\"h \").append(mins).append(\"m\");\n\n        }\n        return sb.toString();\n    }\n    private StringUtils() {\n    }\n\n    final public static Pattern TMDB_LINK_PATTERN_MOVIE = Pattern.compile(\"(.*)(themoviedb\\\\.org\\\\/movie\\\\/(\\\\d+))\");\n    public static long tmdbIdExtractor_FromLink(String input) {\n        long id = 0;\n        System.out.println(\"input to change tmdb\"+input);\n        Matcher m = TMDB_LINK_PATTERN_MOVIE.matcher(input);\n        if (m.matches()) {\n            id = Long.parseLong(m.group(3));\n            System.out.println(\"input to change tmdb\"+id);\n            return id;\n        }\n        return id;\n    }\n    final public static Pattern TMDB_LINK_PATTERN_TV = Pattern.compile(\"(.*)(themoviedb\\\\.org\\\\/tv\\\\/(\\\\d+))\");\n\n    public static long tmdbIdExtractor_FromLink_TV(String input) {\n        long id = 0;\n        System.out.println(\"input to change tmdb\"+input);\n        Matcher m = TMDB_LINK_PATTERN_TV.matcher(input);\n        if (m.matches()) {\n            id = Long.parseLong(m.group(3));\n            System.out.println(\"input to change tmdb\"+input);\n            return id;\n        }\n        return id;\n    }\n}\n\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/UpdateUtils.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport androidx.appcompat.app.AppCompatActivity;\n\nimport com.theflexproject.thunder.R;\nimport com.theflexproject.thunder.fragments.UpdateAppFragment;\nimport com.theflexproject.thunder.model.GitHubResponse;\n\nimport java.io.IOException;\nimport java.util.concurrent.Executors;\n\npublic class UpdateUtils {\n    public static void checkForUpdates(AppCompatActivity appCompatActivity){\n        Executors.newSingleThreadExecutor().execute(new Runnable() {\n            @Override\n            public void run() {\n                try {\n                    GitHubResponse[] gitHubResponses = new CheckForUpdates().checkForUpdates();\n                    if (gitHubResponses != null) {\n                        UpdateAppFragment updateAppFragment = new UpdateAppFragment(gitHubResponses);\n                        appCompatActivity.getSupportFragmentManager().beginTransaction().add(R.id.container , updateAppFragment).addToBackStack(null).commit();\n                    }\n                } catch (IOException e) {\n                    e.printStackTrace();\n                }\n            }\n        });\n    }\n\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/downloadUtils.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport java.io.DataInputStream;\nimport java.io.DataOutputStream;\nimport java.io.File;\nimport java.io.FileNotFoundException;\nimport java.io.FileOutputStream;\nimport java.io.IOException;\nimport java.net.URL;\nimport java.net.URLConnection;\n\npublic class downloadUtils {\n    private static void downloadFile(String url, File outputFile) {\n        try {\n            URL u = new URL(url);\n            URLConnection conn = u.openConnection();\n            int contentLength = conn.getContentLength();\n\n            DataInputStream stream = new DataInputStream(u.openStream());\n\n            byte[] buffer = new byte[contentLength];\n            stream.readFully(buffer);\n            stream.close();\n\n            DataOutputStream fos = new DataOutputStream(new FileOutputStream(outputFile));\n\n            fos.write(buffer);\n            fos.flush();\n            fos.close();\n        } catch(FileNotFoundException e) {\n            return; // swallow a 404\n        } catch (IOException e) {\n            return; // swallow a 404\n        }\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/imageVotesComparator.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport com.theflexproject.thunder.model.tmdbImages.Logo;\n\nimport java.util.Comparator;\n\npublic class imageVotesComparator implements Comparator<Logo> {\n    @Override\n    public int compare(Logo o1 , Logo o2) {\n        return o2.getVote_count() - o1.getVote_count();\n    }\n}\n"
  },
  {
    "path": "app/src/main/java/com/theflexproject/thunder/utils/sizetoReadablesize.java",
    "content": "package com.theflexproject.thunder.utils;\n\nimport java.text.CharacterIterator;\nimport java.text.StringCharacterIterator;\n\npublic class sizetoReadablesize {\n\n    public static String humanReadableByteCountBin(long bytes) {\n        long absB = bytes == Long.MIN_VALUE ? Long.MAX_VALUE : Math.abs(bytes);\n        if (absB < 1024) {\n            return bytes + \" B\";\n        }\n        long value = absB;\n        CharacterIterator ci = new StringCharacterIterator(\"KMGTPE\");\n        for (int i = 40; i >= 0 && absB > 0xfffccccccccccccL >> i; i -= 10) {\n            value >>= 10;\n            ci.next();\n        }\n        value *= Long.signum(bytes);\n        return String.format(\"%.1f %cB\", value / 1024.0, ci.current());\n    }\n}"
  },
  {
    "path": "app/src/main/res/anim/fade_in.xml",
    "content": "<set xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:ordering=\"together\"\n    android:fillAfter=\"false\" >\n\n<!--    <scale-->\n<!--        android:startOffset=\"300\"-->\n<!--        android:duration=\"400\"-->\n<!--        android:fromXScale=\"0.9\"-->\n<!--        android:fromYScale=\"0.9\"-->\n<!--        android:pivotX=\"50%\"-->\n<!--        android:pivotY=\"50%\"-->\n<!--        android:toXScale=\"1\"-->\n<!--        android:toYScale=\"1\"-->\n<!--        android:interpolator=\"@android:interpolator/accelerate_decelerate\"/>-->\n    <alpha\n        android:duration=\"500\"\n        android:fromAlpha=\"0.0\"\n        android:interpolator=\"@android:interpolator/accelerate_decelerate\"\n        android:toAlpha=\"1.0\" />\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/fade_out.xml",
    "content": "<set xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:fillAfter=\"true\"\n    android:ordering=\"together\">\n\n<!--    <scale-->\n<!--        android:startOffset=\"300\"-->\n<!--        android:duration=\"400\"-->\n<!--        android:fromXScale=\"1.0\"-->\n<!--        android:fromYScale=\"1.0\"-->\n<!--        android:pivotX=\"50%\"-->\n<!--        android:pivotY=\"50%\"-->\n<!--        android:toXScale=\"0.85\"-->\n<!--        android:toYScale=\"0.85\"-->\n<!--        android:interpolator=\"@android:interpolator/accelerate_decelerate\"/>-->\n\n    <alpha\n        android:duration=\"300\"\n        android:fromAlpha=\"1.0\"\n        android:interpolator=\"@android:interpolator/accelerate_decelerate\"\n        android:toAlpha=\"0.0\" />\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/from_left.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <translate\n        android:fromXDelta=\"-100%\"\n        android:toXDelta=\"0%\"\n        android:duration=\"300\"\n        android:interpolator=\"@android:interpolator/accelerate_decelerate\"/>\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/from_right.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <translate\n        android:fromXDelta=\"100%\"\n        android:toXDelta=\"0%\"\n        android:duration=\"300\"\n        android:interpolator=\"@android:interpolator/accelerate_decelerate\"/>\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/pop_in.xml",
    "content": "<set xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:fillAfter=\"true\" >\n\n    <scale\n        android:duration=\"300\"\n        android:fromXScale=\"0.9\"\n        android:fromYScale=\"0.9\"\n        android:pivotX=\"50%\"\n        android:pivotY=\"50%\"\n        android:toXScale=\"1\"\n        android:toYScale=\"1\" >\n    </scale>\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/to_left.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <translate\n        android:fromXDelta=\"0%\"\n        android:toXDelta=\"-100%\"\n        android:duration=\"300\"\n        android:interpolator=\"@android:interpolator/accelerate_decelerate\"/>\n\n</set>"
  },
  {
    "path": "app/src/main/res/anim/to_right.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <translate\n        android:fromXDelta=\"0%\"\n        android:toXDelta=\"100%\"\n        android:duration=\"300\"\n        android:interpolator=\"@android:interpolator/accelerate_decelerate\"/>\n\n</set>"
  },
  {
    "path": "app/src/main/res/color/about_item_bg_color.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_pressed=\"true\"\n        android:color=\"@color/black85\"/> <!-- pressed -->\n    <item android:state_focused=\"true\"\n        android:color=\"@color/blue80\"/> <!-- focused -->\n    <item android:color=\"@color/black85\"/> <!-- default -->\n</selector>\n"
  },
  {
    "path": "app/src/main/res/color/button_text_color.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_pressed=\"true\"\n        android:color=\"@color/black\"/> <!-- pressed -->\n    <item android:state_focused=\"true\"\n        android:color=\"@color/red\"/> <!-- focused -->\n    <item android:color=\"@color/black\"/> <!-- default -->\n</selector>\n"
  },
  {
    "path": "app/src/main/res/color/delete_button_color.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_pressed=\"true\"\n        android:color=\"@color/red\"/> <!-- pressed -->\n    <item android:state_focused=\"true\"\n        android:color=\"@color/blue\"/> <!-- focused -->\n    <item android:color=\"@color/red\"/> <!-- default -->\n</selector>\n"
  },
  {
    "path": "app/src/main/res/color/download_button_bg_color.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_pressed=\"true\"\n        android:color=\"@color/white\"/> <!-- pressed -->\n    <item android:state_focused=\"true\"\n        android:color=\"@color/red\"/> <!-- focused -->\n    <item android:color=\"@color/white\"/> <!-- default -->\n</selector>\n"
  },
  {
    "path": "app/src/main/res/color/episode_item_bg_color.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_pressed=\"true\"\n        android:color=\"#40000000\"/> <!-- pressed -->\n    <item android:state_focused=\"true\"\n        android:color=\"@color/blue80\"/> <!-- focused -->\n    <item android:color=\"#40000000\"/> <!-- default -->\n</selector>\n"
  },
  {
    "path": "app/src/main/res/color/media_item_bg_color.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_pressed=\"true\"\n        android:color=\"@color/transparent\"/> <!-- pressed -->\n    <item android:state_focused=\"true\"\n        android:color=\"@color/blue80\">\n    </item>\n    <item android:color=\"@color/transparent\"/> <!-- default -->\n</selector>\n\n"
  },
  {
    "path": "app/src/main/res/color/switch_bg_color.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_checked=\"true\"\n        android:color=\"@color/blue\"/> <!-- pressed -->\n    <item android:state_checked=\"false\"\n        android:color=\"#B6B6B6\"/> <!-- focused -->\n    <item android:color=\"@color/transparent\"/> <!-- default -->\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/bottom_navigation_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n<solid android:color=\"#00000000\" />\n<corners android:radius=\"20dp\"\n    android:bottomLeftRadius=\"0dp\"\n    android:bottomRightRadius=\"0dp\"/>\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/bottom_navigation_color_selector.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n        <item android:color=\"@color/blue\" android:state_pressed=\"true\" />\n        <item  android:color=\"@color/white\" android:state_focused=\"true\"/>\n        <item android:color=\"@color/blue\" android:state_checked=\"true\" >\n                <layer-list>\n                        <item android:gravity=\"bottom|center_horizontal\">\n                                <shape android:shape=\"rectangle\">\n                                        <size android:width=\"10dp\" android:height=\"55dp\" />\n                                        <solid android:color=\"@color/red\" />\n                                        <corners android:bottomLeftRadius=\"3dp\" android:bottomRightRadius=\"3dp\" />\n                                </shape>\n                        </item>\n                </layer-list>\n        </item>\n        <item android:color=\"#E1E1E1\" />\n\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/bottom_navigation_item_background.xml",
    "content": "<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_checked=\"true\">\n        <layer-list>\n            <item android:gravity=\"bottom\">\n                <shape android:shape=\"rectangle\">\n                    <size android:height=\"4dp\" />\n                    <gradient android:startColor=\"@color/blue\" android:angle=\"45\" android:endColor=\"@color/purple_200\" />\n                    <corners android:radius=\"4dp\"/>\n                </shape>\n            </item>\n        </layer-list>\n    </item>\n    <item android:state_focused=\"true\">\n        <layer-list>\n            <item android:gravity=\"bottom\">\n                <shape android:shape=\"rectangle\">\n                    <size android:height=\"4dp\" />\n                    <gradient android:startColor=\"@color/purple_200\" android:angle=\"45\" android:endColor=\"@color/blue\" />\n                    <corners android:radius=\"4dp\"/>\n                </shape>\n            </item>\n        </layer-list>\n    </item>\n</selector>\n"
  },
  {
    "path": "app/src/main/res/drawable/discord.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"512dp\"\n    android:height=\"512dp\"\n    android:viewportWidth=\"512\"\n    android:viewportHeight=\"512\">\n    <path\n        android:pathData=\"M0,0h512v512h-512z\"\n        android:fillColor=\"#00000000\"/>\n    <path\n        android:fillColor=\"#5865f2\"\n        android:pathData=\"m386 137c-24-11-49.5-19-76.3-23.7c-.5 0-1 0-1.2.6c-3.3 5.9-7 13.5-9.5 19.5c-29-4.3-57.5-4.3-85.7 0c-2.6-6.2-6.3-13.7-10-19.5c-.3-.4-.7-.7-1.2-.6c-23 4.6-52.4 13-76 23.7c-.2 0-.4.2-.5.4c-49 73-62 143-55 213c0 .3.2.7.5 1c32 23.6 63 38 93.6 47.3c.5 0 1 0 1.3-.4c7.2-9.8 13.6-20.2 19.2-31.2c.3-.6 0-1.4-.7-1.6c-10-4-20-8.6-29.3-14c-.7-.4-.8-1.5 0-2c2-1.5 4-3 5.8-4.5c.3-.3.8-.3 1.2-.2c61.4 28 128 28 188 0c.4-.2.9-0.1 1.2.1c1.9 1.6 3.8 3.1 5.8 4.6c.7.5.6 1.6 0 2c-9.3 5.5-19 10-29.3 14c-.7.3-1 1-.6 1.7c5.6 11 12.1 21.3 19 31c.3.4.8.6 1.3.4c30.6-9.5 61.7-23.8 93.8-47.3c.3-.2.5-.5.5-1c7.8-80.9-13.1-151-55.4-213c0-.2-.3-.4-.5-.4Zm-192 171c-19 0-34-17-34-38c0-21 15-38 34-38c19 0 34 17 34 38c0 21-15 38-34 38zm125 0c-19 0-34-17-34-38c0-21 15-38 34-38c19 0 34 17 34 38c0 21-15 38-34 38z\" />\n</vector>"
  },
  {
    "path": "app/src/main/res/drawable/gradient_top_bottom_bg.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <gradient\n        android:angle=\"90\"\n        android:endColor=\"@android:color/transparent\"\n        android:centerColor=\"@color/transparent\"\n        android:startColor=\"#000000\"\n        android:centerY=\"0.8\"\n        android:type=\"linear\" />\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/ic_add.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"24dp\"\n    android:height=\"24dp\"\n\n    android:viewportWidth=\"48\"\n    android:viewportHeight=\"48\">\n  <path\n      android:fillColor=\"#FFFFFF\"\n      android:pathData=\"M22.5,38V25.5H10v-3h12.5V10h3v12.5H38v3H25.5V38Z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_add_box.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFFFF\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M19,3L5,3c-1.11,0 -2,0.9 -2,2v14c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,5c0,-1.1 -0.9,-2 -2,-2zM17,13h-4v4h-2v-4L7,13v-2h4L11,7h2v4h4v2z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_change.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFFFF\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10s10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8s8,3.59 8,8S16.41,20 12,20zM16.17,14.76l-1.1,-1.1c0.71,-1.33 0.53,-3.01 -0.59,-4.13C13.79,8.84 12.9,8.5 12,8.5c-0.03,0 -0.06,0.01 -0.09,0.01L13,9.6l-1.06,1.06L9.11,7.83L11.94,5L13,6.06l-0.96,0.96c1.27,0.01 2.53,0.48 3.5,1.44C17.24,10.17 17.45,12.82 16.17,14.76zM14.89,16.17L12.06,19L11,17.94l0.95,-0.95c-1.26,-0.01 -2.52,-0.5 -3.48,-1.46c-1.71,-1.71 -1.92,-4.35 -0.64,-6.29l1.1,1.1c-0.71,1.33 -0.53,3.01 0.59,4.13c0.7,0.7 1.63,1.04 2.56,1.01L11,14.4l1.06,-1.06L14.89,16.17z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_delete.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFEFE\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M6,19c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2L18,7L6,7v12zM8,9h8v10L8,19L8,9zM15.5,4l-1,-1h-5l-1,1L5,4v2h14L19,4z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_download.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#fff\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M19,12v7L5,19v-7L3,12v7c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2v-7h-2zM13,12.67l2.59,-2.58L17,11.5l-5,5 -5,-5 1.41,-1.41L11,12.67L11,3h2z\"/>\n\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_edit.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"24dp\"\n    android:height=\"24dp\"\n    android:viewportWidth=\"489.7\"\n    android:viewportHeight=\"489.7\">\n  <path\n      android:fillColor=\"#FFFFFF\"\n      android:pathData=\"M461.9,145.9l11.5,-11.3l2.9,-2.8l1.4,-1.4c0.6,-0.6 1.6,-1.6 2.4,-2.5c3.3,-3.7 6.4,-8.9 8,-14.1c0.9,-2.9 1.4,-6.1 1.5,-9.1l0.1,-3.8c0,-1 -0.2,-1.9 -0.6,-2.9c-1.1,-2.4 -2.6,-5.9 -4.4,-9.3c-1.8,-3.5 -4,-6.8 -5.6,-8.4c-0.5,-0.6 -1,-1.1 -1.5,-1.4c-0.4,-0.3 -0.8,-0.4 -1.1,-0.5c-0.7,-0.2 -1.3,-0.1 -1.8,0.1c-1,0.6 -1.7,1.6 -1.8,4.1c-0.5,4.4 -1.1,10.9 -1.1,18.1c0,0.5 0,1 0,1.5v0.6c-0.9,3.1 -2.3,6.1 -4.3,8.4c-2,2.4 -4.5,4 -7.1,5.8c-5.2,3.6 -10.4,7.4 -15.6,11.4c-10.5,7.9 -21.1,16.3 -31.7,25.2c-21.3,17.7 -42.8,37.2 -63.8,57.4c-25.7,24.6 -51.3,49.1 -77,73.7l-38.9,37.2l-9.6,9.3l-2.2,2.1c0,0 -0.2,0.1 -0.3,0.1l-0.6,0.1l-25.4,4.9c-17.5,3.5 -34.9,6.9 -52.4,10.4l-8.4,1.7c3.4,-16.5 6.9,-33.1 10.3,-49.6l5.2,-26.3l1.3,-6.6l0.6,-3.3l0.1,-0.4v-0.2v-0.1c0.1,-0.4 -0.1,0.5 -0.1,0.3s0.2,-0.8 0.1,-0.4c-0.2,0.6 -0.1,0.3 -0.1,0.4c-0.1,0 0.2,-0.5 0.2,-0.6l0,0l0,0l0.3,-0.3l1.2,-1.2l2.3,-2.4c12.7,-12.3 25.5,-24.5 38.2,-36.8c40.1,-39.1 80.2,-78.4 119.7,-118.1c19.7,-19.9 39.3,-39.9 58.7,-60l7.3,-7.6c1.2,-1.3 1.9,-2 2.3,-2.4h0.3c3.4,0.3 6.2,0.6 8.4,1.1c1.1,0.2 2,0.4 2.7,0.7h0.1c-0.2,-0.1 0.4,0.2 -0.3,-0.1h0.1l0.2,0.1l0.6,0.2l1.2,0.5l2.4,1c3,1.3 5.1,2.2 7.9,3.6c5.3,2.7 10.3,5.8 15.1,9.4c21.6,15.9 33.9,37.8 41.7,32.1c3.3,-2.6 4.3,-9.9 1.1,-20.4c-3.2,-10.4 -10.9,-24.2 -24.9,-36.1c-6.2,-5.3 -13,-10 -20.1,-14c-1.8,-1 -3.8,-2 -5.6,-3c-2,-1.1 -3.4,-1.6 -5.2,-2.5l-1.2,-0.6l-1,-0.5l-0.9,-0.4c-1.2,-0.5 -2.4,-0.9 -3.6,-1.3c-2.4,-0.7 -4.6,-1.3 -6.8,-1.7c-2.1,-0.4 -4.2,-0.8 -6.1,-1.1l-2.8,-0.4l-1.6,-0.2c-0.9,-0.1 -1.8,-0.2 -2.7,-0.2c-3.6,-0.1 -7.6,0.5 -11.1,1.8s-6.5,3.1 -8.8,5c-0.6,0.4 -1.2,1 -1.9,1.6l-1.4,1.3l-2,1.9l-4,3.8l-8,7.6c-21.2,20.3 -42.3,40.9 -63,61.7c-33.3,33.6 -66.2,67.3 -99.1,101.3l-49.2,50.9l-3.2,3.3c-1.8,1.9 -3.3,3.9 -4.6,6c-1.2,2.1 -2.3,4.3 -3.1,6.9c-1,3.4 -0.9,4.1 -1.3,5.7l-3.4,17.4l-6.9,34.7c-2.8,10.2 -5.7,20.4 -8.5,30.7l-2.1,7.7l-1,3.9l-0.5,1.9c-0.2,1 -0.6,2.7 -0.7,4.1c-0.6,5.9 1,13.5 6,19.2c2.4,2.8 5.6,5.1 8.9,6.5s6.7,2.1 10.1,2.2c1,0 2,0 3,-0.1l1.6,-0.2l0.5,-0.1l1.4,-0.2l1,-0.2l3.9,-0.7l7.9,-1.3l15.7,-2.7c10.5,-1.9 21,-3.8 31.5,-5.7c10.5,-2 21,-4 31.5,-6l7.9,-1.5c4.6,-0.9 10,-3 14.5,-6.1c1.1,-0.8 2.2,-1.6 3.1,-2.4l1.6,-1.4l0.9,-0.9l2.9,-2.8l5.7,-5.6c15.2,-15.1 30.5,-30.1 45.7,-45.2c30.3,-30.4 60.6,-60.9 90.9,-91.3c15.2,-15.2 30.4,-30.4 45.5,-45.5L461.9,145.9zM380.6,34.81L380.6,34.81c-0.3,0 -0.6,0 -0.7,-0.1L380.6,34.81zM121,353.3c-0.5,0.1 0.1,0 0.4,-0.1c0.1,0 0.1,0 0.2,0L121,353.3z\"/>\n  <path\n      android:fillColor=\"#FFFFFF\"\n      android:pathData=\"M400.9,282.4c-4.9,-7.7 -9,2.3 -12.1,17.3c-5.2,24.7 -8.9,52 -11.4,80.8c-1.3,14.4 -2.3,29.2 -3,44.1c-0.2,3.7 -0.3,7.5 -0.5,11.3l-0.2,5.7v0.7v0.4c0,-0.3 0,0.7 0,-0.6l0,0v0.1v0.2l-0.1,1.4c-0.1,1.3 -0.2,1 -0.3,1.3c-0.8,3.3 -3.4,6.5 -6.5,8.1c-2,1 -3.8,1.4 -6.4,1.3l-13.8,-0.3l-27.5,-0.6l-55.1,-1.2c-36.7,-0.7 -73.5,-1.3 -110.2,-2c-36.8,-0.5 -73.6,-0.9 -110.4,-0.9H43h-0.4l-1.7,-0.1c-0.1,-0.2 0.5,0 0,-0.1c-0.6,-0.1 -1.1,-0.4 -1.7,-0.6c-1,-0.6 -2.1,-1.5 -2.7,-2.5c-0.7,-1 -1,-2.2 -1.1,-3.5l-0.2,-13.8c-0.2,-18.4 -0.5,-36.9 -0.9,-55.4c0.4,-18.3 0.7,-36.5 1.1,-54.8c0.8,-58 1.4,-115.9 1.2,-173.8l-0.1,-20.7c0,-2 0.7,-3.3 2,-4.6c0.6,-0.6 1.4,-1 2.2,-1.3c0.4,-0.1 0.8,-0.2 1.3,-0.3c0.1,0 0.2,0 0.3,0c0,0 0.8,0 1.1,0h2.7l21.7,-0.3c28.9,-0.5 57.8,-1.2 86.6,-2.3c32.8,-1.2 60,-5.8 57.6,-14.8c-2.2,-8.3 -25.5,-14.4 -59.1,-15.3c-30.2,-0.8 -60.6,-1.6 -91,-2.4l-11.4,-0.2l-5.7,-0.1c-1.1,0 -1.7,-0.1 -3.1,0c-1.5,0.1 -3.1,0.1 -4.6,0.3c-12.3,1.4 -23.8,8.5 -30.5,18.9c-1.7,2.6 -3.1,5.4 -4.1,8.3c-1.1,3 -1.8,5.7 -2.3,9.7l-0.1,1.3v0.7l-0.1,1.4v1.5v0.7v1.4v5.7v22.8c0.2,48.8 0.8,97.6 1.5,146.4l1.1,73.2l0.6,36.6l0.3,18.3l0.1,9.1v2.3c0,0.8 0,1.3 0.1,2.6c0.1,2.3 0.4,4.5 0.8,6.8c1.3,8.1 5.3,15.9 11.3,21.7c3,2.9 6.5,5.5 10.3,7.3c3.9,1.8 7.6,3.1 13,3.8l2,0.2l0.5,0.1h1.3l1,0.1l4.1,0.2l8.2,0.4l16.5,0.7c22,0.9 44,1.6 66,2.1c44.1,1 88.4,1.4 132.7,1.4c22.2,0 44.4,-0.1 66.5,-0.1l16.6,-0.1h4.2h2.3l3.6,-0.2c4.9,-0.5 9.7,-1.7 14.2,-3.6c9,-4 16.6,-10.8 21.4,-19.3c2.4,-4.3 4.1,-8.8 5.1,-13.7c0.3,-1.5 0.5,-2.9 0.6,-4.4c0.1,-0.9 0.1,-1.1 0.1,-1.5v-1l0.1,-2v-1v-2.1c-0.1,-44.4 -0.1,-88.7 0.5,-132.9C406.9,298.7 403.4,286.3 400.9,282.4z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_export.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFFFF\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M20,6h-8l-2,-2L4,4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,8c0,-1.1 -0.9,-2 -2,-2zM20,18L4,18L4,8h16v10zM8,13.01l1.41,1.41L11,12.84L11,17h2v-4.16l1.59,1.59L16,13.01 12.01,9 8,13.01z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_github.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"32dp\"\n    android:height=\"32dp\"\n    android:viewportWidth=\"32\"\n    android:viewportHeight=\"32\">\n  <path\n      android:fillColor=\"#ffffff\"\n      android:pathData=\"M16,0.396c-8.839,0 -16,7.167 -16,16 0,7.073 4.584,13.068 10.937,15.183 0.803,0.151 1.093,-0.344 1.093,-0.772 0,-0.38 -0.009,-1.385 -0.015,-2.719 -4.453,0.964 -5.391,-2.151 -5.391,-2.151 -0.729,-1.844 -1.781,-2.339 -1.781,-2.339 -1.448,-0.989 0.115,-0.968 0.115,-0.968 1.604,0.109 2.448,1.645 2.448,1.645 1.427,2.448 3.744,1.74 4.661,1.328 0.14,-1.031 0.557,-1.74 1.011,-2.135 -3.552,-0.401 -7.287,-1.776 -7.287,-7.907 0,-1.751 0.62,-3.177 1.645,-4.297 -0.177,-0.401 -0.719,-2.031 0.141,-4.235 0,0 1.339,-0.427 4.4,1.641 1.281,-0.355 2.641,-0.532 4,-0.541 1.36,0.009 2.719,0.187 4,0.541 3.043,-2.068 4.381,-1.641 4.381,-1.641 0.859,2.204 0.317,3.833 0.161,4.235 1.015,1.12 1.635,2.547 1.635,4.297 0,6.145 -3.74,7.5 -7.296,7.891 0.556,0.479 1.077,1.464 1.077,2.959 0,2.14 -0.02,3.864 -0.02,4.385 0,0.416 0.28,0.916 1.104,0.755 6.4,-2.093 10.979,-8.093 10.979,-15.156 0,-8.833 -7.161,-16 -16,-16z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_home.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"24dp\"\n    android:height=\"24dp\"\n    android:viewportWidth=\"24\"\n    android:viewportHeight=\"24\">\n  <path\n      android:fillColor=\"#FF000000\"\n      android:pathData=\"M4.5,20.5L4.5,9.25L12,3.625l7.5,5.625L19.5,20.5h-5.575v-6.7h-3.85v6.7ZM6,19h2.575v-6.7h6.85L15.425,19L18,19v-9l-6,-4.5L6,10ZM12,12.25Z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_import.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFFFF\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M19.35,10.04C18.67,6.59 15.64,4 12,4 9.11,4 6.6,5.64 5.35,8.04 2.34,8.36 0,10.91 0,14c0,3.31 2.69,6 6,6h13c2.76,0 5,-2.24 5,-5 0,-2.64 -2.05,-4.78 -4.65,-4.96zM17,13l-5,5 -5,-5h3V9h4v4h3z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_import_export.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFFFF\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M9,3L5,6.99h3L8,14h2L10,6.99h3L9,3zM16,17.01L16,10h-2v7.01h-3L15,21l4,-3.99h-3z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_info.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#ffffff\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13,17h-2v-6h2v6zM13,9h-2L11,7h2v2z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_library.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#000000\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M4,6L2,6v14c0,1.1 0.9,2 2,2h14v-2L4,20L4,6zM20,2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM12,14.5v-9l6,4.5 -6,4.5z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_list.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFFFF\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M4,10.5c-0.83,0 -1.5,0.67 -1.5,1.5s0.67,1.5 1.5,1.5 1.5,-0.67 1.5,-1.5 -0.67,-1.5 -1.5,-1.5zM4,4.5c-0.83,0 -1.5,0.67 -1.5,1.5S3.17,7.5 4,7.5 5.5,6.83 5.5,6 4.83,4.5 4,4.5zM4,16.5c-0.83,0 -1.5,0.68 -1.5,1.5s0.68,1.5 1.5,1.5 1.5,-0.68 1.5,-1.5 -0.67,-1.5 -1.5,-1.5zM7,19h14v-2L7,17v2zM7,13h14v-2L7,11v2zM7,5v2h14L21,5L7,5z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_next.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"@color/white\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M10,6L8.59,7.41 13.17,12l-4.58,4.59L10,18l6,-6z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_play.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"@color/white\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M8,5v14l11,-7z\"/>\n\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_play_rounded.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"24dp\"\n    android:height=\"24dp\"\n    android:viewportWidth=\"48\"\n    android:viewportHeight=\"48\">\n  <path\n      android:pathData=\"M13.75,8.412L38.167,21.117C39.759,21.945 40.379,23.908 39.55,25.5C39.242,26.092 38.759,26.575 38.167,26.883L13.75,39.588C12.158,40.416 10.195,39.797 9.367,38.205C9.126,37.742 9,37.227 9,36.705L9,11.295C9,9.5 10.455,8.045 12.25,8.045C12.698,8.045 13.14,8.138 13.549,8.316L13.75,8.412Z\"\n      android:fillColor=\"#212121\"\n      android:fillType=\"nonZero\" />\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_refresh.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#fff\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M17.65,6.35C16.2,4.9 14.21,4 12,4c-4.42,0 -7.99,3.58 -7.99,8s3.57,8 7.99,8c3.73,0 6.84,-2.55 7.73,-6h-2.08c-0.82,2.33 -3.04,4 -5.65,4 -3.31,0 -6,-2.69 -6,-6s2.69,-6 6,-6c1.66,0 3.14,0.69 4.22,1.78L13,11h7V4l-2.35,2.35z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_search.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"24dp\"\n    android:height=\"24dp\"\n    android:viewportWidth=\"24\"\n    android:viewportHeight=\"24\">\n  <path\n      android:fillColor=\"#FF000000\"\n      android:pathData=\"m19.55,20.575 l-6.3,-6.275q-0.75,0.625 -1.725,0.975 -0.975,0.35 -2,0.35 -2.575,0 -4.35,-1.775Q3.4,12.075 3.4,9.5q0,-2.55 1.775,-4.338 1.775,-1.787 4.35,-1.787 2.55,0 4.325,1.775 1.775,1.775 1.775,4.35 0,1.075 -0.35,2.05 -0.35,0.975 -0.95,1.7l6.275,6.275ZM9.525,14.125q1.925,0 3.263,-1.35 1.337,-1.35 1.337,-3.275 0,-1.925 -1.337,-3.275 -1.338,-1.35 -3.263,-1.35 -1.95,0 -3.287,1.35Q4.9,7.575 4.9,9.5q0,1.925 1.338,3.275 1.337,1.35 3.287,1.35Z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_settings.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFFFF\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/ic_update.xml",
    "content": "<vector android:height=\"24dp\" android:tint=\"#FFFFFF\"\n    android:viewportHeight=\"24\" android:viewportWidth=\"24\"\n    android:width=\"24dp\" xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <path android:fillColor=\"@android:color/white\" android:pathData=\"M21,10.12h-6.78l2.74,-2.82c-2.73,-2.7 -7.15,-2.8 -9.88,-0.1c-2.73,2.71 -2.73,7.08 0,9.79s7.15,2.71 9.88,0C18.32,15.65 19,14.08 19,12.1h2c0,1.98 -0.88,4.55 -2.64,6.29c-3.51,3.48 -9.21,3.48 -12.72,0c-3.5,-3.47 -3.53,-9.11 -0.02,-12.58s9.14,-3.47 12.65,0L21,3V10.12zM12.5,8v4.25l3.5,2.08l-0.72,1.21L11,13V8H12.5z\"/>\n</vector>\n"
  },
  {
    "path": "app/src/main/res/drawable/index_link_bg.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <solid android:color=\"#000000\" />\n    <corners android:radius=\"10dp\"/>\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/media_item_selector.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n<item\n    android:state_focused=\"true\">\n    <shape android:padding=\"10dp\" android:shape=\"rectangle\">\n        <solid android:color=\"#F43B3B\" />\n        <stroke android:width=\"2dp\" android:color=\"#ffa0a496\" />\n        <corners android:bottomLeftRadius=\"15dp\" android:bottomRightRadius=\"15dp\" android:topLeftRadius=\"15dp\" android:topRightRadius=\"15dp\" />\n    </shape>\n</item>\n<item android:state_enabled=\"true\">\n    <shape android:padding=\"10dp\"\n        android:shape=\"rectangle\">\n        <solid android:color=\"#D24242\" />\n        <corners android:bottomLeftRadius=\"15dp\" android:bottomRightRadius=\"15dp\" android:topLeftRadius=\"15dp\" android:topRightRadius=\"15dp\" />\n    </shape>\n</item>\n</selector>\n"
  },
  {
    "path": "app/src/main/res/drawable/oval.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item\n        android:left=\"5dp\"\n        android:right=\"5dp\"\n        android:top=\"5dp\"\n        android:bottom=\"5dp\">\n\n        <shape\n            android:tint=\"#CCCCCC\"\n            android:shape=\"rectangle\">\n\n            <corners\n                android:radius=\"20dp\" />\n\n            <size\n                android:height=\"4dp\"\n                android:width=\"4dp\" />\n\n        </shape>\n    </item>\n</layer-list>\n"
  },
  {
    "path": "app/src/main/res/drawable/play_shape.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n<item android:state_focused=\"true\">\n    <ripple android:color=\"?android:colorControlHighlight\">\n        <item>\n            <shape android:shape=\"oval\">\n                <solid android:color=\"#30FFFFFF\" />\n           <size android:width=\"50dp\" android:height=\"50dp\"/>\n            </shape>\n        </item>\n    </ripple>\n</item>\n<item>\n    <ripple android:color=\"?android:colorControlHighlight\">\n        <item>\n            <shape android:shape=\"oval\">\n                <solid android:color=\"#30FFFFFF\" />\n            </shape>\n        </item>\n    </ripple>\n</item>\n\n</selector>\n"
  },
  {
    "path": "app/src/main/res/drawable/rounded_controls_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:shape=\"rectangle\">\n    <solid android:color=\"@color/ui_controls_background\" />\n    <corners android:radius=\"10dp\" />\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/rounded_corner_labels.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:shape=\"rectangle\">\n    <solid android:color=\"@color/black\" />\n    <corners android:radius=\"10dp\" />\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/search_bg.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_focused=\"true\">\n        <shape android:shape=\"rectangle\">\n            <solid android:color=\"@color/blue80\" />\n            <corners android:bottomLeftRadius=\"10dp\" android:bottomRightRadius=\"10dp\" android:topLeftRadius=\"10dp\" android:topRightRadius=\"10dp\" />\n        </shape>\n    </item>\n    <item>\n        <shape>\n            <solid android:color=\"#10FFFFFF\" />\n            <corners android:radius=\"10dp\" />\n        </shape>\n    </item>\n\n\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/splash_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item\n        android:drawable=\"@drawable/splash_bg_gradient\"/>\n    <item>\n        <bitmap android:gravity=\"center\"\n            android:src=\"@drawable/ic_launcher_round\"/>\n    </item>\n</layer-list>"
  },
  {
    "path": "app/src/main/res/drawable/splash_bg_gradient.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <gradient\n        android:type=\"linear\"\n        android:angle=\"135\"\n        android:startColor=\"@color/black\"\n        android:endColor=\"#222222\" />\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/switch_ios_selector.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_checked=\"true\">\n        <shape android:dither=\"true\" android:shape=\"rectangle\" android:useLevel=\"false\" android:visible=\"true\">\n            <solid android:color=\"@color/white\"/>\n            <corners android:radius=\"12.5dp\" />\n            <size android:width=\"20dp\" android:height=\"20dp\" />\n            <stroke android:width=\"3dp\" android:color=\"#0000ffff\" />\n        </shape>\n    </item>\n    <item android:state_checked=\"false\">\n        <shape android:dither=\"true\" android:shape=\"rectangle\" android:useLevel=\"false\" android:visible=\"true\">\n            <solid android:color=\"@color/white\"/>\n            <corners android:radius=\"12.5dp\" />\n            <size android:width=\"20dp\" android:height=\"20dp\" />\n            <stroke android:width=\"3dp\" android:color=\"#0000ffff\" />\n        </shape>\n    </item>\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/switch_ios_track.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_checked=\"true\" android:state_checkable=\"true\" android:state_enabled=\"true\"  android:state_active=\"true\" android:state_activated=\"true\">\n        <shape android:dither=\"true\" android:shape=\"rectangle\" android:useLevel=\"false\" android:visible=\"true\">\n            <solid android:color=\"#00A3FF\"/>\n            <corners android:radius=\"25dp\" />\n            <size android:width=\"35dp\" android:height=\"20dp\" />\n        </shape>\n    </item>\n\n    <item android:state_checked=\"false\" android:state_active=\"false\" android:state_activated=\"false\">\n        <shape android:dither=\"true\" android:shape=\"rectangle\" android:useLevel=\"false\" android:visible=\"true\">\n            <solid android:color=\"#B6B6B6\"/>\n            <corners android:radius=\"25dp\" />\n            <size android:width=\"35dp\" android:height=\"20dp\" />\n        </shape>\n    </item>\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/tab_indicator_bg.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <gradient android:startColor=\"@color/blue\" android:angle=\"45\" android:endColor=\"@color/purple_200\" />\n    <corners android:radius=\"10dp\"/>\n    <size android:height=\"4dp\"/>\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/tab_item_selector.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:state_focused=\"true\">\n        <shape android:shape=\"rectangle\">\n            <solid android:color=\"@color/blue80\" />\n            <corners android:bottomLeftRadius=\"10dp\" android:bottomRightRadius=\"10dp\" android:topLeftRadius=\"10dp\" android:topRightRadius=\"10dp\" />\n        </shape>\n    </item>\n    <item android:state_pressed=\"true\" android:state_selected=\"true\">\n        <shape android:padding=\"10dp\"\n            android:shape=\"rectangle\">\n            <solid android:color=\"@color/transparent\" />\n            <corners android:bottomLeftRadius=\"15dp\" android:bottomRightRadius=\"15dp\" android:topLeftRadius=\"15dp\" android:topRightRadius=\"15dp\" />\n        </shape>\n    </item>\n</selector>\n"
  },
  {
    "path": "app/src/main/res/drawable/tab_layout_bg.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:shape=\"rectangle\">\n    <solid android:color=\"@color/transparent\" />\n    <corners android:radius=\"6dp\" />\n</shape>"
  },
  {
    "path": "app/src/main/res/drawable/tabs_selector.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:drawable=\"@color/blue\" android:state_focused=\"true\"/>\n    <item android:drawable=\"@color/transparent\"/>\n</selector>"
  },
  {
    "path": "app/src/main/res/drawable/telegram.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"512dp\"\n    android:height=\"512dp\"\n    android:viewportWidth=\"512\"\n    android:viewportHeight=\"512\">\n    <path\n        android:pathData=\"M0,0h512v512h-512z\"\n        android:fillColor=\"#00000000\"/>\n    <path\n        android:pathData=\"M199,404c-11,0 -10,-4 -13,-14l-32,-105 245,-144\"\n        android:fillColor=\"@color/transparent\"/>\n    <path\n        android:pathData=\"M199,404c7,0 11,-4 16,-8l45,-43 -56,-34\"\n        android:fillColor=\"#a9c9dd\"/>\n    <path\n        android:pathData=\"M204,319l135,99c14,9 26,4 30,-14l55,-258c5,-22 -9,-32 -24,-25L79,245c-21,8 -21,21 -4,26l83,26 190,-121c9,-5 17,-3 11,4\"\n        android:fillColor=\"#f6fbfe\"/>\n</vector>"
  },
  {
    "path": "app/src/main/res/drawable/tmdb.xml",
    "content": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\" xmlns:aapt=\"http://schemas.android.com/aapt\"\n    android:viewportWidth=\"185.04\"\n    android:viewportHeight=\"133.4\"\n    android:width=\"185.04dp\"\n    android:height=\"133.4dp\">\n    <path\n        android:pathData=\"M51.06 66.7h0A17.67 17.67 0 0 1 68.73 49h-0.1A17.67 17.67 0 0 1 86.3 66.7h0A17.67 17.67 0 0 1 68.63 84.37h0.1A17.67 17.67 0 0 1 51.06 66.7Zm82.67 -31.33h32.9A17.67 17.67 0 0 0 184.3 17.7h0A17.67 17.67 0 0 0 166.63 0h-32.9A17.67 17.67 0 0 0 116.06 17.7h0A17.67 17.67 0 0 0 133.73 35.37Zm-113 98h63.9A17.67 17.67 0 0 0 102.3 115.7h0A17.67 17.67 0 0 0 84.63 98H20.73A17.67 17.67 0 0 0 3.06 115.7h0A17.67 17.67 0 0 0 20.73 133.37Zm83.92 -49h6.25L125.5 49h-8.35l-8.9 23.2h-0.1L99.4 49H90.5Zm32.45 0h7.8V49h-7.8Zm22.2 0h24.95V77.2H167.1V70h15.35V62.8H167.1V56.2h16.25V49h-24ZM10.1 35.4h7.8V6.9H28V0H0V6.9H10.1ZM39 35.4h7.8V20.1H61.9V35.4h7.8V0H61.9V13.2H46.75V0H39Zm41.25 0h25V28.2H88V21h15.35V13.8H88V7.2h16.25V0h-24Zm-79 49H9V57.25h0.1l9 27.15H24l9.3 -27.15h0.1V84.4h7.8V49H29.45l-8.2 23.1h-0.1L13 49H1.2Zm112.09 49H126a24.59 24.59 0 0 0 7.56 -1.15 19.52 19.52 0 0 0 6.35 -3.37 16.37 16.37 0 0 0 4.37 -5.5A16.91 16.91 0 0 0 146 115.8a18.5 18.5 0 0 0 -1.68 -8.25 15.1 15.1 0 0 0 -4.52 -5.53A18.55 18.55 0 0 0 133.07 99 33.54 33.54 0 0 0 125 98H113.29Zm7.81 -28.2h4.6a17.43 17.43 0 0 1 4.67 0.62 11.68 11.68 0 0 1 3.88 1.88 9 9 0 0 1 2.62 3.18 9.87 9.87 0 0 1 1 4.52 11.92 11.92 0 0 1 -1 5.08 8.69 8.69 0 0 1 -2.67 3.34 10.87 10.87 0 0 1 -4 1.83 21.57 21.57 0 0 1 -5 0.55H121.1Zm36.14 28.2h14.5a23.11 23.11 0 0 0 4.73 -0.5 13.38 13.38 0 0 0 4.27 -1.65 9.42 9.42 0 0 0 3.1 -3 8.52 8.52 0 0 0 1.2 -4.68 9.16 9.16 0 0 0 -0.55 -3.2 7.79 7.79 0 0 0 -1.57 -2.62 8.38 8.38 0 0 0 -2.45 -1.85 10 10 0 0 0 -3.18 -1v-0.1a9.28 9.28 0 0 0 4.43 -2.82 7.42 7.42 0 0 0 1.67 -5 8.34 8.34 0 0 0 -1.15 -4.65 7.88 7.88 0 0 0 -3 -2.73 12.9 12.9 0 0 0 -4.17 -1.3 34.42 34.42 0 0 0 -4.63 -0.32h-13.2Zm7.8 -28.8h5.3a10.79 10.79 0 0 1 1.85 0.17 5.77 5.77 0 0 1 1.7 0.58 3.33 3.33 0 0 1 1.23 1.13 3.22 3.22 0 0 1 0.47 1.82 3.63 3.63 0 0 1 -0.42 1.8 3.34 3.34 0 0 1 -1.13 1.2 4.78 4.78 0 0 1 -1.57 0.65 8.16 8.16 0 0 1 -1.78 0.2H165Zm0 14.15h5.9a15.12 15.12 0 0 1 2.05 0.15 7.83 7.83 0 0 1 2 0.55 4 4 0 0 1 1.58 1.17 3.13 3.13 0 0 1 0.62 2 3.71 3.71 0 0 1 -0.47 1.95 4 4 0 0 1 -1.23 1.3 4.78 4.78 0 0 1 -1.67 0.7 8.91 8.91 0 0 1 -1.83 0.2h-7Z\">\n        <aapt:attr\n            name=\"android:fillColor\">\n            <gradient\n                android:startY=\"66.7\"\n                android:endX=\"185.04\"\n                android:endY=\"66.7\"\n                android:tileMode=\"clamp\">\n                <item\n                    android:color=\"#90CEA1\"\n                    android:offset=\"0\" />\n                <item\n                    android:color=\"#3CBEC9\"\n                    android:offset=\"0.56\" />\n                <item\n                    android:color=\"#00B3E5\"\n                    android:offset=\"1\" />\n            </gradient>\n        </aapt:attr>\n    </path>\n</vector>"
  },
  {
    "path": "app/src/main/res/layout/activity_main.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/black\"\n    android:animateLayoutChanges=\"true\"\n    tools:context=\"com.theflexproject.thunder.MainActivity\">\n\n    <FrameLayout\n        android:id=\"@+id/container\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:layout_alignParentStart=\"true\"\n        android:layout_alignParentEnd=\"true\"\n        android:layout_alignParentTop=\"true\"\n        android:layout_alignParentBottom=\"true\"/>\n\n    <eightbitlab.com.blurview.BlurView\n        android:id=\"@+id/blurView\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentBottom=\"true\"\n        android:background=\"@drawable/bottom_navigation_background\"\n        android:clipChildren=\"false\"\n        android:elevation=\"8dp\">\n\n        <com.google.android.material.bottomnavigation.BottomNavigationView\n            android:id=\"@+id/bottom_navigation\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:layout_gravity=\"bottom\"\n            app:itemBackground=\"@drawable/bottom_navigation_item_background\"\n            android:layout_marginBottom=\"45dp\"\n            android:background=\"@drawable/bottom_navigation_background\"\n            app:itemIconTint=\"@drawable/bottom_navigation_color_selector\"\n            app:labelVisibilityMode=\"unlabeled\"\n            app:menu=\"@menu/bottom_navigation_menu\" />\n    </eightbitlab.com.blurview.BlurView>\n\n\n</RelativeLayout>\n\n"
  },
  {
    "path": "app/src/main/res/layout/activity_player.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:id=\"@+id/root\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:keepScreenOn=\"true\">\n\n   <com.google.android.exoplayer2.ui.StyledPlayerView\n       android:id=\"@+id/player_view\"\n       android:layout_width=\"match_parent\"\n       android:layout_height=\"match_parent\"\n       android:background=\"@color/black\"\n       app:show_shuffle_button=\"true\"\n       app:show_subtitle_button=\"true\"/>\n\n   <LinearLayout\n       android:layout_width=\"match_parent\"\n       android:layout_height=\"wrap_content\"\n       android:background=\"#88000000\"\n       android:orientation=\"vertical\">\n\n\n      <LinearLayout android:id=\"@+id/controls_root\"\n          android:layout_width=\"match_parent\"\n          android:layout_height=\"wrap_content\"\n          android:orientation=\"horizontal\"\n          android:visibility=\"gone\">\n\n\n      </LinearLayout>\n\n   </LinearLayout>\n\n\n\n</FrameLayout>"
  },
  {
    "path": "app/src/main/res/layout/dialog_filename_item.xml",
    "content": "<RelativeLayout\n    android:layout_margin=\"8dp\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n    <TextView\n        android:id=\"@+id/fileName\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentEnd=\"true\"\n        android:layout_centerVertical=\"true\"\n        android:layout_toEndOf=\"@id/quality\"\n        android:fontFamily=\"@font/jost_regular\"\n        android:gravity=\"start\"\n        android:padding=\"10dp\"\n        android:focusable=\"true\"\n        android:text=\"Avatar.1080p.something\"\n        android:textColor=\"@color/download_button_bg_color\"\n        android:textSize=\"14sp\"\n        android:textStyle=\"bold\" />\n\n    <TextView\n        android:id=\"@+id/quality\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"30dp\"\n        android:layout_alignParentStart=\"true\"\n        android:layout_centerVertical=\"true\"\n        android:background=\"@drawable/rounded_corner_labels\"\n        android:fontFamily=\"@font/jost_medium\"\n        android:gravity=\"center\"\n        android:paddingHorizontal=\"10dp\"\n        android:text=\"N/A\"\n        android:textColor=\"@color/white\"\n        android:textSize=\"14sp\"\n        android:textStyle=\"bold\" />\n\n\n</RelativeLayout>\n\n"
  },
  {
    "path": "app/src/main/res/layout/dropdown_item.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<TextView\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:id=\"@+id/textViewSortMethod\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:padding=\"15dp\"\n    android:fontFamily=\"@font/jost_regular\"\n    android:textColor=\"@color/white\"\n    android:background=\"#000000\"\n    android:textSize=\"18sp\"\n    android:textStyle=\"bold\" />"
  },
  {
    "path": "app/src/main/res/layout/episode_item.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:id=\"@+id/tvEpisodeCard\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:layout_marginVertical=\"10dp\"\n    android:nextFocusLeft=\"@id/playInEpisodeItem\"\n    app:cardCornerRadius=\"15dp\"\n    android:focusable=\"true\"\n    android:clickable=\"true\"\n    app:cardBackgroundColor=\"@color/episode_item_bg_color\">\n\n    <eightbitlab.com.blurview.BlurView\n\n        android:id=\"@+id/blurView3\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:layout_alignParentBottom=\"true\"\n        android:background=\"#00000000\"\n        android:clipChildren=\"false\"\n        android:elevation=\"8dp\">\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:padding=\"10dp\">\n\n        <ImageView\n            android:id=\"@+id/episodeStill\"\n            android:layout_width=\"133dp\"\n            android:layout_height=\"75dp\"\n            android:layout_centerVertical=\"true\"\n            android:scaleType=\"centerCrop\"\n            app:srcCompat=\"@color/black85\" />\n\n        <RelativeLayout\n            android:layout_width=\"133dp\"\n            android:layout_height=\"75dp\"\n            android:layout_centerVertical=\"true\"\n            android:paddingHorizontal=\"5dp\">\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/playInEpisodeItem\"\n                style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:gravity=\"center\"\n                android:nextFocusDown=\"@id/tvEpisodeCard\"\n                android:orientation=\"horizontal\"\n                app:icon=\"@drawable/ic_play\"\n                app:iconGravity=\"textStart\"\n                app:iconSize=\"45sp\"\n                app:iconTint=\"@color/download_button_bg_color\" />\n        </RelativeLayout>\n\n        <TableLayout\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_centerVertical=\"true\"\n            android:layout_toEndOf=\"@id/episodeStill\"\n            android:orientation=\"vertical\"\n            android:paddingVertical=\"5dp\"\n            android:paddingHorizontal=\"10dp\">\n\n            <TableRow\n                android:id=\"@+id/sXXeYY\"\n                android:layout_weight=\"1\"\n                android:padding=\"5dp\"\n                android:visibility=\"visible\">\n\n                <TextView\n                    android:id=\"@+id/seasonNumberInItem\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:text=\"S01\"\n                    android:layout_weight=\"0.3\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"10sp\"\n                    android:visibility=\"visible\" />\n\n                <TextView\n                    android:id=\"@+id/episodeNumberInItem\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:text=\"E01\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"10sp\"\n                    android:layout_weight=\"0.3\"\n                    android:visibility=\"visible\"\n                    app:layout_constraintBottom_toTopOf=\"@id/ratingsTV\"\n                    app:layout_constraintEnd_toEndOf=\"parent\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toEndOf=\"@+id/noOfSeasons\"\n                    app:layout_constraintTop_toTopOf=\"parent\" />\n\n                <TextView\n                    android:id=\"@+id/RuntimeInItem\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:text=\"48min\"\n                    android:layout_weight=\"0.3\"\n                    android:textAlignment=\"viewEnd\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"10sp\"\n                    android:visibility=\"visible\" />\n            </TableRow>\n\n            <TextView\n                android:id=\"@+id/episodeNameInItem\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:text=\"Winter Has Come\"\n                android:textAlignment=\"viewStart\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"14sp\" />\n\n            <TextView\n                android:id=\"@+id/overviewDescInItem\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:maxLines=\"2\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"12sp\"\n                tools:text=\"Basically the whole plot of movie Basically the whole plot of movie Basically the whole plot of movie\" />\n\n        </TableLayout>\n\n\n\n    </RelativeLayout>\n\n    </eightbitlab.com.blurview.BlurView>\n\n\n</androidx.cardview.widget.CardView>\n"
  },
  {
    "path": "app/src/main/res/layout/file_item.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<com.google.android.material.card.MaterialCardView\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:id=\"@+id/fileItemCard\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:layout_margin=\"10dp\"\n    app:cardBackgroundColor=\"@color/episode_item_bg_color\"\n    app:cardCornerRadius=\"15dp\">\n\n    <eightbitlab.com.blurview.BlurView\n\n        android:id=\"@+id/blurView2\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:layout_alignParentBottom=\"true\"\n        android:background=\"@color/transparent\"\n        android:clipChildren=\"false\"\n        android:elevation=\"8dp\">\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:padding=\"5dp\">\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/playInFileItem\"\n                style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"\n                android:layout_width=\"133dp\"\n                android:layout_height=\"40dp\"\n                android:layout_below=\"@id/sizeTextInFileItem\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_marginStart=\"11dp\"\n                android:layout_marginTop=\"1dp\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:gravity=\"center\"\n                android:orientation=\"horizontal\"\n                android:paddingHorizontal=\"5dp\"\n                app:icon=\"@drawable/ic_play\"\n                app:iconGravity=\"textStart\"\n                app:iconSize=\"35sp\"\n                app:iconTint=\"@color/download_button_bg_color\" />\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/downloadInFileItem\"\n                style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"\n                android:layout_width=\"133dp\"\n                android:layout_height=\"40dp\"\n                android:layout_below=\"@id/sizeTextInFileItem\"\n                android:layout_alignParentEnd=\"true\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                app:iconTint=\"@color/download_button_bg_color\"\n                android:gravity=\"center\"\n                android:orientation=\"horizontal\"\n                android:paddingHorizontal=\"5dp\"\n                app:icon=\"@drawable/ic_download\"\n                app:iconGravity=\"textStart\"\n                app:iconSize=\"35sp\" />\n\n            <TextView\n                android:id=\"@+id/sizeTextInFileItem\"\n                style=\"@style/sizelabel\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_below=\"@id/fileLinkInFileItem\"\n                android:layout_alignParentStart=\"true\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:paddingHorizontal=\"20dp\"\n                android:textColor=\"#CCCCCC\"\n                android:textSize=\"15sp\"\n                android:visibility=\"visible\" />\n\n            <TextView\n                android:id=\"@+id/videoQualityTextInFileItem\"\n                style=\"@style/sizelabel\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_below=\"@id/fileLinkInFileItem\"\n                android:layout_toEndOf=\"@id/sizeTextInFileItem\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:paddingHorizontal=\"20dp\"\n                android:textColor=\"#CCCCCC\"\n                android:textSize=\"15sp\"\n                android:visibility=\"visible\" />\n\n            <TextView\n                android:id=\"@+id/fileNameInFileItem\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_alignParentTop=\"true\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_toStartOf=\"@id/changeTMDBIdInFileItem\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:gravity=\"start\"\n                android:padding=\"10dp\"\n                android:text=\"FileName\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"15sp\" />\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/changeTMDBIdInFileItem\"\n                style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"\n                android:layout_width=\"60dp\"\n                android:layout_height=\"wrap_content\"\n                android:layout_above=\"@id/fileLinkInFileItem\"\n                android:layout_alignParentEnd=\"true\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:orientation=\"horizontal\"\n                app:icon=\"@drawable/ic_change\"\n                app:iconGravity=\"textStart\"\n                app:iconTint=\"@color/download_button_bg_color\" />\n\n            <TextView\n                android:id=\"@+id/fileLinkInFileItem\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_below=\"@id/fileNameInFileItem\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:gravity=\"start\"\n                android:padding=\"10dp\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"13sp\" />\n\n        </RelativeLayout>\n\n    </eightbitlab.com.blurview.BlurView>\n\n\n\n</com.google.android.material.card.MaterialCardView>\n"
  },
  {
    "path": "app/src/main/res/layout/fragment_add_index.xml",
    "content": "<RelativeLayout\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:layout_centerInParent=\"true\"\n    android:layout_gravity=\"center_vertical\"\n    app:cardElevation=\"4dp\"\n    app:cardUseCompatPadding=\"false\"\n    android:clickable=\"true\"\n    android:focusable=\"true\">\n    <!--    app:cardCornerRadius=\"20dp\"-->\n\n<androidx.core.widget.NestedScrollView\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\">\n    <RelativeLayout\n        android:id=\"@+id/addindexcontainer\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:paddingBottom=\"350dp\"\n        android:background=\"@color/black\">\n\n\n        <TextView\n            android:id=\"@+id/textView4\"\n            android:layout_width=\"90dp\"\n            android:layout_height=\"40dp\"\n            android:layout_below=\"@+id/textView2\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_marginStart=\"26dp\"\n            android:layout_marginTop=\"10dp\"\n            android:focusable=\"false\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:gravity=\"center\"\n            android:text=\"Index Type : \"\n            android:textColor=\"@color/white\"\n            android:textSize=\"16sp\" />\n\n        <com.google.android.material.textfield.TextInputLayout\n            android:id=\"@+id/actvContainer\"\n            style=\"@style/Widget.MaterialComponents.TextInputLayout.FilledBox.Dense.ExposedDropdownMenu\"\n            android:layout_width=\"200dp\"\n            android:layout_height=\"40dp\"\n            android:layout_below=\"@id/textView2\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_marginHorizontal=\"16dp\"\n            android:layout_marginTop=\"10dp\"\n            android:focusable=\"true\"\n            android:nextFocusDown=\"@id/actv\"\n            android:background=\"@drawable/tab_item_selector\"\n            app:boxBackgroundColor=\"@color/media_item_bg_color\"\n            app:layout_constraintHorizontal_bias=\"0.5\"\n            app:layout_constraintStart_toStartOf=\"parent\"\n            app:layout_constraintTop_toTopOf=\"parent\">\n\n            <AutoCompleteTextView\n                android:id=\"@+id/actv\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_weight=\"1\"\n                android:focusable=\"true\"\n                android:background=\"@color/transparent\"\n                android:inputType=\"none\"\n                android:padding=\"5dp\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:text=\"@string/gdindex\"\n                android:textColor=\"@color/download_button_bg_color\" />\n\n        </com.google.android.material.textfield.TextInputLayout>\n\n        <com.google.android.material.button.MaterialButtonToggleGroup\n            android:id=\"@+id/index_type_group\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/textView4\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_marginTop=\"5dp\"\n            android:gravity=\"center_horizontal\"\n            android:orientation=\"horizontal\"\n            android:visibility=\"gone\"\n            app:selectionRequired=\"true\"\n            app:singleSelection=\"true\">\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/tb_gd\"\n                style=\"?attr/materialButtonOutlinedStyle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:focusedByDefault=\"true\"\n                android:nextFocusRight=\"@id/tb_go\"\n                android:nextFocusDown=\"@id/tb_movies\"\n                android:text=\"@string/gdindex\"\n                android:textColor=\"@color/download_button_bg_color\" />\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/tb_go\"\n                style=\"?attr/materialButtonOutlinedStyle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:nextFocusLeft=\"@id/tb_gd\"\n                android:nextFocusRight=\"@id/tb_maple\"\n                android:nextFocusDown=\"@id/tb_movies\"\n                android:text=\"@string/goindex\"\n                android:textColor=\"@color/download_button_bg_color\" />\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/tb_maple\"\n                style=\"?attr/materialButtonOutlinedStyle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:clickable=\"true\"\n\n                android:focusable=\"true\"\n                android:nextFocusLeft=\"@id/tb_go\"\n                android:nextFocusRight=\"@id/tb_movies\"\n                android:nextFocusDown=\"@id/tb_movies\"\n                android:text=\"@string/mapleindex\"\n                android:textColor=\"@color/download_button_bg_color\" />\n\n            <com.google.android.material.button.MaterialButton\n                style=\"?attr/materialButtonOutlinedStyle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:text=\"@string/simpleprogram\"\n                android:textColor=\"@color/white\" />\n\n        </com.google.android.material.button.MaterialButtonToggleGroup>\n\n        <!--    <RadioGroup-->\n        <!--        android:id=\"@+id/rb_group\"-->\n        <!--        android:layout_width=\"match_parent\"-->\n        <!--        android:layout_height=\"wrap_content\"-->\n        <!--        android:layout_below=\"@+id/textView4\"-->\n        <!--        android:layout_marginTop=\"5dp\"-->\n        <!--        android:gravity=\"center_horizontal\"-->\n        <!--        android:orientation=\"horizontal\"-->\n        <!--        app:layout_constraintEnd_toEndOf=\"parent\"-->\n        <!--        app:layout_constraintHorizontal_bias=\"0.502\"-->\n        <!--        app:layout_constraintStart_toStartOf=\"parent\"-->\n        <!--        app:layout_constraintTop_toBottomOf=\"@+id/textView2\">-->\n\n\n        <!--        <RadioButton-->\n        <!--            android:id=\"@+id/rb_gd\"-->\n        <!--            android:layout_width=\"wrap_content\"-->\n        <!--            android:layout_height=\"wrap_content\"-->\n        <!--            android:buttonTint=\"@color/download_button_bg_color\"-->\n        <!--            android:clickable=\"true\"-->\n        <!--            android:focusable=\"true\"-->\n        <!--            android:nextFocusRight=\"@id/rb_go\"-->\n        <!--            android:fontFamily=\"@font/jost_regular\"-->\n        <!--            android:text=\"GDIndex\"-->\n        <!--            android:textColor=\"@color/white\" />-->\n\n        <!--        <RadioButton-->\n        <!--            android:id=\"@+id/rb_go\"-->\n        <!--            android:layout_width=\"wrap_content\"-->\n        <!--            android:layout_height=\"wrap_content\"-->\n        <!--            android:buttonTint=\"@color/download_button_bg_color\"-->\n        <!--            android:fontFamily=\"@font/jost_regular\"-->\n        <!--            android:text=\"GoIndex\"-->\n        <!--            android:focusable=\"true\"-->\n        <!--            android:nextFocusRight=\"@id/rb_maple\"-->\n        <!--            android:clickable=\"true\"-->\n        <!--            android:textColor=\"@color/white\" />-->\n\n        <!--        <RadioButton-->\n        <!--            android:id=\"@+id/rb_maple\"-->\n        <!--            android:layout_width=\"wrap_content\"-->\n        <!--            android:layout_height=\"wrap_content\"-->\n        <!--            android:buttonTint=\"@color/download_button_bg_color\"-->\n        <!--            android:fontFamily=\"@font/jost_regular\"-->\n        <!--            android:text=\"MapleIndex\"-->\n        <!--            android:focusable=\"true\"-->\n        <!--            android:nextFocusRight=\"@id/rb_simple\"-->\n        <!--            android:clickable=\"true\"-->\n        <!--            android:textColor=\"@color/white\" />-->\n\n        <!--        <RadioButton-->\n        <!--            android:id=\"@+id/rb_simple\"-->\n        <!--            android:layout_width=\"wrap_content\"-->\n        <!--            android:layout_height=\"wrap_content\"-->\n        <!--            android:buttonTint=\"@color/download_button_bg_color\"-->\n        <!--            android:fontFamily=\"@font/jost_regular\"-->\n        <!--            android:text=\"SimpleProgram\"-->\n        <!--            android:focusable=\"true\"-->\n        <!--            android:nextFocusRight=\"@id/rb_movies\"-->\n        <!--            android:nextFocusDown=\"@id/rb_movies\"-->\n        <!--            android:clickable=\"true\"-->\n        <!--            android:textColor=\"@color/white\" />-->\n\n        <!--    </RadioGroup>-->\n\n        <TextView\n            android:id=\"@+id/textView3\"\n            android:layout_width=\"90dp\"\n            android:layout_height=\"40dp\"\n            android:layout_below=\"@+id/textView4\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_marginStart=\"26dp\"\n            android:layout_marginTop=\"10dp\"\n            android:focusable=\"false\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:gravity=\"center\"\n            android:text=\"Folder Type :\"\n            android:textColor=\"@color/white\"\n            android:textSize=\"16sp\" />\n\n\n        <com.google.android.material.textfield.TextInputLayout\n            android:id=\"@+id/actvContainer2\"\n            style=\"@style/Widget.MaterialComponents.TextInputLayout.FilledBox.Dense.ExposedDropdownMenu\"\n            android:layout_width=\"200dp\"\n            android:layout_height=\"40dp\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_below=\"@id/textView4\"\n            android:layout_centerHorizontal=\"true\"\n            android:layout_marginHorizontal=\"16dp\"\n            android:layout_marginTop=\"10dp\"\n            android:focusable=\"true\"\n            android:nextFocusDown=\"@id/actv2\"\n            android:background=\"@drawable/tab_item_selector\"\n            app:boxBackgroundColor=\"@color/media_item_bg_color\"\n            app:layout_constraintHorizontal_bias=\"0.5\"\n            app:layout_constraintStart_toStartOf=\"parent\"\n            app:layout_constraintTop_toTopOf=\"parent\">\n\n            <AutoCompleteTextView\n                android:id=\"@+id/actv2\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_weight=\"1\"\n                android:focusable=\"true\"\n                android:nextFocusDown=\"@id/indexlink\"\n                android:background=\"@color/transparent\"\n                android:drawableTint=\"@color/white\"\n                android:inputType=\"none\"\n                android:padding=\"5dp\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:text=\"Movies\"\n                android:textColor=\"@color/download_button_bg_color\" />\n\n        </com.google.android.material.textfield.TextInputLayout>\n\n\n        <com.google.android.material.button.MaterialButtonToggleGroup\n            android:visibility=\"gone\"\n            android:id=\"@+id/folder_type_group\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/textView3\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_marginTop=\"5dp\"\n            android:gravity=\"center_horizontal\"\n            android:orientation=\"horizontal\"\n            app:selectionRequired=\"true\"\n            app:singleSelection=\"true\">\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/tb_movies\"\n                style=\"?attr/materialButtonOutlinedStyle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:nextFocusRight=\"@id/tb_tv\"\n                android:nextFocusUp=\"@id/tb_gd\"\n                android:nextFocusDown=\"@id/indexlink\"\n                android:text=\"Movies\"\n                android:textColor=\"@color/download_button_bg_color\" />\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/tb_tv\"\n                style=\"?attr/materialButtonOutlinedStyle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:nextFocusLeft=\"@id/tb_movies\"\n                android:nextFocusUp=\"@id/tb_gd\"\n                android:nextFocusDown=\"@id/indexlink\"\n                android:text=\"TVShows\"\n                android:textColor=\"@color/download_button_bg_color\" />\n\n        </com.google.android.material.button.MaterialButtonToggleGroup>\n\n        <!--    <RadioGroup-->\n        <!--        android:id=\"@+id/folderTypeRadioGroup\"-->\n        <!--        android:layout_width=\"match_parent\"-->\n        <!--        android:layout_height=\"wrap_content\"-->\n        <!--        android:layout_below=\"@+id/textView3\"-->\n        <!--        android:layout_marginTop=\"5dp\"-->\n        <!--        android:gravity=\"center_horizontal\"-->\n        <!--        android:orientation=\"horizontal\"-->\n        <!--        >-->\n\n        <!--        <RadioButton-->\n        <!--            android:id=\"@+id/rb_movies\"-->\n        <!--            android:layout_width=\"wrap_content\"-->\n        <!--            android:layout_height=\"wrap_content\"-->\n        <!--            android:buttonTint=\"@color/download_button_bg_color\"-->\n        <!--            android:fontFamily=\"@font/jost_regular\"-->\n        <!--            android:text=\"Movies\"-->\n        <!--            android:focusable=\"true\"-->\n        <!--            android:clickable=\"true\"-->\n        <!--            android:nextFocusRight=\"@string/tv_shows\"-->\n        <!--            android:textColor=\"@color/white\" />-->\n\n        <!--        <RadioButton-->\n        <!--            android:id=\"@+id/rb_TVShow\"-->\n        <!--            android:layout_width=\"wrap_content\"-->\n        <!--            android:layout_height=\"wrap_content\"-->\n        <!--            android:buttonTint=\"@color/white\"-->\n        <!--            android:fontFamily=\"@font/jost_regular\"-->\n        <!--            android:text=\"TVShows\"-->\n        <!--            android:focusable=\"true\"-->\n        <!--            android:nextFocusDown=\"@id/indexlink\"-->\n        <!--            android:clickable=\"true\"-->\n        <!--            android:textColor=\"@color/white\" />-->\n        <!--    </RadioGroup>-->\n\n\n        <com.google.android.material.textfield.TextInputLayout\n            android:id=\"@+id/indexlinkContainer\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/folder_type_group\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_marginTop=\"20dp\"\n            android:gravity=\"center_vertical\"\n            android:nextFocusUp=\"@id/actvContainer2\"\n            android:textColorHint=\"#50FFFFFF\"\n            android:textCursorDrawable=\"@null\"\n            app:hintAnimationEnabled=\"false\"\n            app:hintEnabled=\"false\">\n            <com.google.android.material.textfield.TextInputEditText\n                android:id=\"@+id/indexlink\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"50dp\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_gravity=\"center\"\n                android:layout_marginStart=\"16dp\"\n                android:layout_marginEnd=\"16dp\"\n                android:background=\"@drawable/search_bg\"\n                android:ems=\"10\"\n                android:focusable=\"true\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:gravity=\"start|center_vertical\"\n                android:hint=\"@string/index_link\"\n                android:inputType=\"textPersonName\"\n                android:nextFocusUp=\"@id/tb_movies\"\n                android:nextFocusDown=\"@id/username\"\n                android:paddingTop=\"12dp\"\n                android:textColor=\"@color/white\"\n                android:textColorHint=\"#878787\"\n                android:textColorLink=\"#A3A3A3\"\n                android:textSize=\"18sp\" />\n\n        </com.google.android.material.textfield.TextInputLayout>\n\n        <LinearLayout\n            android:id=\"@+id/textContainer\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginTop=\"60dp\"\n            android:layout_below=\"@id/indexlinkContainer\"\n            android:gravity=\"center_vertical\">\n\n            <TextView\n                android:id=\"@+id/loginText\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_marginStart=\"26dp\"\n                android:focusable=\"false\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:text=\"Login\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"24sp\" />\n\n            <TextView\n                android:id=\"@+id/optionalText\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_below=\"@id/indexlinkContainer\"\n                android:layout_marginStart=\"15dp\"\n                android:layout_toEndOf=\"@id/loginText\"\n                android:focusable=\"false\"\n                android:fontFamily=\"@font/jost_light\"\n                android:text=\"(Optional)\"\n                android:textColor=\"#80ffffff\"\n                android:textSize=\"18sp\" />\n\n        </LinearLayout>\n\n        <com.google.android.material.textfield.TextInputLayout\n            android:id=\"@+id/usernameContainer\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/textContainer\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_gravity=\"center\"\n            android:layout_marginTop=\"20dp\"\n            android:gravity=\"center_vertical\"\n            android:textColorHint=\"#50FFFFFF\"\n            android:textCursorDrawable=\"@null\"\n            app:hintAnimationEnabled=\"false\"\n            app:hintEnabled=\"false\">\n\n\n\n\n\n            <com.google.android.material.textfield.TextInputEditText\n                android:id=\"@+id/username\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"50dp\"\n                android:layout_below=\"@+id/indexlink\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_gravity=\"center\"\n                android:layout_marginStart=\"16dp\"\n                android:layout_marginTop=\"5dp\"\n                android:layout_marginEnd=\"16dp\"\n                android:background=\"@drawable/search_bg\"\n                android:ems=\"10\"\n                android:focusable=\"true\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:gravity=\"start|center_vertical\"\n                android:hint=\"@string/username\"\n                android:nextFocusUp=\"@id/indexlink\"\n                android:nextFocusDown=\"@id/password\"\n                android:paddingTop=\"12dp\"\n                android:textColor=\"@color/white\"\n                android:textColorHint=\"#878787\"\n                android:textColorLink=\"#A3A3A3\"\n                android:textSize=\"18sp\" />\n        </com.google.android.material.textfield.TextInputLayout>\n\n        <com.google.android.material.textfield.TextInputLayout\n            android:id=\"@+id/passwordContainer\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/usernameContainer\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_gravity=\"center\"\n            android:layout_marginTop=\"20dp\"\n            android:gravity=\"center_vertical\"\n            android:textColorHint=\"#50FFFFFF\"\n            android:textCursorDrawable=\"@null\"\n            app:hintAnimationEnabled=\"false\"\n            app:hintEnabled=\"false\">\n\n            <com.google.android.material.textfield.TextInputEditText\n                android:id=\"@+id/password\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"50dp\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_gravity=\"center\"\n                android:layout_marginStart=\"16dp\"\n                android:layout_marginTop=\"5dp\"\n                android:layout_marginEnd=\"16dp\"\n                android:background=\"@drawable/search_bg\"\n                android:ems=\"10\"\n                android:focusable=\"true\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:gravity=\"start|center_vertical\"\n                android:hint=\"@string/password\"\n                android:nextFocusUp=\"@id/username\"\n                android:nextFocusDown=\"@id/save\"\n                android:paddingTop=\"12dp\"\n                android:textColor=\"@color/white\"\n                android:textColorHint=\"#878787\"\n                android:textColorLink=\"#A3A3A3\"\n                android:textSize=\"18sp\" />\n\n\n        </com.google.android.material.textfield.TextInputLayout>\n\n        <TextView\n            android:id=\"@+id/textView2\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_alignParentTop=\"true\"\n\n            android:layout_marginStart=\"16dp\"\n            android:layout_marginTop=\"40dp\"\n            android:layout_marginEnd=\"60dp\"\n            android:focusable=\"false\"\n            android:fontFamily=\"@font/jost_bold\"\n\n            android:text=\"Add New Index\"\n            android:textColor=\"@color/white\"\n            android:textSize=\"25dp\" />\n\n        <RelativeLayout\n            android:id=\"@+id/save_container\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_alignParentBottom=\"true\"\n            android:layout_below=\"@id/passwordContainer\"\n            android:layout_marginHorizontal=\"16dp\"\n            android:layout_marginTop=\"10dp\">\n\n            <Button\n                android:id=\"@+id/save\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"48dp\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_alignParentBottom=\"true\"\n                android:layout_centerHorizontal=\"true\"\n                android:background=\"@drawable/rounded_corner_labels\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:nextFocusUp=\"@id/password\"\n                android:text=\"@string/save\"\n                android:textColor=\"@color/download_button_bg_color\" />\n\n            <ProgressBar\n                android:id=\"@+id/progress_circular\"\n                android:layout_width=\"48dp\"\n                android:layout_height=\"48dp\"\n                android:elevation=\"8dp\"\n                android:indeterminateTint=\"@color/white\"\n                android:padding=\"8dp\"\n                android:visibility=\"gone\" />\n        </RelativeLayout>\n\n        <TextView\n            android:id=\"@+id/suggestRefresh\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@+id/save_container\"\n            android:layout_alignParentBottom=\"false\"\n            android:layout_centerHorizontal=\"true\"\n            android:layout_marginBottom=\"40dp\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:text=\"Already added, try refreshing\"\n            android:textColor=\"@color/white\"\n            android:visibility=\"gone\" />\n\n    </RelativeLayout>\n</androidx.core.widget.NestedScrollView>\n\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_change_tmdb.xml",
    "content": "\n<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    app:cardElevation=\"4dp\"\n    app:cardCornerRadius=\"15dp\"\n    android:layout_gravity=\"center_vertical\"\n    app:cardUseCompatPadding=\"true\"\n    android:layout_centerVertical=\"true\">\n\n    <LinearLayout\n        android:orientation=\"vertical\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:background=\"#111111\"\n        >\n\n        <TextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginStart=\"60dp\"\n            android:layout_marginTop=\"40dp\"\n            android:layout_marginEnd=\"60dp\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:text=\"Enter TMDB Link\"\n            android:textColor=\"@color/white\" />\n\n\n        <EditText\n            android:id=\"@+id/tmdbLinkText\"\n            android:layout_width=\"275dp\"\n            android:layout_height=\"40dp\"\n            android:layout_marginStart=\"60dp\"\n            android:layout_marginEnd=\"60dp\"\n            android:backgroundTint=\"#FE3232\"\n            android:layout_gravity=\"center_horizontal\"\n            android:ems=\"10\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:hint=\"TMDB LINK or ID\"\n            android:textColor=\"@color/white\"\n            android:textColorHint=\"#878787\"\n            android:textColorLink=\"#A3A3A3\" />\n\n\n\n\n        <Button\n            android:id=\"@+id/changeTMDBIdButton\"\n            android:layout_width=\"200dp\"\n            android:layout_height=\"40dp\"\n            android:layout_marginStart=\"60dp\"\n            android:layout_marginTop=\"10dp\"\n            android:layout_marginEnd=\"60dp\"\n            android:layout_marginBottom=\"40dp\"\n            android:background=\"@drawable/rounded_corner_labels\"\n            android:text=\"@string/save\"\n            android:layout_gravity=\"center_horizontal\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:textColor=\"@color/white\"\n            app:layout_constraintEnd_toEndOf=\"parent\"\n            app:layout_constraintHorizontal_bias=\"0.502\"\n            app:layout_constraintStart_toStartOf=\"parent\"\n            app:layout_constraintTop_toBottomOf=\"@+id/password\" />\n        <TextView\n            android:id=\"@+id/invalidTMDBLink\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginStart=\"60dp\"\n            android:layout_marginTop=\"40dp\"\n            android:layout_marginEnd=\"60dp\"\n            android:visibility=\"gone\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:text=\"Invalid Input\"\n            android:textColor=\"@color/white\" />\n    </LinearLayout>\n\n</androidx.cardview.widget.CardView>"
  },
  {
    "path": "app/src/main/res/layout/fragment_custom_file_list_dialog.xml",
    "content": "<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:background=\"@color/transparent\"\n    android:layout_marginHorizontal=\"40dp\"\n    android:layout_gravity=\"center\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\">\n\n    <eightbitlab.com.blurview.BlurView\n        android:id=\"@+id/blurViewDialog\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:clipChildren=\"false\"\n        android:elevation=\"8dp\">\n    <androidx.constraintlayout.widget.ConstraintLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:layout_gravity=\"center\"\n        android:background=\"@color/transparent\">\n\n\n        <androidx.recyclerview.widget.RecyclerView\n            android:id=\"@+id/fileListInDialog\"\n            android:layout_width=\"0dp\"\n            android:maxHeight=\"0dp\"\n            android:layout_height=\"wrap_content\"\n           android:layout_margin=\"8dp\"\n            app:layout_constraintBottom_toBottomOf=\"parent\"\n            app:layout_constraintEnd_toEndOf=\"parent\"\n            app:layout_constraintStart_toStartOf=\"parent\"\n            app:layout_constraintTop_toTopOf=\"parent\"\n            tools:itemCount=\"5\"\n            tools:listitem=\"@layout/dialog_filename_item\"/>\n    </androidx.constraintlayout.widget.ConstraintLayout>\n    </eightbitlab.com.blurview.BlurView>\n\n</FrameLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_episode_details.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/black\">\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\">\n\n        <ImageView\n            android:id=\"@+id/stillInEpisodeDetails\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"475dp\"\n            android:background=\"@color/black\"\n            android:scaleType=\"centerCrop\"\n            tools:src=\"@color/transparent\" />\n\n        <LinearLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"500dp\"\n            android:orientation=\"vertical\">\n            <View\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"0dp\"\n                android:layout_weight=\"0.3\"\n                android:background=\"@drawable/gradient_top_bottom_bg\" />\n\n        </LinearLayout>\n\n    </RelativeLayout>\n\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:paddingBottom=\"100dp\">\n\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginHorizontal=\"20dp\">\n\n\n            <ImageView\n                android:id=\"@+id/tvShowPosterInEpisodeDetails\"\n                android:layout_width=\"133dp\"\n                android:layout_height=\"200dp\"\n                android:layout_marginTop=\"150dp\"\n                android:scaleType=\"centerCrop\"\n                android:src=\"@color/transparent\" />\n\n            <TextView\n                android:id=\"@+id/tvShowTitleInEpisodeDetails\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_above=\"@id/episodeNameInEpisodeDetails\"\n                android:layout_toEndOf=\"@+id/tvShowPosterInEpisodeDetails\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:gravity=\"center\"\n                android:paddingHorizontal=\"10dp\"\n                android:textColor=\"#CCCCCC\"\n                android:textSize=\"15sp\"\n                android:textStyle=\"bold\"\n                tools:text=\"Show Title\" />\n\n            <TextView\n                android:id=\"@+id/episodeNameInEpisodeDetails\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_above=\"@+id/labelsInEpisodeDetails\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_toEndOf=\"@+id/tvShowPosterInEpisodeDetails\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:gravity=\"center\"\n                android:paddingHorizontal=\"15dp\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"20sp\"\n                android:textStyle=\"bold\"\n                android:visibility=\"visible\"\n                tools:text=\"Episode Title\" />\n\n\n            <androidx.constraintlayout.widget.ConstraintLayout\n                android:id=\"@+id/labelsInEpisodeDetails\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_above=\"@+id/playInEpisodeDetails\"\n                android:layout_toEndOf=\"@id/tvShowPosterInEpisodeDetails\">\n\n                <TextView\n                    android:id=\"@+id/seasonNumberInEpisodeDetails\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"10sp\"\n                    android:visibility=\"visible\"\n                    app:layout_constraintBottom_toTopOf=\"@id/ratingsInEpisodeDetails\"\n                    app:layout_constraintEnd_toStartOf=\"@+id/runtimeInEpisodeDetails\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toStartOf=\"parent\"\n                    app:layout_constraintTop_toTopOf=\"parent\"\n                    tools:text=\"Season 1\" />\n\n                <TextView\n                    android:id=\"@+id/runtimeInEpisodeDetails\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_toEndOf=\"@+id/seasonNumberInEpisodeDetails\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"10sp\"\n                    android:visibility=\"visible\"\n                    android:text=\"54mins\"\n                    app:layout_constraintBottom_toTopOf=\"@id/ratingsInEpisodeDetails\"\n                    app:layout_constraintEnd_toEndOf=\"parent\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toEndOf=\"@+id/seasonNumberInEpisodeDetails\"\n                    app:layout_constraintTop_toTopOf=\"parent\" />\n\n\n                <ImageView\n                    android:id=\"@+id/ratingsInEpisodeDetails\"\n                    android:layout_width=\"30dp\"\n                    android:layout_height=\"30dp\"\n                    android:src=\"@drawable/tmdb\"\n                    android:visibility=\"gone\"\n                    app:layout_constraintBottom_toBottomOf=\"parent\"\n                    app:layout_constraintEnd_toEndOf=\"parent\"\n                    app:layout_constraintTop_toBottomOf=\"@id/seasonNumberInEpisodeDetails\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toStartOf=\"parent\" />\n\n\n                <TextView\n                    android:id=\"@+id/ratingsTextInEpisodeDetails\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"13sp\"\n                    android:visibility=\"gone\"\n                    app:layout_constraintBottom_toBottomOf=\"parent\"\n                    app:layout_constraintStart_toEndOf=\"@+id/ratingsInEpisodeDetails\"\n                    app:layout_constraintTop_toBottomOf=\"@id/seasonNumberInEpisodeDetails\"\n                    tools:text=\"86 %\" />\n\n            </androidx.constraintlayout.widget.ConstraintLayout>\n\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/playInEpisodeDetails\"\n                style=\"@style/Widget.MaterialComponents.Button.Icon\"\n                android:layout_width=\"133dp\"\n                android:layout_height=\"48dp\"\n                android:layout_below=\"@id/tvShowPosterInEpisodeDetails\"\n                android:layout_marginTop=\"15dp\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:orientation=\"horizontal\"\n                android:padding=\"10dp\"\n                android:text=\"@string/play\"\n                android:textColor=\"@color/white\"\n                app:backgroundTint=\"#111111\"\n                app:icon=\"@drawable/ic_play\"\n                app:iconGravity=\"textStart\"\n                app:iconTint=\"@color/download_button_bg_color\" />\n\n            <LinearLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_below=\"@id/playInEpisodeDetails\"\n                android:orientation=\"vertical\"\n                android:paddingBottom=\"70dp\">\n\n                <TextView\n                    android:id=\"@+id/overviewInEpisodeDetails\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:text=\"@string/overview\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"18sp\">\n\n                </TextView>\n\n                <TextView\n                    android:id=\"@+id/overviewDescInEpisodeDetails\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginTop=\"12dp\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"14sp\"\n                    tools:text=\"Basically the whole plot of movie\" />\n\n                <TableLayout\n                    android:id=\"@+id/detailsTableTV\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\">\n\n                    <TableRow\n                        android:id=\"@+id/episodeAirDate\"\n                        android:padding=\"5dp\"\n                        android:visibility=\"gone\">\n\n                        <TextView\n                            android:layout_width=\"0dp\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_marginTop=\"5dp\"\n                            android:layout_weight=\".4\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:text=\"Released :\"\n                            android:textColor=\"@color/white\"\n                            android:textSize=\"14sp\" />\n\n                        <TextView\n                            android:id=\"@+id/episodeAirDateText\"\n                            android:layout_width=\"0dp\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_marginTop=\"5dp\"\n                            android:layout_weight=\".6\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:textColor=\"@color/white\"\n                            android:textSize=\"14sp\" />\n\n                    </TableRow>\n                </TableLayout>\n\n                <TextView\n                    android:id=\"@+id/availableFilesRecyclerTitle\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginTop=\"5dp\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:text=\"Available Files\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"18sp\" />\n\n                <androidx.recyclerview.widget.RecyclerView\n                    android:id=\"@+id/recyclerAvailableEpisodeFiles\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:scrollbars=\"vertical\"\n                    tools:itemCount=\"6\"\n                    tools:listitem=\"@layout/file_item\" />\n\n            </LinearLayout>\n\n        </RelativeLayout>\n    </androidx.core.widget.NestedScrollView>\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_episode_details_new.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:focusable=\"true\"\n    android:clickable=\"true\"\n    android:background=\"@color/black\"\n    android:orientation=\"vertical\">\n\n\n    <ImageView\n        android:id=\"@+id/stillInEpisodeDetails\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"290dp\"\n        android:scaleType=\"centerCrop\"\n        tools:src=\"@drawable/dummyposter\" />\n\n    <LinearLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"300dp\"\n        android:orientation=\"vertical\">\n\n        <View\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"0dp\"\n            android:layout_weight=\"0.2\"\n            android:background=\"@drawable/gradient_top_bottom_bg\" />\n    </LinearLayout>\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\">\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\">\n\n            <RelativeLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"300dp\">\n\n\n                <ImageButton\n                    android:id=\"@+id/playInEpisodeDetails\"\n                    android:layout_width=\"50dp\"\n                    android:layout_height=\"50dp\"\n                    android:layout_centerInParent=\"true\"\n                    android:background=\"@drawable/play_shape\"\n                    android:backgroundTint=\"@color/download_button_bg_color\"\n                    android:clickable=\"true\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:orientation=\"horizontal\"\n                    android:src=\"@drawable/ic_play\"\n                    app:cornerRadius=\"100dp\" />\n\n                <TextView\n                    android:id=\"@+id/tvShowTitleInEpisodeDetails\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_alignParentBottom=\"true\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:autoSizeMaxTextSize=\"28sp\"\n                    android:autoSizeMinTextSize=\"16sp\"\n                    android:autoSizeTextType=\"uniform\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:maxHeight=\"80dp\"\n                    android:textAlignment=\"center\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"27sp\"\n                    android:textStyle=\"bold\"\n                    android:visibility=\"visible\"\n                    tools:text=\"Movie Title\" />\n\n                <ImageView\n                    android:id=\"@+id/tvLogoInEp\"\n                    android:layout_width=\"175dp\"\n                    android:layout_height=\"80dp\"\n                    android:layout_alignParentBottom=\"true\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:layout_marginStart=\"20dp\"\n                    android:scaleType=\"fitCenter\"\n                    android:src=\"@drawable/dummyposter\"\n                    android:visibility=\"invisible\" />\n\n            </RelativeLayout>\n\n            <RelativeLayout\n                android:id=\"@+id/relativeContainer\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:layout_marginTop=\"300dp\">\n\n\n                <RelativeLayout\n                    android:id=\"@+id/labelsInEpisodeDetails\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginVertical=\"5dp\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:gravity=\"center_horizontal\">\n\n\n\n\n\n\n\n                    <TextView\n                        android:id=\"@+id/seasonNumberInEpisodeDetails\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"#CCCCCC\"\n                        android:layout_toEndOf=\"@id/dot\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\"\n                        tools:text=\"Season 6\" />\n\n\n                    <ImageView\n                        android:id=\"@+id/dot2\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:layout_centerVertical=\"true\"\n                        android:layout_toEndOf=\"@id/seasonNumberInEpisodeDetails\"\n                        android:src=\"@drawable/oval\" />\n\n                    <TextView\n                        android:id=\"@+id/runtimeInEpisodeDetails\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_toEndOf=\"@id/dot2\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:text=\"45m\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\" />\n\n                    <TextView\n                        android:id=\"@+id/ratingsTextInEpisodeDetails\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_gravity=\"start|center_vertical\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textAlignment=\"viewStart\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"gone\"\n                        tools:text=\"8.6\" />\n\n                    <ImageView\n                        android:id=\"@+id/dot\"\n                        android:visibility=\"gone\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_centerInParent=\"true\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:layout_toEndOf=\"@id/ratingsTextInEpisodeDetails\"\n                        android:src=\"@drawable/oval\" />\n\n\n                </RelativeLayout>\n\n                <LinearLayout\n                    android:id=\"@+id/continueWatching\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/labelsInEpisodeDetails\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:layout_marginVertical=\"5dp\"\n                    android:gravity=\"start\"\n                    android:orientation=\"horizontal\"\n                    android:paddingVertical=\"5dp\"\n                    android:visibility=\"visible\">\n\n\n                    <TextView\n                        android:id=\"@+id/continueWatchingText\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:ellipsize=\"end\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:gravity=\"start\"\n                        android:maxLines=\"1\"\n                        android:scrollHorizontally=\"true\"\n                        android:text=\"S01 E05 \"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"16sp\"\n                        android:textStyle=\"bold\"\n                        android:visibility=\"visible\" />\n\n                    <ImageView\n                        android:id=\"@+id/dot3\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_gravity=\"center\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:src=\"@drawable/oval\"\n\n                        android:visibility=\"gone\" />\n\n                    <TextView\n                        android:id=\"@+id/episodeNameInEpisodeDetails\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:ellipsize=\"end\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:gravity=\"start\"\n                        android:maxLines=\"1\"\n                        android:scrollHorizontally=\"true\"\n                        android:text=\"Episode Title\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"16sp\"\n                        android:visibility=\"gone\" />\n\n                </LinearLayout>\n\n\n                <LinearLayout\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/continueWatching\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:orientation=\"vertical\">\n\n\n\n\n                    <TextView\n                        android:id=\"@+id/overviewInEpisodeDetails\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:text=\"@string/overview\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"18sp\"\n                        android:visibility=\"gone\">\n\n                    </TextView>\n\n                    <TextView\n                        android:id=\"@+id/overviewDescInEpisodeDetails\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginVertical=\"10dp\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"gone\"\n                        tools:text=\"In the 22nd century, a paraplegic Marine is dispatched to the moon Pandora on a unique mission, but becomes torn between following orders and protecting an alien civilization.\" />\n\n                    <!--                    <TableLayout-->\n                    <!--                        android:id=\"@+id/detailsTable\"-->\n                    <!--                        android:layout_width=\"match_parent\"-->\n                    <!--                        android:layout_height=\"wrap_content\"-->\n                    <!--                        android:layout_marginTop=\"15dp\"-->\n                    <!--                        android:visibility=\"gone\">-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/Director\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Director :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:id=\"@+id/DirectorText\"-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".6\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/WrittenBy\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Written By :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:id=\"@+id/WrittenByText\"-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".6\"-->\n\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/Genres\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Genres :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:id=\"@+id/GenresText\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_width=\"0dp\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_weight=\".6\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:textSize=\"14sp\" />&ndash;&gt;-->\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        &lt;!&ndash;                <TableRow&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:padding=\"5dp\">&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:id=\"@+id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_below=\"@id/videoQualityText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    tools:text=\"Budget :\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/BudgetText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/videoQualityText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_toEndOf=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"THE DIRECTOR\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                </TableRow>&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                <TableRow&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:padding=\"5dp\">&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/Revenue\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"Revenue :\" />&ndash;&gt;-->\n\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/RevenueText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_toEndOf=\"@id/Revenue\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"THE DIRECTOR\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                </TableRow>&ndash;&gt;-->\n\n                    <!--                    </TableLayout>-->\n\n                    <TableLayout\n                        android:id=\"@+id/detailsTableTV\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\">\n\n                        <TableRow\n                            android:id=\"@+id/episodeAirDate\"\n                            android:padding=\"5dp\"\n                            android:visibility=\"gone\">\n\n                            <TextView\n                                android:layout_width=\"0dp\"\n                                android:layout_height=\"wrap_content\"\n                                android:layout_marginTop=\"5dp\"\n                                android:layout_weight=\".4\"\n                                android:fontFamily=\"@font/jost_regular\"\n                                android:text=\"Released :\"\n                                android:textColor=\"@color/white\"\n                                android:textSize=\"14sp\" />\n\n                            <TextView\n                                android:id=\"@+id/episodeAirDateText\"\n                                android:layout_width=\"0dp\"\n                                android:layout_height=\"wrap_content\"\n                                android:layout_marginTop=\"5dp\"\n                                android:layout_weight=\".6\"\n                                android:fontFamily=\"@font/jost_regular\"\n                                android:textColor=\"@color/white\"\n                                android:textSize=\"14sp\" />\n\n                        </TableRow>\n                    </TableLayout>\n                    <TextView\n                        android:id=\"@+id/availableFilesRecyclerTitle\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginTop=\"5dp\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:text=\"Available Files\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"18sp\" />\n\n                    <androidx.recyclerview.widget.RecyclerView\n                        android:id=\"@+id/recyclerAvailableEpisodeFiles\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginTop=\"14dp\"\n                        android:clipToPadding=\"false\"\n                        android:nestedScrollingEnabled=\"false\"\n                        android:paddingBottom=\"80dp\"\n                        android:scrollbars=\"vertical\"\n                        android:visibility=\"visible\"\n                        tools:itemCount=\"5\"\n                        tools:listitem=\"@layout/file_item\" />\n\n                </LinearLayout>\n\n            </RelativeLayout>\n\n        </RelativeLayout>\n    </androidx.core.widget.NestedScrollView>\n\n\n    <!--<androidx.core.widget.NestedScrollView-->\n    <!--    android:layout_width=\"match_parent\"-->\n    <!--    android:layout_height=\"wrap_content\"-->\n    <!--    android:layout_below=\"@id/frame\">-->\n\n    <!--    <RelativeLayout-->\n    <!--        android:layout_width=\"match_parent\"-->\n    <!--        android:layout_height=\"500dp\"-->\n    <!--        android:orientation=\"vertical\">-->\n\n    <!--        <eightbitlab.com.blurview.BlurView-->\n    <!--            android:id=\"@+id/blurView5\"-->\n    <!--            android:layout_width=\"match_parent\"-->\n    <!--            android:layout_height=\"match_parent\"-->\n    <!--            android:background=\"#00000000\"-->\n    <!--            android:clipChildren=\"false\"-->\n    <!--            android:elevation=\"8dp\"-->\n    <!--            android:fadingEdge=\"vertical\"-->\n    <!--            android:fadingEdgeLength=\"240dp\"-->\n    <!--            android:requiresFadingEdge=\"vertical\">-->\n\n\n    <!--        </eightbitlab.com.blurview.BlurView>-->\n\n\n    <!--    </RelativeLayout>-->\n\n\n    <!--    <eightbitlab.com.blurview.BlurView-->\n    <!--        android:id=\"@+id/blurView4\"-->\n    <!--        android:layout_centerHorizontal=\"true\"-->\n    <!--        android:layout_width=\"wrap_content\"-->\n    <!--        android:layout_height=\"wrap_content\"-->\n    <!--        android:background=\"#00000000\"-->\n    <!--        android:clipChildren=\"false\"-->\n    <!--        android:elevation=\"8dp\"-->\n    <!--        android:layout_marginTop=\"80dp\"-->\n    <!--        android:fadingEdge=\"vertical\"-->\n    <!--        android:fadingEdgeLength=\"240dp\"-->\n    <!--        android:requiresFadingEdge=\"vertical\">-->\n\n\n    <!--    </eightbitlab.com.blurview.BlurView>-->\n\n    <!--    <com.google.android.material.button.MaterialButton-->\n    <!--        android:id=\"@+id/download\"-->\n    <!--        style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"-->\n    <!--        android:layout_width=\"50dp\"-->\n    <!--        android:layout_height=\"48dp\"-->\n    <!--        android:layout_below=\"@id/GenresText\"-->\n    <!--        android:layout_marginStart=\"20dp\"-->\n    <!--        android:layout_marginTop=\"15dp\"-->\n    <!--        android:clickable=\"true\"-->\n    <!--        android:focusable=\"true\"-->\n    <!--        android:orientation=\"horizontal\"-->\n    <!--        app:icon=\"@drawable/ic_download\"-->\n    <!--        app:iconGravity=\"textStart\"-->\n    <!--        app:iconTint=\"@color/download_button_bg_color\" />-->\n\n    <!--    &lt;!&ndash;        <com.google.android.material.button.MaterialButton&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:id=\"@+id/changeTMDBId\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_width=\"50dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_height=\"48dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_below=\"@id/labels\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_alignParentEnd=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_marginTop=\"15dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:clickable=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:focusable=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:orientation=\"horizontal\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:icon=\"@drawable/ic_change\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:iconGravity=\"textStart\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:iconTint=\"#626161\" />&ndash;&gt;-->\n\n\n    <!--</androidx.core.widget.NestedScrollView>-->\n\n\n    <!--            <ImageView-->\n    <!--                android:id=\"@+id/moviePosterInDetails\"-->\n    <!--                android:layout_width=\"133dp\"-->\n    <!--                android:layout_height=\"200dp\"-->\n    <!--                android:layout_marginTop=\"150dp\"-->\n    <!--                android:scaleType=\"centerCrop\"-->\n    <!--                android:src=\"@color/transparent\" />-->\n\n\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_files_library.xml",
    "content": "<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:background=\"@drawable/splash_bg_gradient\">\n\n    <androidx.recyclerview.widget.RecyclerView\n        android:id=\"@+id/recyclerAvailableFiles\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:clipToPadding=\"false\"\n        android:nestedScrollingEnabled=\"false\"\n        android:paddingBottom=\"85dp\"\n        android:scrollbars=\"vertical\"\n        tools:itemCount=\"5\"\n        tools:listitem=\"@layout/file_item\" />\n\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_home.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/black\"\n    android:orientation=\"vertical\"\n    tools:context=\"com.theflexproject.thunder.fragments.HomeFragment\">\n\n\n    <TextView\n        android:id=\"@+id/hometitle\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_marginStart=\"20dp\"\n        android:layout_marginTop=\"40dp\"\n        android:fontFamily=\"@font/jost_medium\"\n        android:text=\"Home\"\n        android:textColor=\"@color/white\"\n        android:textSize=\"25sp\" />\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:paddingBottom=\"85dp\"\n        android:clipToPadding=\"false\"\n        android:scrollbars=\"vertical\">\n\n        <LinearLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:orientation=\"vertical\">\n\n\n            <TextView\n                android:id=\"@+id/recentlyAdded\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:layout_marginTop=\"10dp\"\n                android:visibility=\"gone\"\n                android:paddingStart=\"20dp\"\n                android:text=\"Recently Added\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"16sp\" />\n\n            <androidx.recyclerview.widget.RecyclerView\n                android:id=\"@+id/recentlyAddedRecycler\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:orientation=\"horizontal\"\n                android:scrollbars=\"horizontal\"\n                android:layout_marginTop=\"14dp\"\n                app:layoutManager=\"androidx.recyclerview.widget.LinearLayoutManager\"\n                tools:listitem=\"@layout/movie_item_banner\" />\n\n            <TextView\n                android:id=\"@+id/newReleasesMovies\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:paddingStart=\"20dp\"\n                android:text=\"New Releases\"\n                android:visibility=\"gone\"\n\n                android:textColor=\"@color/white\"\n                android:layout_marginTop=\"10dp\"\n                android:textSize=\"16sp\" />\n\n            <androidx.recyclerview.widget.RecyclerView\n                android:id=\"@+id/recentlyReleasedMoviesRecycler\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_marginTop=\"14dp\"\n                android:scrollbars=\"horizontal\" />\n\n            <TextView\n                android:id=\"@+id/topRatedMovies\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:layout_marginTop=\"10dp\"\n                android:paddingStart=\"20dp\"\n                android:text=\"Top Rated\"\n                android:visibility=\"gone\"\n\n                android:textColor=\"@color/white\"\n                android:textSize=\"16sp\" />\n\n            <androidx.recyclerview.widget.RecyclerView\n                android:id=\"@+id/topRatedMoviesRecycler\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:scrollbars=\"horizontal\"\n                android:layout_marginTop=\"14dp\"/>\n\n            <TextView\n                android:id=\"@+id/lastPlayedMovies\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:paddingStart=\"20dp\"\n                android:text=\"Last Played\"\n                android:visibility=\"gone\"\n                android:layout_marginTop=\"10dp\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"16sp\" />\n\n            <androidx.recyclerview.widget.RecyclerView\n                android:id=\"@+id/lastPlayedMoviesRecycler\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:scrollbars=\"horizontal\"\n                android:layout_marginTop=\"14dp\"\n                android:visibility=\"gone\" />\n\n            <TextView\n                android:id=\"@+id/watchListMedia\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:paddingStart=\"20dp\"\n                android:text=\"Watchlist\"\n                android:visibility=\"gone\"\n                android:layout_marginTop=\"10dp\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"16sp\" />\n\n            <androidx.recyclerview.widget.RecyclerView\n                android:id=\"@+id/watchListMediaRecycler\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:scrollbars=\"horizontal\"\n                android:layout_marginTop=\"14dp\"\n                android:visibility=\"gone\" />\n\n            <TextView\n                android:id=\"@+id/newSeason\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_marginTop=\"10dp\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:paddingStart=\"20dp\"\n                android:text=\"New Episodes\"\n                android:visibility=\"gone\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"16sp\"\n                app:layout_constraintStart_toStartOf=\"parent\"\n                app:layout_constraintTop_toBottomOf=\"@+id/recyclertoprated\" />\n\n            <androidx.recyclerview.widget.RecyclerView\n                android:id=\"@+id/newSeasonRecycler\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_marginTop=\"14dp\"\n                android:scrollbars=\"horizontal\" />\n\n            <TextView\n                android:id=\"@+id/topRatedTVShows\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:layout_marginTop=\"10dp\"\n                android:paddingStart=\"20dp\"\n                android:text=\"Top Rated Shows\"\n                android:visibility=\"gone\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"16sp\" />\n\n            <androidx.recyclerview.widget.RecyclerView\n                android:id=\"@+id/topRatedTVShowsRecycler\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_marginTop=\"14dp\"\n                android:scrollbars=\"horizontal\" />\n\n        </LinearLayout>\n<!--            <TextView-->\n<!--                android:id=\"@+id/RecentlyaddedTVshows\"-->\n<!--                android:layout_width=\"wrap_content\"-->\n<!--                android:layout_height=\"wrap_content\"-->\n<!--                android:fontFamily=\"@font/jost_medium\"-->\n<!--                android:paddingStart=\"20dp\"-->\n<!--                android:text=\"Last Played\"-->\n<!--                android:textColor=\"@color/white\"-->\n<!--                android:textSize=\"16sp\"-->\n<!--                android:visibility=\"visible\" />-->\n\n<!--            <androidx.recyclerview.widget.RecyclerView-->\n<!--                android:id=\"@+id/recyclerRecentlyaddedTVshows\"-->\n<!--                android:layout_width=\"wrap_content\"-->\n<!--                android:layout_height=\"wrap_content\"-->\n<!--                android:layout_marginTop=\"14dp\"-->\n<!--                android:scrollbars=\"horizontal\" />-->\n\n\n            <!--    <androidx.recyclerview.widget.RecyclerView-->\n            <!--        android:id=\"@+id/nestedRecycler\"-->\n            <!--        android:layout_width=\"match_parent\"-->\n            <!--        android:layout_height=\"wrap_content\"-->\n            <!--        android:paddingTop=\"10dp\"-->\n            <!--        tools:listitem=\"@layout/home_item\">-->\n            <!--    </androidx.recyclerview.widget.RecyclerView>-->\n\n        <!--        <LinearLayout-->\n        <!--            android:layout_width=\"match_parent\"-->\n        <!--            android:layout_height=\"wrap_content\"-->\n        <!--            android:orientation=\"vertical\"-->\n        <!--            android:paddingHorizontal=\"10dp\"-->\n        <!--            android:paddingBottom=\"100dp\">-->\n\n\n        <!--</LinearLayout>-->\n    </androidx.core.widget.NestedScrollView>\n</LinearLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_library.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/black\"\n    android:orientation=\"vertical\">\n\n    <TextView\n        android:id=\"@+id/libraryTitle\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_marginStart=\"20dp\"\n        android:layout_marginTop=\"40dp\"\n        android:fontFamily=\"@font/jost_medium\"\n        android:text=\"Library\"\n        android:textColor=\"@color/white\"\n        android:textSize=\"25sp\"/>\n\n    <com.google.android.material.tabs.TabLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:layout_marginVertical=\"5dp\"\n        android:id=\"@+id/tabLayout\"\n        app:tabTextAppearance=\"@style/tabText\"\n        style=\"@style/RoundedTabLayoutStyle\"\n        app:layout_constraintTop_toBottomOf=\"@id/libraryTitle\">\n\n\n\n        <com.google.android.material.tabs.TabItem\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:text=\"Movies\"\n            android:id=\"@+id/movieTab\"\n            android:focusable=\"true\"\n            android:clickable=\"true\"\n            android:nextFocusRight=\"@id/tvTab\"/>\n\n        <com.google.android.material.tabs.TabItem\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:text=\"TV Shows\"\n            android:id=\"@+id/tvTab\"\n            android:focusable=\"true\"\n            android:clickable=\"true\"\n            android:nextFocusLeft=\"@id/movieTab\"/>\n\n        <com.google.android.material.tabs.TabItem\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:text=\"Files\"\n            android:id=\"@+id/filesTab\"\n            android:focusable=\"true\"\n            android:clickable=\"true\"\n            android:nextFocusLeft=\"@id/movieTab\"/>\n\n    </com.google.android.material.tabs.TabLayout>\n\n    <androidx.viewpager2.widget.ViewPager2\n        android:id=\"@+id/viewPagerLibrary\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/>\n\n\n\n</LinearLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_manage_database.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:id=\"@+id/containerDbManager\"\n    android:orientation=\"vertical\"\n    android:clickable=\"true\"\n    android:focusable=\"true\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/black\"\n    tools:context=\"com.theflexproject.thunder.fragments.ManageIndexesFragment\">\n\n    <TextView\n        android:id=\"@+id/DBTitle\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_marginStart=\"20dp\"\n        android:layout_marginTop=\"40dp\"\n        android:fontFamily=\"@font/jost_medium\"\n        android:text=\"Manage Database\"\n        android:textColor=\"@color/white\"\n        android:textSize=\"25sp\" />\n\n    <Button\n        android:id=\"@+id/importDatabase\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"55dp\"\n        android:layout_marginTop=\"25dp\"\n        android:background=\"@color/black\"\n        android:clickable=\"true\"\n        android:focusable=\"true\"\n        android:fontFamily=\"@font/jost_regular\"\n        android:insetTop=\"0dp\"\n        android:insetBottom=\"0dp\"\n        android:letterSpacing=\"0.001\"\n        android:paddingStart=\"32dp\"\n        android:paddingEnd=\"32dp\"\n        android:text=\"Import Database\"\n        android:textAlignment=\"viewStart\"\n        android:textAllCaps=\"false\"\n        android:nextFocusDown=\"@id/exportDatabase\"\n        android:textColor=\"@color/download_button_bg_color\"\n        android:textSize=\"16sp\"\n        android:visibility=\"visible\"\n        app:cornerRadius=\"0dp\"\n        app:icon=\"@drawable/ic_import\"\n        app:iconPadding=\"16dp\"\n        app:iconSize=\"24dp\"\n        app:iconTint=\"@color/white\" />\n\n    <View android:visibility=\"visible\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"1dp\"\n        android:layout_marginStart=\"-16dp\"\n        android:layout_marginEnd=\"-16dp\"\n        android:background=\"#393838\" />\n\n    <Button android:visibility=\"visible\"\n        android:id=\"@+id/exportDatabase\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"55dp\"\n        android:background=\"@color/black\"\n        android:fontFamily=\"@font/jost_regular\"\n        android:insetTop=\"0dp\"\n        android:insetBottom=\"0dp\"\n        android:paddingStart=\"32dp\"\n        android:paddingEnd=\"32dp\"\n        android:text=\"Export Database\"\n        android:nextFocusUp=\"@id/importDatabase\"\n        android:letterSpacing=\"0.001\"\n        android:textSize=\"16sp\"\n        android:textAlignment=\"viewStart\"\n        android:textAllCaps=\"false\"\n        android:clickable=\"true\"\n        android:focusable=\"true\"\n        android:textColor=\"@color/download_button_bg_color\"\n        app:cornerRadius=\"0dp\"\n        app:icon=\"@drawable/ic_export\"\n        app:iconPadding=\"16dp\"\n        app:iconSize=\"24dp\"\n        app:iconTint=\"@color/white\" />\n\n\n\n    <View\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"1dp\"\n        android:layout_marginStart=\"-16dp\"\n        android:layout_marginEnd=\"-16dp\"\n        android:background=\"#393838\" />\n\n    <TextView\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:layout_margin=\"20dp\"\n    android:fontFamily=\"@font/jost_regular\"\n    android:gravity=\"center\"\n    android:textAlignment=\"gravity\"\n    android:text=\"@string/import_export_instructions\"\n    android:textColor=\"#858484\"\n    android:textSize=\"14sp\" />\n\n</LinearLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/fragment_manage_indexes.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:id=\"@+id/containersettings\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:clickable=\"true\"\n    android:focusable=\"true\"\n    android:background=\"@color/black\"\n    tools:context=\"com.theflexproject.thunder.fragments.ManageIndexesFragment\">\n\n\n    <TextView\n        android:id=\"@+id/manage_inde\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentTop=\"true\"\n        android:layout_marginStart=\"16dp\"\n        android:layout_marginTop=\"35dp\"\n        android:fontFamily=\"@font/jost_medium\"\n        android:gravity=\"top\"\n        android:text=\"ManageIndexes\"\n        android:textColor=\"@color/white\"\n        android:textSize=\"25sp\"\n        android:textStyle=\"bold\" />\n\n    <TextView\n        android:id=\"@+id/SettingsTitle\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentStart=\"true\"\n        android:layout_alignParentTop=\"true\"\n        android:layout_marginStart=\"20dp\"\n        android:layout_marginTop=\"40dp\"\n        android:fontFamily=\"@font/jost_medium\"\n        android:textColor=\"@color/white\"\n        android:textSize=\"25sp\" />\n\n    <androidx.recyclerview.widget.RecyclerView\n        android:id=\"@+id/recyclerviewindexes\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:layout_below=\"@id/SettingsTitle\"\n        android:layout_gravity=\"center_horizontal\"\n        android:layout_marginLeft=\"5dp\"\n        android:layout_marginTop=\"30dp\"\n        android:layout_marginRight=\"5dp\"\n        android:clipToPadding=\"false\"\n        android:paddingBottom=\"150dp\"\n        android:scrollbars=\"horizontal\"\n        tools:itemCount=\"9\"\n        tools:listitem=\"@layout/index_item\" />\n\n\n    <com.google.android.material.floatingactionbutton.FloatingActionButton\n        android:id=\"@+id/floating_button_add\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentEnd=\"true\"\n        android:layout_alignParentBottom=\"true\"\n        android:layout_gravity=\"bottom|right\"\n        android:layout_marginEnd=\"25dp\"\n        android:layout_marginBottom=\"100dp\"\n        android:backgroundTint=\"#FE2222\"\n        android:clickable=\"true\"\n        android:contentDescription=\"@string/todo\"\n        android:focusable=\"true\"\n        android:src=\"@drawable/ic_add\"\n        app:fabSize=\"normal\"\n        tools:ignore=\"RtlHardcoded\" />\n\n\n</RelativeLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/fragment_movie_details.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:orientation=\"vertical\"\n    android:background=\"@color/black\">\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\">\n\n        <ImageView\n            android:id=\"@+id/movieBackdrop\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"450dp\"\n            android:scaleType=\"centerCrop\"\n            tools:src=\"@color/transparent\" />\n\n        <LinearLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"460dp\"\n            android:orientation=\"vertical\">\n            <View\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"0dp\"\n                android:layout_weight=\"0.3\"\n                android:background=\"@drawable/gradient_top_bottom_bg\" />\n        </LinearLayout>\n\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"500dp\"\n            android:orientation=\"vertical\">\n\n            <eightbitlab.com.blurview.BlurView\n                android:id=\"@+id/blurView4\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:background=\"#00000000\"\n                android:clipChildren=\"false\"\n                android:elevation=\"8dp\"\n                android:fadingEdge=\"vertical\"\n                android:fadingEdgeLength=\"240dp\"\n                android:requiresFadingEdge=\"vertical\">\n\n\n            </eightbitlab.com.blurview.BlurView>\n\n\n        </RelativeLayout>\n    </RelativeLayout>\n\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\">\n\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:layout_marginHorizontal=\"20dp\">\n\n\n        <ImageView\n            android:id=\"@+id/moviePosterInDetails\"\n            android:layout_width=\"133dp\"\n            android:layout_height=\"200dp\"\n            android:layout_marginTop=\"150dp\"\n            android:scaleType=\"centerCrop\"\n            android:src=\"@color/transparent\" />\n\n\n        <ImageView\n            android:id=\"@+id/movieLogo\"\n            android:layout_width=\"100dp\"\n            android:layout_height=\"70dp\"\n            android:layout_margin=\"15dp\"\n            android:layout_above=\"@+id/labels\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_toEndOf=\"@+id/moviePosterInDetails\"\n            android:scaleType=\"fitCenter\"\n            android:src=\"@color/transparent\"\n            android:visibility=\"gone\" />\n\n        <TextView\n            android:id=\"@+id/title_text\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_above=\"@+id/labels\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_toEndOf=\"@+id/moviePosterInDetails\"\n            android:fontFamily=\"@font/jost_medium\"\n            android:gravity=\"center\"\n            android:paddingHorizontal=\"10dp\"\n            android:textColor=\"@color/white\"\n            android:textSize=\"20sp\"\n            android:textStyle=\"bold\"\n            android:visibility=\"gone\"\n            tools:text=\"Movie Title\" />\n\n\n        <androidx.constraintlayout.widget.ConstraintLayout\n            android:id=\"@+id/labels\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_above=\"@id/play\"\n            android:layout_toEndOf=\"@id/moviePosterInDetails\">\n\n\n            <TextView\n                android:id=\"@+id/year_text\"\n                style=\"@style/sizelabel\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_centerHorizontal=\"true\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:gravity=\"center_horizontal\"\n                android:textColor=\"#CCCCCC\"\n                android:textSize=\"10sp\"\n                android:visibility=\"gone\"\n                app:layout_constraintBottom_toTopOf=\"@id/ratings\"\n                app:layout_constraintEnd_toStartOf=\"@+id/RuntimeText\"\n                app:layout_constraintHorizontal_bias=\"0.5\"\n                app:layout_constraintStart_toStartOf=\"parent\"\n                app:layout_constraintTop_toTopOf=\"parent\"\n                tools:text=\"2099\" />\n\n                <TextView\n                    android:id=\"@+id/RuntimeText\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    style=\"@style/sizelabel\"\n                    android:textColor=\"#CCCCCC\"\n                    android:visibility=\"gone\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    app:layout_constraintBottom_toTopOf=\"@id/ratings\"\n                    app:layout_constraintEnd_toEndOf=\"parent\"\n                    android:textSize=\"10sp\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toEndOf=\"@+id/year_text\"\n                    app:layout_constraintTop_toTopOf=\"parent\"\n                    android:text=\"1h 30m\" />\n\n            <ImageView\n                android:id=\"@+id/ratings\"\n                android:layout_width=\"30dp\"\n                android:layout_height=\"30dp\"\n                android:src=\"@drawable/tmdb\"\n                android:visibility=\"gone\"\n                app:layout_constraintTop_toTopOf=\"parent\"\n                app:layout_constraintBottom_toBottomOf=\"parent\"\n                app:layout_constraintEnd_toEndOf=\"parent\"\n                app:layout_constraintHorizontal_bias=\"0.5\"\n                app:layout_constraintStart_toStartOf=\"parent\" />\n\n            <TextView\n                android:id=\"@+id/ratingsText\"\n                style=\"@style/sizelabel\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_toEndOf=\"@+id/year_text\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:gravity=\"center_horizontal\"\n                android:textColor=\"#CCCCCC\"\n                android:textSize=\"13sp\"\n                android:visibility=\"gone\"\n                app:layout_constraintTop_toTopOf=\"parent\"\n                app:layout_constraintBottom_toBottomOf=\"parent\"\n                app:layout_constraintHorizontal_bias=\"0.5\"\n                app:layout_constraintStart_toEndOf=\"@+id/ratings\"\n                tools:text=\"86 %\" />\n\n\n        </androidx.constraintlayout.widget.ConstraintLayout>\n\n\n        <com.google.android.material.button.MaterialButton\n            android:id=\"@+id/play\"\n            style=\"@style/Widget.MaterialComponents.Button.Icon\"\n            android:layout_width=\"133dp\"\n            android:layout_height=\"48dp\"\n            android:layout_below=\"@id/moviePosterInDetails\"\n            android:layout_marginTop=\"15dp\"\n            android:clickable=\"true\"\n            android:focusable=\"true\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:orientation=\"horizontal\"\n            android:padding=\"10dp\"\n            android:text=\"@string/play\"\n            android:textColor=\"@color/white\"\n            app:backgroundTint=\"#111111\"\n            app:icon=\"@drawable/ic_play\"\n            app:iconGravity=\"textStart\"\n            app:iconTint=\"@color/download_button_bg_color\" />\n\n        <com.google.android.material.button.MaterialButton\n            android:id=\"@+id/download\"\n            style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"\n            android:layout_width=\"50dp\"\n            android:layout_height=\"48dp\"\n            android:layout_below=\"@id/labels\"\n            android:layout_marginStart=\"20dp\"\n            android:layout_marginTop=\"15dp\"\n            android:layout_toEndOf=\"@id/play\"\n            android:clickable=\"true\"\n            android:focusable=\"true\"\n            android:orientation=\"horizontal\"\n            app:icon=\"@drawable/ic_download\"\n            app:iconGravity=\"textStart\"\n            app:iconTint=\"@color/download_button_bg_color\" />\n\n<!--        <com.google.android.material.button.MaterialButton-->\n<!--            android:id=\"@+id/changeTMDBId\"-->\n<!--            style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"-->\n<!--            android:layout_width=\"50dp\"-->\n<!--            android:layout_height=\"48dp\"-->\n<!--            android:layout_below=\"@id/labels\"-->\n<!--            android:layout_alignParentEnd=\"true\"-->\n<!--            android:layout_marginTop=\"15dp\"-->\n<!--            android:clickable=\"true\"-->\n<!--            android:focusable=\"true\"-->\n<!--            android:orientation=\"horizontal\"-->\n<!--            app:icon=\"@drawable/ic_change\"-->\n<!--            app:iconGravity=\"textStart\"-->\n<!--            app:iconTint=\"#626161\" />-->\n\n        <LinearLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:orientation=\"vertical\"\n            android:layout_below=\"@id/play\">\n            <TextView\n                android:id=\"@+id/overviewtext\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:text=\"@string/overview\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"18sp\">\n\n            </TextView>\n            <TextView\n                android:id=\"@+id/overviewdesc\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_marginTop=\"12dp\"\n                android:textColor=\"@color/white\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:textSize=\"14sp\"\n                tools:text=\"Basically the whole plot of movie\" />\n\n            <TableLayout\n                android:id=\"@+id/detailsTable\"\n                android:layout_marginTop=\"15dp\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\">\n                <TableRow\n                    android:id=\"@+id/Director\"\n                    android:padding=\"5dp\"\n                    android:visibility=\"gone\">\n                    <TextView\n                        android:layout_width=\"0dp\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_weight=\".4\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"14sp\"\n                        android:text=\"Director :\" />\n\n                    <TextView\n                        android:id=\"@+id/DirectorText\"\n                        android:layout_width=\"0dp\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_weight=\".6\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"14sp\" />\n\n                </TableRow>\n                <TableRow android:visibility=\"gone\"\n                    android:id=\"@+id/WrittenBy\"\n                    android:padding=\"5dp\">\n                    <TextView\n                        android:layout_width=\"0dp\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_weight=\".4\"\n                        android:textColor=\"@color/white\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textSize=\"14sp\"\n                        android:text=\"Written By :\" />\n                    <TextView\n                        android:id=\"@+id/WrittenByText\"\n                        android:layout_width=\"0dp\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_weight=\".6\"\n\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"14sp\" />\n\n\n                </TableRow>\n                <TableRow android:id=\"@+id/Genres\" android:visibility=\"gone\"\n                    android:padding=\"5dp\">\n                    <TextView\n                        android:layout_width=\"0dp\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_weight=\".4\"\n                        android:textColor=\"@color/white\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textSize=\"14sp\"\n                        android:text=\"Genres :\" />\n                    <TextView\n                        android:id=\"@+id/GenresText\"\n                        android:layout_width=\"0dp\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_weight=\".6\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"14sp\" />\n\n                </TableRow>\n\n<!--                <TableRow-->\n<!--                    android:padding=\"5dp\">-->\n<!--                    <TextView-->\n<!--                    android:id=\"@+id/Budget\"-->\n<!--                    android:layout_width=\"wrap_content\"-->\n<!--                    android:layout_height=\"wrap_content\"-->\n<!--                    android:layout_below=\"@id/videoQualityText\"-->\n<!--                    android:fontFamily=\"@font/jost_regular\"-->\n<!--                    android:textColor=\"@color/white\"-->\n<!--                    android:textSize=\"14sp\"-->\n<!--                    tools:text=\"Budget :\" />-->\n<!--                    <TextView-->\n<!--                        android:id=\"@+id/BudgetText\"-->\n<!--                        android:layout_width=\"wrap_content\"-->\n<!--                        android:layout_height=\"wrap_content\"-->\n<!--                        android:layout_below=\"@id/videoQualityText\"-->\n<!--                        android:layout_toEndOf=\"@id/Budget\"-->\n<!--                        android:fontFamily=\"@font/jost_regular\"-->\n<!--                        android:textColor=\"@color/white\"-->\n<!--                        android:textSize=\"14sp\"-->\n<!--                        tools:text=\"THE DIRECTOR\" />-->\n<!--                </TableRow>-->\n<!--                <TableRow-->\n<!--                    android:padding=\"5dp\">-->\n<!--                    <TextView-->\n<!--                        android:id=\"@+id/Revenue\"-->\n<!--                        android:layout_width=\"wrap_content\"-->\n<!--                        android:layout_height=\"wrap_content\"-->\n<!--                        android:layout_below=\"@id/Budget\"-->\n<!--                        android:fontFamily=\"@font/jost_regular\"-->\n<!--                        android:textColor=\"@color/white\"-->\n<!--                        android:textSize=\"14sp\"-->\n<!--                        tools:text=\"Revenue :\" />-->\n\n<!--                    <TextView-->\n<!--                        android:id=\"@+id/RevenueText\"-->\n<!--                        android:layout_width=\"wrap_content\"-->\n<!--                        android:layout_height=\"wrap_content\"-->\n<!--                        android:layout_below=\"@id/Budget\"-->\n<!--                        android:layout_toEndOf=\"@id/Revenue\"-->\n<!--                        android:fontFamily=\"@font/jost_regular\"-->\n<!--                        android:textColor=\"@color/white\"-->\n<!--                        android:textSize=\"14sp\"-->\n<!--                        tools:text=\"THE DIRECTOR\" />-->\n<!--                </TableRow>-->\n\n            </TableLayout>\n\n            <TextView\n                android:id=\"@+id/linktitle\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_marginTop=\"5dp\"\n                android:textSize=\"18sp\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:text=\"Available Files\"\n                android:textColor=\"@color/white\"/>\n\n            <androidx.recyclerview.widget.RecyclerView\n                android:id=\"@+id/recyclerAvailableMovieFiles\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:clipToPadding=\"false\"\n                android:paddingBottom=\"85dp\"\n                android:nestedScrollingEnabled=\"false\"\n                tools:itemCount=\"5\"\n                tools:listitem=\"@layout/file_item\"/>\n\n        </LinearLayout>\n\n    </RelativeLayout>\n    </androidx.core.widget.NestedScrollView>\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_movie_details_new.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:focusable=\"true\"\n    android:clickable=\"true\"\n    android:background=\"@color/black\"\n    android:orientation=\"vertical\">\n\n\n    <ImageView\n        android:id=\"@+id/movieBackdrop\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"290dp\"\n        android:scaleType=\"centerCrop\"\n        tools:src=\"@drawable/dummyposter\" />\n\n    <LinearLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"300dp\"\n        android:orientation=\"vertical\">\n\n        <View\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"0dp\"\n            android:layout_weight=\"0.2\"\n            android:background=\"@drawable/gradient_top_bottom_bg\" />\n    </LinearLayout>\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\">\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\">\n\n            <RelativeLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"300dp\">\n\n\n                <ImageButton\n                    android:id=\"@+id/play\"\n                    android:layout_width=\"50dp\"\n                    android:layout_height=\"50dp\"\n                    android:layout_centerInParent=\"true\"\n                    android:background=\"@drawable/play_shape\"\n                    android:backgroundTint=\"@color/download_button_bg_color\"\n                    android:clickable=\"true\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:orientation=\"horizontal\"\n                    android:src=\"@drawable/ic_play\"\n                    app:cornerRadius=\"100dp\" />\n\n                <TextView\n                    android:id=\"@+id/title_text\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_alignParentBottom=\"true\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:autoSizeMaxTextSize=\"28sp\"\n                    android:autoSizeMinTextSize=\"16sp\"\n                    android:autoSizeTextType=\"uniform\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:maxHeight=\"80dp\"\n                    android:textAlignment=\"center\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"27sp\"\n                    android:textStyle=\"bold\"\n                    android:visibility=\"visible\"\n                    tools:text=\"Movie Title\" />\n\n                <ImageView\n                    android:id=\"@+id/movieLogo\"\n                    android:layout_width=\"175dp\"\n                    android:layout_height=\"80dp\"\n                    android:layout_alignParentBottom=\"true\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:scaleType=\"fitCenter\"\n                    android:src=\"@drawable/dummyposter\"\n                    android:visibility=\"invisible\" />\n\n            </RelativeLayout>\n\n            <RelativeLayout\n                android:id=\"@+id/relativeContainer\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:layout_marginTop=\"300dp\">\n\n\n                <RelativeLayout\n                    android:id=\"@+id/labels\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginVertical=\"5dp\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:gravity=\"center_horizontal\">\n\n\n                    <TextView\n                        android:id=\"@+id/ratingsText\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_gravity=\"start|center_vertical\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textAlignment=\"viewStart\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"gone\"\n                        app:layout_constraintBottom_toBottomOf=\"parent\"\n                        app:layout_constraintHorizontal_bias=\"0.5\"\n                        app:layout_constraintStart_toEndOf=\"@+id/ratings\"\n                        app:layout_constraintTop_toTopOf=\"parent\"\n                        tools:text=\"8.6\" />\n\n                    <ImageView\n                        android:id=\"@+id/dot\"\n                        android:visibility=\"gone\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_centerInParent=\"true\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:layout_toEndOf=\"@id/ratingsText\"\n                        android:src=\"@drawable/oval\" />\n\n                    <TextView\n                        android:id=\"@+id/year_text\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_toEndOf=\"@id/dot\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\"\n                        tools:text=\"2099\" />\n\n\n                    <ImageView\n                        android:id=\"@+id/dot2\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_centerInParent=\"true\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:layout_toEndOf=\"@id/year_text\"\n                        android:src=\"@drawable/oval\" />\n\n                    <TextView\n                        android:id=\"@+id/RuntimeText\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n\n                        android:layout_height=\"wrap_content\"\n                        android:layout_toEndOf=\"@id/dot2\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:text=\"1h 30m\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\" />\n\n                    <ImageView\n                        android:id=\"@+id/ratings\"\n                        android:layout_width=\"30dp\"\n                        android:layout_height=\"30dp\"\n                        android:layout_gravity=\"start|center_vertical\"\n                        android:scaleType=\"fitCenter\"\n                        android:src=\"@drawable/tmdb\"\n                        android:visibility=\"gone\"\n                        app:layout_constraintBottom_toBottomOf=\"parent\"\n                        app:layout_constraintStart_toStartOf=\"parent\"\n                        app:layout_constraintTop_toTopOf=\"parent\" />\n\n                </RelativeLayout>\n\n                <LinearLayout\n                    android:id=\"@+id/ratingsLabels\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/labels\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:gravity=\"center_horizontal\"\n                    android:orientation=\"horizontal\"\n                    android:visibility=\"visible\">\n\n\n                    <TextView\n                        android:id=\"@+id/GenresText\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:ellipsize=\"end\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:gravity=\"start\"\n                        android:maxLines=\"1\"\n                        android:scrollHorizontally=\"true\"\n                        android:text=\"Action, Adventure, Fantasy\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\" />\n\n                </LinearLayout>\n\n\n                <LinearLayout\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/ratingsLabels\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:orientation=\"vertical\">\n\n\n                    <TextView\n                        android:id=\"@+id/overviewtext\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:text=\"@string/overview\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"18sp\"\n                        android:visibility=\"gone\">\n\n                    </TextView>\n\n                    <TextView\n                        android:id=\"@+id/overviewdesc\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginVertical=\"10dp\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\"\n                        tools:text=\"In the 22nd century, a paraplegic Marine is dispatched to the moon Pandora on a unique mission, but becomes torn between following orders and protecting an alien civilization.\" />\n\n                    <TableLayout\n                        android:id=\"@+id/detailsTable\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginTop=\"15dp\"\n                        android:visibility=\"gone\">\n\n                        <TableRow\n                            android:id=\"@+id/Director\"\n                            android:padding=\"5dp\"\n                            android:visibility=\"visible\">\n\n                            <TextView\n                                android:layout_width=\"0dp\"\n                                android:layout_height=\"wrap_content\"\n                                android:layout_weight=\".4\"\n                                android:fontFamily=\"@font/jost_regular\"\n                                android:text=\"Director :\"\n                                android:textColor=\"@color/white\"\n                                android:textSize=\"14sp\" />\n\n                            <TextView\n                                android:id=\"@+id/DirectorText\"\n                                android:layout_width=\"0dp\"\n                                android:layout_height=\"wrap_content\"\n                                android:layout_weight=\".6\"\n                                android:fontFamily=\"@font/jost_regular\"\n                                android:textColor=\"@color/white\"\n                                android:textSize=\"14sp\" />\n\n                        </TableRow>\n\n                        <TableRow\n                            android:id=\"@+id/WrittenBy\"\n                            android:padding=\"5dp\"\n                            android:visibility=\"visible\">\n\n                            <TextView\n                                android:layout_width=\"0dp\"\n                                android:layout_height=\"wrap_content\"\n                                android:layout_weight=\".4\"\n                                android:fontFamily=\"@font/jost_regular\"\n                                android:text=\"Written By :\"\n                                android:textColor=\"@color/white\"\n                                android:textSize=\"14sp\" />\n\n                            <TextView\n                                android:id=\"@+id/WrittenByText\"\n                                android:layout_width=\"0dp\"\n                                android:layout_height=\"wrap_content\"\n                                android:layout_weight=\".6\"\n\n                                android:fontFamily=\"@font/jost_regular\"\n                                android:textColor=\"@color/white\"\n                                android:textSize=\"14sp\" />\n\n\n                        </TableRow>\n\n                        <TableRow\n                            android:id=\"@+id/Genres\"\n                            android:padding=\"5dp\"\n                            android:visibility=\"visible\">\n\n                            <TextView\n                                android:layout_width=\"0dp\"\n                                android:layout_height=\"wrap_content\"\n                                android:layout_weight=\".4\"\n                                android:fontFamily=\"@font/jost_regular\"\n                                android:text=\"Genres :\"\n                                android:textColor=\"@color/white\"\n                                android:textSize=\"14sp\" />\n\n                            <!--                    <TextView-->\n                            <!--                        android:id=\"@+id/GenresText\"-->\n                            <!--                        android:layout_width=\"0dp\"-->\n                            <!--                        android:layout_height=\"wrap_content\"-->\n                            <!--                        android:layout_weight=\".6\"-->\n                            <!--                        android:fontFamily=\"@font/jost_regular\"-->\n                            <!--                        android:textColor=\"@color/white\"-->\n                            <!--                        android:textSize=\"14sp\" />-->\n\n                        </TableRow>\n\n                        <!--                <TableRow-->\n                        <!--                    android:padding=\"5dp\">-->\n                        <!--                    <TextView-->\n                        <!--                    android:id=\"@+id/Budget\"-->\n                        <!--                    android:layout_width=\"wrap_content\"-->\n                        <!--                    android:layout_height=\"wrap_content\"-->\n                        <!--                    android:layout_below=\"@id/videoQualityText\"-->\n                        <!--                    android:fontFamily=\"@font/jost_regular\"-->\n                        <!--                    android:textColor=\"@color/white\"-->\n                        <!--                    android:textSize=\"14sp\"-->\n                        <!--                    tools:text=\"Budget :\" />-->\n                        <!--                    <TextView-->\n                        <!--                        android:id=\"@+id/BudgetText\"-->\n                        <!--                        android:layout_width=\"wrap_content\"-->\n                        <!--                        android:layout_height=\"wrap_content\"-->\n                        <!--                        android:layout_below=\"@id/videoQualityText\"-->\n                        <!--                        android:layout_toEndOf=\"@id/Budget\"-->\n                        <!--                        android:fontFamily=\"@font/jost_regular\"-->\n                        <!--                        android:textColor=\"@color/white\"-->\n                        <!--                        android:textSize=\"14sp\"-->\n                        <!--                        tools:text=\"THE DIRECTOR\" />-->\n                        <!--                </TableRow>-->\n                        <!--                <TableRow-->\n                        <!--                    android:padding=\"5dp\">-->\n                        <!--                    <TextView-->\n                        <!--                        android:id=\"@+id/Revenue\"-->\n                        <!--                        android:layout_width=\"wrap_content\"-->\n                        <!--                        android:layout_height=\"wrap_content\"-->\n                        <!--                        android:layout_below=\"@id/Budget\"-->\n                        <!--                        android:fontFamily=\"@font/jost_regular\"-->\n                        <!--                        android:textColor=\"@color/white\"-->\n                        <!--                        android:textSize=\"14sp\"-->\n                        <!--                        tools:text=\"Revenue :\" />-->\n\n                        <!--                    <TextView-->\n                        <!--                        android:id=\"@+id/RevenueText\"-->\n                        <!--                        android:layout_width=\"wrap_content\"-->\n                        <!--                        android:layout_height=\"wrap_content\"-->\n                        <!--                        android:layout_below=\"@id/Budget\"-->\n                        <!--                        android:layout_toEndOf=\"@id/Revenue\"-->\n                        <!--                        android:fontFamily=\"@font/jost_regular\"-->\n                        <!--                        android:textColor=\"@color/white\"-->\n                        <!--                        android:textSize=\"14sp\"-->\n                        <!--                        tools:text=\"THE DIRECTOR\" />-->\n                        <!--                </TableRow>-->\n\n                    </TableLayout>\n\n                    <androidx.constraintlayout.widget.ConstraintLayout\n                        android:id=\"@+id/imageButtonContainer\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginBottom=\"20dp\"\n                        android:layout_marginVertical=\"5dp\"\n                        android:layout_gravity=\"bottom\">\n\n                        <ImageButton\n                            android:id=\"@+id/addToListButton\"\n                            android:layout_width=\"50dp\"\n                            android:layout_height=\"50dp\"\n                            app:layout_constraintStart_toStartOf=\"parent\"\n                            android:layout_toStartOf=\"@id/downloadButton\"\n                            android:layout_toEndOf=\"@id/changeSourceButton\"\n                            android:clickable=\"true\"\n                            android:backgroundTint=\"@color/download_button_bg_color\"\n\n                            android:focusable=\"true\"\n                            android:nextFocusRight=\"@id/downloadButton\"\n                            android:nextFocusDown=\"@id/downloadButton\"\n                            android:scaleType=\"centerInside\"\n                            android:background=\"@drawable/play_shape\"\n                            android:src=\"@drawable/ic_add\"\n                            app:layout_constraintBottom_toTopOf=\"@id/addToListText\"\n                            app:layout_constraintEnd_toStartOf=\"@+id/downloadButton\"\n                            app:layout_constraintTop_toTopOf=\"parent\" />\n\n                        <TextView\n                            android:id=\"@+id/addToListText\"\n                            style=\"@style/sizelabel\"\n                            android:layout_width=\"wrap_content\"\n                            android:layout_height=\"wrap_content\"\n                            android:ellipsize=\"end\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:gravity=\"start\"\n                            android:maxLines=\"1\"\n                            android:layout_marginVertical=\"8dp\"\n                            app:layout_constraintTop_toBottomOf=\"@id/addToListButton\"\n                            app:layout_constraintEnd_toEndOf=\"@id/addToListButton\"\n                            app:layout_constraintStart_toStartOf=\"@id/addToListButton\"\n                            app:layout_constraintBottom_toBottomOf=\"parent\"\n                            android:scrollHorizontally=\"true\"\n                            android:text=\"Add to List\"\n                            android:textColor=\"#CCCCCC\"\n                            android:textSize=\"14sp\"\n                            android:visibility=\"visible\" />\n\n                        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n                        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n                        <ImageButton\n                            android:id=\"@+id/downloadButton\"\n                            android:layout_width=\"50dp\"\n                            android:layout_height=\"50dp\"\n                            android:layout_alignParentEnd=\"true\"\n                            android:background=\"@drawable/play_shape\"\n                            android:clickable=\"true\"\n                            android:focusable=\"true\"\n                            android:backgroundTint=\"@color/download_button_bg_color\"\n                            android:nextFocusLeft=\"@id/addToListButton\"\n                            android:nextFocusRight=\"@id/changeSourceButton\"\n                            android:nextFocusUp=\"@id/addToListButton\"\n                            android:nextFocusDown=\"@id/changeSourceButton\"\n                            android:scaleType=\"centerInside\"\n                            android:src=\"@drawable/ic_download\"\n                            app:layout_constraintBottom_toTopOf=\"@id/downloadText\"\n                            app:layout_constraintEnd_toEndOf=\"parent\"\n                            app:layout_constraintStart_toStartOf=\"parent\"\n                            app:layout_constraintTop_toTopOf=\"parent\"\n                           />\n\n                        <TextView\n                            android:id=\"@+id/downloadText\"\n                            style=\"@style/sizelabel\"\n                            android:layout_width=\"wrap_content\"\n                            android:layout_height=\"wrap_content\"\n                            android:ellipsize=\"end\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:gravity=\"start\"\n                            android:maxLines=\"1\"\n                            android:layout_marginVertical=\"8dp\"\n                            app:layout_constraintTop_toBottomOf=\"@id/downloadButton\"\n                            app:layout_constraintEnd_toEndOf=\"@id/downloadButton\"\n                            app:layout_constraintBottom_toBottomOf=\"parent\"\n                            app:layout_constraintStart_toStartOf=\"@id/downloadButton\"\n                            android:scrollHorizontally=\"true\"\n                            android:text=\"Download\"\n                            android:textColor=\"#CCCCCC\"\n                            android:textSize=\"14sp\"\n                            android:visibility=\"visible\" />\n\n                        <ImageButton\n                            android:id=\"@+id/changeSourceButton\"\n                            android:layout_width=\"50dp\"\n                            android:layout_height=\"50dp\"\n                            android:layout_alignParentStart=\"true\"\n                            android:background=\"@drawable/play_shape\"\n                            android:clickable=\"true\"\n                            app:layout_constraintEnd_toEndOf=\"parent\"\n                            android:contentDescription=\"discord\"\n                            android:focusable=\"true\"\n                            android:nextFocusLeft=\"@id/downloadButton\"\n                            android:nextFocusUp=\"@id/downloadButton\"\n                            android:scaleType=\"centerInside\"\n                            android:backgroundTint=\"@color/download_button_bg_color\"\n                            android:src=\"@drawable/ic_settings\"\n                            app:layout_constraintBottom_toTopOf=\"@id/sourceText\"\n                            app:layout_constraintHorizontal_bias=\"0.5\"\n                            app:layout_constraintHorizontal_chainStyle=\"packed\"\n                            app:layout_constraintStart_toEndOf=\"@id/downloadButton\"\n                            app:layout_constraintTop_toTopOf=\"parent\" />\n\n\n                        <TextView\n                            android:id=\"@+id/sourceText\"\n                            style=\"@style/sizelabel\"\n                            android:layout_width=\"wrap_content\"\n                            android:layout_height=\"wrap_content\"\n                            android:ellipsize=\"end\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:gravity=\"start\"\n                            android:maxLines=\"1\"\n                            android:layout_marginVertical=\"8dp\"\n                            app:layout_constraintTop_toBottomOf=\"@id/changeSourceButton\"\n                            app:layout_constraintEnd_toEndOf=\"@id/changeSourceButton\"\n                            app:layout_constraintBottom_toBottomOf=\"parent\"\n                            app:layout_constraintStart_toStartOf=\"@id/changeSourceButton\"\n                            android:scrollHorizontally=\"true\"\n                            android:text=\"Source\"\n                            android:textColor=\"#CCCCCC\"\n                            android:textSize=\"14sp\"\n                            android:visibility=\"visible\" />\n                        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n                    </androidx.constraintlayout.widget.ConstraintLayout>\n\n\n                    <TextView\n                        android:id=\"@+id/linktitle\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:text=\"@string/available_files\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"18sp\" />\n\n\n                    <androidx.recyclerview.widget.RecyclerView\n                        android:id=\"@+id/recyclerAvailableMovieFiles\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:clipToPadding=\"false\"\n                        android:nestedScrollingEnabled=\"false\"\n                        android:paddingBottom=\"85dp\"\n                        tools:itemCount=\"5\"\n                        tools:listitem=\"@layout/file_item\" />\n\n                </LinearLayout>\n\n            </RelativeLayout>\n        </RelativeLayout>\n    </androidx.core.widget.NestedScrollView>\n\n\n    <!--<androidx.core.widget.NestedScrollView-->\n    <!--    android:layout_width=\"match_parent\"-->\n    <!--    android:layout_height=\"wrap_content\"-->\n    <!--    android:layout_below=\"@id/frame\">-->\n\n    <!--    <RelativeLayout-->\n    <!--        android:layout_width=\"match_parent\"-->\n    <!--        android:layout_height=\"500dp\"-->\n    <!--        android:orientation=\"vertical\">-->\n\n    <!--        <eightbitlab.com.blurview.BlurView-->\n    <!--            android:id=\"@+id/blurView5\"-->\n    <!--            android:layout_width=\"match_parent\"-->\n    <!--            android:layout_height=\"match_parent\"-->\n    <!--            android:background=\"#00000000\"-->\n    <!--            android:clipChildren=\"false\"-->\n    <!--            android:elevation=\"8dp\"-->\n    <!--            android:fadingEdge=\"vertical\"-->\n    <!--            android:fadingEdgeLength=\"240dp\"-->\n    <!--            android:requiresFadingEdge=\"vertical\">-->\n\n\n    <!--        </eightbitlab.com.blurview.BlurView>-->\n\n\n    <!--    </RelativeLayout>-->\n\n\n    <!--    <eightbitlab.com.blurview.BlurView-->\n    <!--        android:id=\"@+id/blurView4\"-->\n    <!--        android:layout_centerHorizontal=\"true\"-->\n    <!--        android:layout_width=\"wrap_content\"-->\n    <!--        android:layout_height=\"wrap_content\"-->\n    <!--        android:background=\"#00000000\"-->\n    <!--        android:clipChildren=\"false\"-->\n    <!--        android:elevation=\"8dp\"-->\n    <!--        android:layout_marginTop=\"80dp\"-->\n    <!--        android:fadingEdge=\"vertical\"-->\n    <!--        android:fadingEdgeLength=\"240dp\"-->\n    <!--        android:requiresFadingEdge=\"vertical\">-->\n\n\n    <!--    </eightbitlab.com.blurview.BlurView>-->\n\n    <!--    <com.google.android.material.button.MaterialButton-->\n    <!--        android:id=\"@+id/download\"-->\n    <!--        style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"-->\n    <!--        android:layout_width=\"50dp\"-->\n    <!--        android:layout_height=\"48dp\"-->\n    <!--        android:layout_below=\"@id/GenresText\"-->\n    <!--        android:layout_marginStart=\"20dp\"-->\n    <!--        android:layout_marginTop=\"15dp\"-->\n    <!--        android:clickable=\"true\"-->\n    <!--        android:focusable=\"true\"-->\n    <!--        android:orientation=\"horizontal\"-->\n    <!--        app:icon=\"@drawable/ic_download\"-->\n    <!--        app:iconGravity=\"textStart\"-->\n    <!--        app:iconTint=\"@color/download_button_bg_color\" />-->\n\n    <!--    &lt;!&ndash;        <com.google.android.material.button.MaterialButton&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:id=\"@+id/changeTMDBId\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_width=\"50dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_height=\"48dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_below=\"@id/labels\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_alignParentEnd=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_marginTop=\"15dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:clickable=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:focusable=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:orientation=\"horizontal\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:icon=\"@drawable/ic_change\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:iconGravity=\"textStart\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:iconTint=\"#626161\" />&ndash;&gt;-->\n\n\n    <!--</androidx.core.widget.NestedScrollView>-->\n\n\n    <!--            <ImageView-->\n    <!--                android:id=\"@+id/moviePosterInDetails\"-->\n    <!--                android:layout_width=\"133dp\"-->\n    <!--                android:layout_height=\"200dp\"-->\n    <!--                android:layout_marginTop=\"150dp\"-->\n    <!--                android:scaleType=\"centerCrop\"-->\n    <!--                android:src=\"@color/transparent\" />-->\n\n\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_movie_library.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_height=\"match_parent\"\n    android:layout_width=\"match_parent\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n    <androidx.recyclerview.widget.RecyclerView\n        android:id=\"@+id/recyclerLibraryMovies\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:layout_gravity=\"center_horizontal\"\n        android:paddingBottom=\"85dp\"\n        android:clipToPadding=\"false\"\n        tools:listitem=\"@layout/media_item\"/>\n</LinearLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/fragment_search.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:background=\"@color/black\"\n    tools:context=\"com.theflexproject.thunder.fragments.SearchFragment\">\n\n    <TextView\n        android:id=\"@+id/searchTitle\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_marginStart=\"20dp\"\n        android:layout_marginTop=\"40dp\"\n        android:fontFamily=\"@font/jost_medium\"\n        android:text=\"Search\"\n        android:textColor=\"@color/white\"\n        android:textSize=\"25sp\" />\n\n    <com.google.android.material.textfield.TextInputLayout\n        android:id=\"@+id/searchContainer\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"50dp\"\n        android:layout_marginTop=\"20dp\"\n        android:layout_below=\"@id/searchTitle\"\n        android:layout_alignParentStart=\"true\"\n        android:layout_gravity=\"center\"\n        android:layout_marginHorizontal=\"20dp\"\n        android:textCursorDrawable=\"@null\"\n        android:gravity=\"center_vertical\"\n        app:hintEnabled=\"false\"\n        android:textColorHint=\"#50FFFFFF\"\n        app:hintAnimationEnabled=\"false\"\n        app:startIconDrawable=\"@drawable/ic_search\"\n        app:startIconTint=\"@color/white\">\n\n        <com.google.android.material.textfield.TextInputEditText\n            android:id=\"@+id/search_input\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:focusable=\"true\"\n            android:clickable=\"true\"\n            android:background=\"@drawable/search_bg\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:hint=\"@string/search_for_a_movie_or_a_show\"\n            android:gravity=\"start|center_vertical\"\n            android:textColor=\"@color/white\"\n            android:textSize=\"14sp\"\n            android:paddingTop=\"12dp\"\n            android:textColorHint=\"@color/white\"\n\n            />\n\n    </com.google.android.material.textfield.TextInputLayout>\n\n        <androidx.recyclerview.widget.RecyclerView\n            android:id=\"@+id/recyclersearch\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/searchContainer\"\n            android:scrollbars=\"vertical\"\n            android:layout_marginTop=\"20dp\"\n            tools:listitem=\"@layout/movie_item_recycler\" />\n\n<!--    <ScrollView-->\n<!--        android:layout_width=\"match_parent\"-->\n<!--        android:layout_height=\"wrap_content\"-->\n<!--        android:id=\"@+id/scrollview2\"-->\n<!--        android:layout_marginTop=\"110dp\"-->\n<!--        android:paddingBottom=\"90dp\">-->\n\n<!--        <androidx.recyclerview.widget.RecyclerView-->\n<!--            android:id=\"@+id/recyclerGenres\"-->\n<!--            android:layout_width=\"match_parent\"-->\n<!--            android:layout_height=\"wrap_content\"-->\n<!--            android:scrollbars=\"vertical\"-->\n<!--            tools:listitem=\"@layout/genreforsearch\"/>-->\n<!--    </ScrollView>-->\n\n\n\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_season_details.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/black\">\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\">\n\n        <ImageView\n            android:id=\"@+id/tvShowBackdropInSeason\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"475dp\"\n            android:background=\"@color/black\"\n            android:scaleType=\"centerCrop\"\n            tools:src=\"@color/transparent\" />\n\n        <LinearLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"500dp\"\n            android:orientation=\"vertical\">\n            <View\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"0dp\"\n                android:layout_weight=\"0.3\"\n                android:background=\"@drawable/gradient_top_bottom_bg\" />\n\n        </LinearLayout>\n\n    </RelativeLayout>\n\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\">\n\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginHorizontal=\"20dp\">\n\n\n            <ImageView\n                android:id=\"@+id/seasonPosterInDetails\"\n                android:layout_width=\"133dp\"\n                android:layout_height=\"200dp\"\n                android:layout_marginTop=\"150dp\"\n                android:scaleType=\"centerCrop\"\n                android:src=\"@color/transparent\" />\n\n            <TextView\n                android:id=\"@+id/tvShowTitleInSeason\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_above=\"@+id/seasonTitle\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_toEndOf=\"@+id/seasonPosterInDetails\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:gravity=\"center\"\n                android:paddingHorizontal=\"10dp\"\n                android:textColor=\"#CCCCCC\"\n                android:textSize=\"15sp\"\n                android:textStyle=\"bold\"\n                tools:text=\"Show Title\" />\n\n            <TextView\n                android:id=\"@+id/seasonTitle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_above=\"@+id/labelsInSeason\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_toEndOf=\"@+id/seasonPosterInDetails\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:gravity=\"center\"\n                android:visibility=\"gone\"\n                android:paddingHorizontal=\"15dp\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"20sp\"\n                android:textStyle=\"bold\"\n                tools:text=\"Season Title\" />\n\n            <androidx.constraintlayout.widget.ConstraintLayout\n                android:id=\"@+id/labelsInSeason\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_above=\"@+id/playInSeasonDetails\"\n                android:layout_toEndOf=\"@id/seasonPosterInDetails\">\n\n                <TextView\n                    android:id=\"@+id/seasonNumber\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"15sp\"\n                    android:visibility=\"gone\"\n                    app:layout_constraintBottom_toBottomOf=\"parent\"\n                    app:layout_constraintEnd_toStartOf=\"@+id/noOfEpisodesInSeason\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toStartOf=\"parent\"\n                    app:layout_constraintTop_toTopOf=\"parent\"\n                    tools:text=\"Season 2099\" />\n\n                <TextView\n                    android:id=\"@+id/noOfEpisodesInSeason\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_toEndOf=\"@+id/seasonNumber\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:text=\"9090\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"15sp\"\n                    android:visibility=\"gone\"\n                    app:layout_constraintBottom_toBottomOf=\"parent\"\n                    app:layout_constraintEnd_toEndOf=\"parent\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toEndOf=\"@+id/seasonNumber\"\n                    app:layout_constraintTop_toTopOf=\"parent\" />\n\n\n            </androidx.constraintlayout.widget.ConstraintLayout>\n\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/playInSeasonDetails\"\n                style=\"@style/Widget.MaterialComponents.Button.Icon\"\n                android:layout_width=\"133dp\"\n                android:layout_height=\"48dp\"\n                android:layout_below=\"@id/seasonPosterInDetails\"\n                android:layout_marginTop=\"15dp\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:orientation=\"horizontal\"\n                android:padding=\"10dp\"\n                android:text=\"@string/play\"\n                android:textColor=\"@color/white\"\n                app:backgroundTint=\"#111111\"\n                app:iconTint=\"@color/download_button_bg_color\"\n                app:icon=\"@drawable/ic_play\"\n                app:iconGravity=\"textStart\" />\n\n            <LinearLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_below=\"@id/playInSeasonDetails\"\n                android:orientation=\"vertical\">\n\n                <TextView\n                    android:id=\"@+id/overviewTextInSeason\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:text=\"@string/overview\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"18sp\"\n                    android:visibility=\"gone\">\n\n                </TextView>\n\n                <TextView\n                    android:id=\"@+id/overviewDescSeason\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginTop=\"12dp\"\n                    android:clickable=\"true\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"14sp\"\n                    android:visibility=\"gone\"\n                    tools:text=\"Basically the whole plot of movie\" />\n\n                <TextView\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginTop=\"5dp\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:text=\"Episodes\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"18sp\" />\n\n                <androidx.recyclerview.widget.RecyclerView\n                    android:id=\"@+id/recyclerEpisodes\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginTop=\"14dp\"\n                    android:clipToPadding=\"false\"\n                    android:nestedScrollingEnabled=\"false\"\n                    android:paddingBottom=\"80dp\"\n                    android:scrollbars=\"vertical\"\n                    android:visibility=\"gone\"\n                    tools:itemCount=\"5\"\n                    tools:listitem=\"@layout/episode_item\" />\n\n            </LinearLayout>\n\n        </RelativeLayout>\n    </androidx.core.widget.NestedScrollView>\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_season_details_new.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:focusable=\"true\"\n    android:clickable=\"true\"\n    android:background=\"@color/black\"\n    android:orientation=\"vertical\">\n\n\n    <ImageView\n        android:id=\"@+id/tvShowBackdropInSeason\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"290dp\"\n        android:scaleType=\"centerCrop\"\n        tools:src=\"@drawable/dummyposter\" />\n\n    <LinearLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"300dp\"\n        android:orientation=\"vertical\">\n\n        <View\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"0dp\"\n            android:layout_weight=\"0.2\"\n            android:background=\"@drawable/gradient_top_bottom_bg\" />\n    </LinearLayout>\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\">\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\">\n\n            <RelativeLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"300dp\">\n\n\n                <ImageButton\n                    android:id=\"@+id/playInSeasonDetails\"\n                    android:layout_width=\"50dp\"\n                    android:layout_height=\"50dp\"\n                    android:layout_centerInParent=\"true\"\n                    android:background=\"@drawable/play_shape\"\n                    android:backgroundTint=\"@color/download_button_bg_color\"\n                    android:clickable=\"true\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:orientation=\"horizontal\"\n                    android:src=\"@drawable/ic_play\"\n                    app:cornerRadius=\"100dp\" />\n\n                <TextView\n                    android:id=\"@+id/showTitle\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_alignParentBottom=\"true\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:autoSizeMaxTextSize=\"28sp\"\n                    android:autoSizeMinTextSize=\"16sp\"\n                    android:autoSizeTextType=\"uniform\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:maxHeight=\"80dp\"\n                    android:textAlignment=\"center\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"27sp\"\n                    android:textStyle=\"bold\"\n                    android:visibility=\"visible\"\n                    tools:text=\"Movie Title\" />\n\n                <ImageView\n                    android:id=\"@+id/tvLogoInSeason\"\n                    android:layout_width=\"175dp\"\n                    android:layout_height=\"80dp\"\n                    android:layout_alignParentBottom=\"true\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:layout_marginStart=\"20dp\"\n                    android:scaleType=\"fitCenter\"\n                    android:src=\"@drawable/dummyposter\"\n                    android:visibility=\"invisible\" />\n\n            </RelativeLayout>\n\n            <RelativeLayout\n                android:id=\"@+id/relativeContainer\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:layout_marginTop=\"300dp\">\n\n\n                <RelativeLayout\n                    android:id=\"@+id/labelsTvShowSeason\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginVertical=\"5dp\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:gravity=\"center_horizontal\">\n\n\n                    <TextView\n                        android:id=\"@+id/seasonTitle\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\"\n                        tools:text=\"Season 6\" />\n\n\n                    <ImageView\n                        android:id=\"@+id/dot2\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_centerInParent=\"true\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:layout_toEndOf=\"@id/seasonTitle\"\n                        android:src=\"@drawable/oval\" />\n\n                    <TextView\n                        android:id=\"@+id/noOfEpisodesInSeason\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n\n                        android:layout_height=\"wrap_content\"\n                        android:layout_toEndOf=\"@id/dot2\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:text=\"36 Episodes\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\" />\n\n                </RelativeLayout>\n\n                <LinearLayout\n                    android:id=\"@+id/genresRow\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/labelsTvShowSeason\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:gravity=\"center_horizontal\"\n                    android:orientation=\"horizontal\"\n                    android:visibility=\"visible\">\n\n                </LinearLayout>\n\n                <LinearLayout\n                    android:id=\"@+id/continueWatching\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/genresRow\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:layout_marginVertical=\"5dp\"\n                    android:gravity=\"start\"\n                    android:orientation=\"horizontal\"\n                    android:paddingVertical=\"5dp\"\n                    android:visibility=\"visible\">\n\n\n                    <TextView\n                        android:id=\"@+id/continueWatchingText\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:ellipsize=\"end\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:gravity=\"start\"\n                        android:maxLines=\"1\"\n                        android:scrollHorizontally=\"true\"\n                        android:text=\"S01 E05 \"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"16sp\"\n                        android:textStyle=\"bold\"\n                        android:visibility=\"visible\" />\n\n                    <ImageView\n                        android:id=\"@+id/dot3\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_gravity=\"center\"\n                        android:visibility=\"gone\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:layout_toEndOf=\"@id/ratingsTVText\"\n                        android:src=\"@drawable/oval\" />\n\n                    <TextView\n                        android:id=\"@+id/episodeNameInTvSeason\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:ellipsize=\"end\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:gravity=\"start\"\n                        android:maxLines=\"1\"\n                        android:scrollHorizontally=\"true\"\n                        android:text=\"Episode Title\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"16sp\"\n                        android:visibility=\"gone\" />\n\n                </LinearLayout>\n\n\n                <LinearLayout\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/continueWatching\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:orientation=\"vertical\">\n\n\n\n\n                    <TextView\n                        android:id=\"@+id/overviewtext\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:text=\"@string/overview\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"18sp\"\n                        android:visibility=\"gone\">\n\n                    </TextView>\n\n                    <TextView\n                        android:id=\"@+id/overviewDescTVShowSeason\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginVertical=\"10dp\"\n\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"gone\"\n                        tools:text=\"In the 22nd century, a paraplegic Marine is dispatched to the moon Pandora on a unique mission, but becomes torn between following orders and protecting an alien civilization.\" />\n\n                    <!--                    <TableLayout-->\n                    <!--                        android:id=\"@+id/detailsTable\"-->\n                    <!--                        android:layout_width=\"match_parent\"-->\n                    <!--                        android:layout_height=\"wrap_content\"-->\n                    <!--                        android:layout_marginTop=\"15dp\"-->\n                    <!--                        android:visibility=\"gone\">-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/Director\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Director :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:id=\"@+id/DirectorText\"-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".6\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/WrittenBy\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Written By :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:id=\"@+id/WrittenByText\"-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".6\"-->\n\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/Genres\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Genres :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:id=\"@+id/GenresText\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_width=\"0dp\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_weight=\".6\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:textSize=\"14sp\" />&ndash;&gt;-->\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        &lt;!&ndash;                <TableRow&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:padding=\"5dp\">&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:id=\"@+id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_below=\"@id/videoQualityText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    tools:text=\"Budget :\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/BudgetText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/videoQualityText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_toEndOf=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"THE DIRECTOR\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                </TableRow>&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                <TableRow&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:padding=\"5dp\">&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/Revenue\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"Revenue :\" />&ndash;&gt;-->\n\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/RevenueText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_toEndOf=\"@id/Revenue\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"THE DIRECTOR\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                </TableRow>&ndash;&gt;-->\n\n                    <!--                    </TableLayout>-->\n\n\n                    <TextView\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginTop=\"5dp\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:text=\"Episodes\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"18sp\" />\n\n                    <androidx.recyclerview.widget.RecyclerView\n                        android:id=\"@+id/recyclerEpisodes\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginTop=\"14dp\"\n                        android:clipToPadding=\"false\"\n                        android:nestedScrollingEnabled=\"false\"\n                        android:paddingBottom=\"80dp\"\n                        android:scrollbars=\"vertical\"\n                        android:visibility=\"gone\"\n                        tools:itemCount=\"5\"\n                        tools:listitem=\"@layout/episode_item\" />\n\n                </LinearLayout>\n\n            </RelativeLayout>\n\n        </RelativeLayout>\n    </androidx.core.widget.NestedScrollView>\n\n\n    <!--<androidx.core.widget.NestedScrollView-->\n    <!--    android:layout_width=\"match_parent\"-->\n    <!--    android:layout_height=\"wrap_content\"-->\n    <!--    android:layout_below=\"@id/frame\">-->\n\n    <!--    <RelativeLayout-->\n    <!--        android:layout_width=\"match_parent\"-->\n    <!--        android:layout_height=\"500dp\"-->\n    <!--        android:orientation=\"vertical\">-->\n\n    <!--        <eightbitlab.com.blurview.BlurView-->\n    <!--            android:id=\"@+id/blurView5\"-->\n    <!--            android:layout_width=\"match_parent\"-->\n    <!--            android:layout_height=\"match_parent\"-->\n    <!--            android:background=\"#00000000\"-->\n    <!--            android:clipChildren=\"false\"-->\n    <!--            android:elevation=\"8dp\"-->\n    <!--            android:fadingEdge=\"vertical\"-->\n    <!--            android:fadingEdgeLength=\"240dp\"-->\n    <!--            android:requiresFadingEdge=\"vertical\">-->\n\n\n    <!--        </eightbitlab.com.blurview.BlurView>-->\n\n\n    <!--    </RelativeLayout>-->\n\n\n    <!--    <eightbitlab.com.blurview.BlurView-->\n    <!--        android:id=\"@+id/blurView4\"-->\n    <!--        android:layout_centerHorizontal=\"true\"-->\n    <!--        android:layout_width=\"wrap_content\"-->\n    <!--        android:layout_height=\"wrap_content\"-->\n    <!--        android:background=\"#00000000\"-->\n    <!--        android:clipChildren=\"false\"-->\n    <!--        android:elevation=\"8dp\"-->\n    <!--        android:layout_marginTop=\"80dp\"-->\n    <!--        android:fadingEdge=\"vertical\"-->\n    <!--        android:fadingEdgeLength=\"240dp\"-->\n    <!--        android:requiresFadingEdge=\"vertical\">-->\n\n\n    <!--    </eightbitlab.com.blurview.BlurView>-->\n\n    <!--    <com.google.android.material.button.MaterialButton-->\n    <!--        android:id=\"@+id/download\"-->\n    <!--        style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"-->\n    <!--        android:layout_width=\"50dp\"-->\n    <!--        android:layout_height=\"48dp\"-->\n    <!--        android:layout_below=\"@id/GenresText\"-->\n    <!--        android:layout_marginStart=\"20dp\"-->\n    <!--        android:layout_marginTop=\"15dp\"-->\n    <!--        android:clickable=\"true\"-->\n    <!--        android:focusable=\"true\"-->\n    <!--        android:orientation=\"horizontal\"-->\n    <!--        app:icon=\"@drawable/ic_download\"-->\n    <!--        app:iconGravity=\"textStart\"-->\n    <!--        app:iconTint=\"@color/download_button_bg_color\" />-->\n\n    <!--    &lt;!&ndash;        <com.google.android.material.button.MaterialButton&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:id=\"@+id/changeTMDBId\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_width=\"50dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_height=\"48dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_below=\"@id/labels\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_alignParentEnd=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_marginTop=\"15dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:clickable=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:focusable=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:orientation=\"horizontal\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:icon=\"@drawable/ic_change\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:iconGravity=\"textStart\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:iconTint=\"#626161\" />&ndash;&gt;-->\n\n\n    <!--</androidx.core.widget.NestedScrollView>-->\n\n\n    <!--            <ImageView-->\n    <!--                android:id=\"@+id/moviePosterInDetails\"-->\n    <!--                android:layout_width=\"133dp\"-->\n    <!--                android:layout_height=\"200dp\"-->\n    <!--                android:layout_marginTop=\"150dp\"-->\n    <!--                android:scaleType=\"centerCrop\"-->\n    <!--                android:src=\"@color/transparent\" />-->\n\n\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_settings.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:id=\"@+id/settingsContainer\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:background=\"@color/black\">\n\n    <androidx.core.widget.NestedScrollView\n        android:id=\"@+id/nestedContainer\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:clipToPadding=\"false\"\n        android:paddingBottom=\"70dp\">\n\n        <LinearLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:orientation=\"vertical\">\n\n            <TextView\n                android:id=\"@+id/SettingsTitle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_marginStart=\"20dp\"\n                android:layout_marginTop=\"40dp\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:text=\"Settings\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"25sp\" />\n\n            <LinearLayout\n                android:id=\"@+id/buttonContainerSettings\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:clipToPadding=\"false\"\n                android:orientation=\"vertical\"\n\n                android:paddingStart=\"32dp\"\n                android:paddingTop=\"25dp\"\n                android:paddingEnd=\"32dp\">\n\n                <androidx.appcompat.widget.AppCompatButton\n                    android:id=\"@+id/addIndexButton\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"55dp\"\n                    android:layout_marginStart=\"-32dp\"\n                    android:layout_marginEnd=\"-32dp\"\n                    android:background=\"@color/black\"\n                    android:clickable=\"true\"\n                    android:drawableStart=\"@drawable/ic_add\"\n                    android:drawableEnd=\"@drawable/ic_next\"\n                    android:drawablePadding=\"16dp\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:insetTop=\"0dp\"\n                    android:insetBottom=\"0dp\"\n                    android:letterSpacing=\"0.001\"\n                    android:paddingStart=\"32dp\"\n                    android:paddingEnd=\"32dp\"\n                    android:text=\"Add Index\"\n                    android:textAlignment=\"viewStart\"\n\n                    android:textAllCaps=\"false\"\n                    android:textColor=\"@color/download_button_bg_color\"\n                    android:textSize=\"16sp\"\n                    app:icon=\"@drawable/ic_add\"\n                    app:iconPadding=\"16dp\"\n                    app:iconSize=\"24dp\"\n                    app:iconTint=\"@color/white\" />\n\n                <View\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"1dp\"\n                    android:layout_marginStart=\"-16dp\"\n                    android:layout_marginEnd=\"-16dp\"\n                    android:background=\"#20ffffff\" />\n\n                <androidx.appcompat.widget.AppCompatButton\n                    android:id=\"@+id/viewIndexes\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"55dp\"\n                    android:layout_marginStart=\"-32dp\"\n                    android:layout_marginEnd=\"-32dp\"\n                    android:background=\"@color/black\"\n                    android:clickable=\"true\"\n                    android:drawableStart=\"@drawable/ic_list\"\n                    android:drawableEnd=\"@drawable/ic_next\"\n                    android:drawablePadding=\"16dp\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:insetTop=\"0dp\"\n                    android:insetBottom=\"0dp\"\n                    android:letterSpacing=\"0.001\"\n                    android:paddingStart=\"32dp\"\n                    android:paddingEnd=\"32dp\"\n                    android:text=\"Manage Indexes\"\n                    android:textAlignment=\"viewStart\"\n                    android:textAllCaps=\"false\"\n                    android:textColor=\"@color/download_button_bg_color\"\n                    android:textSize=\"16sp\"\n                    app:cornerRadius=\"0dp\"\n                    app:icon=\"@drawable/ic_list\"\n                    app:iconPadding=\"16dp\"\n                    app:iconSize=\"24dp\"\n                    app:iconTint=\"@color/white\" />\n\n                <View\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"1dp\"\n                    android:layout_marginStart=\"-16dp\"\n                    android:layout_marginEnd=\"-16dp\"\n                    android:background=\"#20ffffff\" />\n\n\n                <androidx.appcompat.widget.AppCompatButton\n                    android:id=\"@+id/importExportDatabase\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"55dp\"\n                    android:layout_marginStart=\"-32dp\"\n                    android:layout_marginEnd=\"-32dp\"\n                    android:background=\"@color/black\"\n                    android:clickable=\"true\"\n                    android:drawableStart=\"@drawable/ic_import_export\"\n                    android:drawableEnd=\"@drawable/ic_next\"\n                    android:drawablePadding=\"16dp\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:insetTop=\"0dp\"\n                    android:insetBottom=\"0dp\"\n                    android:letterSpacing=\"0.001\"\n                    android:paddingStart=\"32dp\"\n                    android:paddingEnd=\"32dp\"\n                    android:text=\"Import/Export Database\"\n                    android:textAlignment=\"viewStart\"\n                    android:textAllCaps=\"false\"\n                    android:textColor=\"@color/download_button_bg_color\"\n                    android:textSize=\"16sp\"\n                    android:visibility=\"visible\"\n                    app:cornerRadius=\"0dp\"\n                    app:icon=\"@drawable/ic_import_export\"\n                    app:iconPadding=\"16dp\"\n                    app:iconSize=\"24dp\"\n                    app:iconTint=\"@color/white\" />\n\n                <View\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"1dp\"\n                    android:layout_marginStart=\"-16dp\"\n                    android:layout_marginEnd=\"-16dp\"\n                    android:background=\"#20ffffff\" />\n\n                <!--            <com.google.android.material.switchmaterial.SwitchMaterial-->\n                <!--                android:id=\"@+id/castButtonVisibility\"-->\n                <!--                android:layout_width=\"match_parent\"-->\n                <!--                android:layout_height=\"wrap_content\"-->\n                <!--                android:checked=\"false\"-->\n                <!--                android:drawableStart=\"@drawable/ic_baseline_navigate_next_24\"-->\n                <!--                android:drawablePadding=\"16dp\"-->\n                <!--                android:fontFamily=\"@font/jost_regular\"-->\n                <!--                android:minHeight=\"64dp\"-->\n                <!--                android:text=\"Show Cast Button\"-->\n                <!--                android:textSize=\"16sp\"-->\n                <!--                android:textAlignment=\"viewStart\"-->\n                <!--                android:textColor=\"@color/white\"-->\n                <!--                app:cornerRadius=\"0dp\"-->\n                <!--                app:drawableTint=\"#fff\"-->\n                <!--                app:showText=\"false\"-->\n                <!--                app:thumbTint=\"@color/white\" />-->\n                <androidx.appcompat.widget.SwitchCompat\n                    android:id=\"@+id/refreshPeriodicallyToggle\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"55dp\"\n                    android:checked=\"false\"\n                    android:clickable=\"true\"\n                    android:drawableStart=\"@drawable/ic_refresh\"\n                    android:drawablePadding=\"16dp\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:minHeight=\"64dp\"\n                    android:text=\"Refresh Everday at\"\n                    android:textAlignment=\"viewStart\"\n                    android:textColor=\"@color/download_button_bg_color\"\n                    android:textSize=\"16sp\"\n                    android:thumb=\"@drawable/switch_ios_selector\"\n                    app:track=\"@drawable/switch_ios_track\"\n                    app:trackTint=\"@color/switch_bg_color\" />\n\n                <View\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"1dp\"\n                    android:layout_marginStart=\"-16dp\"\n                    android:layout_marginEnd=\"-16dp\"\n                    android:background=\"#20ffffff\" />\n\n                <androidx.appcompat.widget.SwitchCompat\n                    android:id=\"@+id/externalPlayerToggle\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"55dp\"\n                    android:checked=\"false\"\n                    android:clickable=\"true\"\n                    android:drawableStart=\"@drawable/ic_play\"\n                    android:drawablePadding=\"16dp\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:minHeight=\"64dp\"\n                    android:text=\"Use External Player\"\n                    android:textAlignment=\"viewStart\"\n                    android:textColor=\"@color/download_button_bg_color\"\n                    android:textSize=\"16sp\"\n                    android:thumb=\"@drawable/switch_ios_selector\"\n                    app:cornerRadius=\"0dp\"\n                    app:track=\"@drawable/switch_ios_track\"\n                    app:trackTint=\"@color/switch_bg_color\" />\n\n                <View\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"1dp\"\n                    android:layout_marginStart=\"-16dp\"\n                    android:layout_marginEnd=\"-16dp\"\n                    android:background=\"#20ffffff\" />\n\n                <Button\n                    android:id=\"@+id/checkforUpdates\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"55dp\"\n                    android:layout_marginStart=\"-32dp\"\n                    android:layout_marginEnd=\"-32dp\"\n                    android:background=\"@color/black\"\n                    android:clickable=\"true\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:insetTop=\"0dp\"\n                    android:insetBottom=\"0dp\"\n                    android:letterSpacing=\"0.001\"\n                    android:paddingStart=\"32dp\"\n                    android:paddingEnd=\"32dp\"\n                    android:text=\"Check for Update\"\n                    android:textAlignment=\"viewStart\"\n                    android:textAllCaps=\"false\"\n                    android:textColor=\"@color/download_button_bg_color\"\n                    android:textSize=\"16sp\"\n                    app:cornerRadius=\"0dp\"\n                    app:icon=\"@drawable/ic_update\"\n                    app:iconPadding=\"16dp\"\n                    app:iconSize=\"24dp\"\n                    app:iconTint=\"@color/white\" />\n\n                <View\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"1dp\"\n                    android:layout_marginStart=\"-16dp\"\n                    android:layout_marginEnd=\"-16dp\"\n                    android:background=\"#20ffffff\" />\n\n            </LinearLayout>\n\n\n        </LinearLayout>\n    </androidx.core.widget.NestedScrollView>\n\n    <androidx.constraintlayout.widget.ConstraintLayout\n        android:id=\"@+id/imageButtonContainer\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:layout_below=\"@id/nestedContainer\"\n        android:layout_gravity=\"bottom\">\n\n        <ImageButton\n            android:id=\"@+id/githubImageButton\"\n            android:layout_width=\"50dp\"\n            android:layout_height=\"50dp\"\n            android:layout_marginEnd=\"25dp\"\n            android:layout_toStartOf=\"@id/telegramImageButton\"\n            android:layout_toEndOf=\"@id/discordImageButton\"\n            android:background=\"@drawable/tab_item_selector\"\n            android:clickable=\"true\"\n            android:focusable=\"true\"\n            android:nextFocusRight=\"@id/telegramImageButton\"\n            android:nextFocusDown=\"@id/telegramImageButton\"\n            android:scaleType=\"centerInside\"\n            android:src=\"@drawable/ic_github\"\n            app:layout_constraintBottom_toBottomOf=\"parent\"\n            app:layout_constraintEnd_toStartOf=\"@+id/telegramImageButton\"\n            app:layout_constraintHorizontal_bias=\"0.5\"\n            app:layout_constraintHorizontal_chainStyle=\"packed\"\n            app:layout_constraintTop_toTopOf=\"parent\"\n            app:tint=\"#80ffffff\" />\n\n        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n        <ImageButton\n            android:id=\"@+id/telegramImageButton\"\n            android:layout_width=\"50dp\"\n            android:layout_height=\"50dp\"\n            android:layout_alignParentEnd=\"true\"\n            android:background=\"@drawable/tab_item_selector\"\n            android:clickable=\"true\"\n            android:focusable=\"true\"\n            android:nextFocusLeft=\"@id/githubImageButton\"\n            android:nextFocusRight=\"@id/discordImageButton\"\n            android:nextFocusUp=\"@id/githubImageButton\"\n            android:nextFocusDown=\"@id/discordImageButton\"\n            android:scaleType=\"centerInside\"\n            android:src=\"@drawable/telegram\"\n            app:layout_constraintBottom_toBottomOf=\"parent\"\n            app:layout_constraintEnd_toEndOf=\"parent\"\n            app:layout_constraintStart_toStartOf=\"parent\"\n            app:layout_constraintTop_toTopOf=\"parent\"\n            app:tint=\"#80ffffff\" />\n\n        <ImageButton\n            android:id=\"@+id/discordImageButton\"\n            android:layout_width=\"50dp\"\n            android:layout_height=\"50dp\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_marginStart=\"25dp\"\n            android:background=\"@drawable/tab_item_selector\"\n            android:clickable=\"true\"\n            android:contentDescription=\"discord\"\n            android:focusable=\"true\"\n            android:nextFocusLeft=\"@id/telegramImageButton\"\n            android:nextFocusUp=\"@id/telegramImageButton\"\n            android:scaleType=\"centerInside\"\n            android:src=\"@drawable/discord\"\n            app:layout_constraintBottom_toBottomOf=\"parent\"\n            app:layout_constraintHorizontal_bias=\"0.5\"\n            app:layout_constraintHorizontal_chainStyle=\"packed\"\n            app:layout_constraintStart_toEndOf=\"@id/telegramImageButton\"\n            app:layout_constraintTop_toTopOf=\"parent\"\n            app:tint=\"#80ffffff\" />\n        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n    </androidx.constraintlayout.widget.ConstraintLayout>\n\n    <TextView\n        android:id=\"@+id/versionNumber\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentBottom=\"true\"\n        android:layout_marginBottom=\"100dp\"\n        android:layout_below=\"@id/imageButtonContainer\"\n        android:fontFamily=\"@font/jost_regular\"\n        android:text=\"Version 1.0.6\"\n        android:textAlignment=\"center\"\n        android:textColor=\"#50ffffff\" />\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_show_details.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:orientation=\"vertical\"\n    android:background=\"@color/black\">\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\">\n\n        <ImageView\n            android:id=\"@+id/tvShowBackdrop\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"450dp\"\n            android:scaleType=\"centerCrop\"\n            tools:src=\"@color/transparent\" />\n\n        <LinearLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"460dp\"\n            android:orientation=\"vertical\">\n            <View\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"0dp\"\n                android:layout_weight=\"0.3\"\n                android:background=\"@drawable/gradient_top_bottom_bg\" />\n\n        </LinearLayout>\n\n    </RelativeLayout>\n\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\">\n\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginHorizontal=\"20dp\">\n\n\n            <ImageView\n                android:id=\"@+id/tvShowPosterInDetails\"\n                android:layout_width=\"133dp\"\n                android:layout_height=\"200dp\"\n                android:layout_marginTop=\"150dp\"\n                android:scaleType=\"centerCrop\"\n                android:src=\"@color/transparent\" />\n\n            <ImageView\n                android:id=\"@+id/tvLogo\"\n                android:layout_width=\"100dp\"\n                android:layout_height=\"70dp\"\n                android:layout_margin=\"15dp\"\n                android:layout_above=\"@+id/labelsTvShow\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_toEndOf=\"@+id/tvShowPosterInDetails\"\n                android:scaleType=\"fitCenter\"\n                android:src=\"@color/transparent\"\n                android:visibility=\"gone\" />\n\n            <TextView\n                android:id=\"@+id/tvShowTitle\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_above=\"@+id/labelsTvShow\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_toEndOf=\"@+id/tvShowPosterInDetails\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:gravity=\"center\"\n                android:visibility=\"gone\"\n                android:paddingHorizontal=\"10dp\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"20sp\"\n                android:textStyle=\"bold\"\n                tools:text=\"ShowTitle\" />\n\n            <androidx.constraintlayout.widget.ConstraintLayout\n                android:id=\"@+id/labelsTvShow\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:layout_above=\"@+id/playInTVShowDetails\"\n                android:layout_toEndOf=\"@id/tvShowPosterInDetails\">\n\n                <TextView\n                    android:id=\"@+id/noOfSeasons\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"10sp\"\n                    android:visibility=\"gone\"\n                    app:layout_constraintBottom_toTopOf=\"@id/ratingsTV\"\n                    app:layout_constraintEnd_toStartOf=\"@+id/noOfEpisodes\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toStartOf=\"parent\"\n                    app:layout_constraintTop_toTopOf=\"parent\"\n                    tools:text=\"2099\" />\n\n                <TextView\n                    android:id=\"@+id/noOfEpisodes\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_toEndOf=\"@+id/noOfSeasons\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"10sp\"\n                    android:visibility=\"gone\"\n                    app:layout_constraintBottom_toTopOf=\"@id/ratingsTV\"\n                    app:layout_constraintEnd_toEndOf=\"parent\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toEndOf=\"@+id/noOfSeasons\"\n                    app:layout_constraintTop_toTopOf=\"parent\" />\n\n\n                <ImageView\n                    android:id=\"@+id/ratingsTV\"\n                    android:layout_width=\"30dp\"\n                    android:layout_height=\"30dp\"\n                    android:src=\"@drawable/tmdb\"\n                    android:visibility=\"gone\"\n                    app:layout_constraintTop_toTopOf=\"parent\"\n                    app:layout_constraintBottom_toBottomOf=\"parent\"\n                    app:layout_constraintEnd_toEndOf=\"parent\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toStartOf=\"parent\" />\n\n                <TextView\n                    android:id=\"@+id/ratingsTVText\"\n                    style=\"@style/sizelabel\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:gravity=\"center_horizontal\"\n                    android:textColor=\"#CCCCCC\"\n                    android:textSize=\"13sp\"\n                    android:visibility=\"gone\"\n                    app:layout_constraintTop_toTopOf=\"parent\"\n                    app:layout_constraintBottom_toBottomOf=\"parent\"\n                    app:layout_constraintHorizontal_bias=\"0.5\"\n                    app:layout_constraintStart_toEndOf=\"@+id/ratingsTV\"\n                    tools:text=\"86 %\" />\n\n            </androidx.constraintlayout.widget.ConstraintLayout>\n\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/playInTVShowDetails\"\n                style=\"@style/Widget.MaterialComponents.Button.Icon\"\n                android:layout_width=\"133dp\"\n                android:layout_height=\"48dp\"\n                android:layout_below=\"@id/tvShowPosterInDetails\"\n                android:layout_marginTop=\"15dp\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:fontFamily=\"@font/jost_regular\"\n                android:orientation=\"horizontal\"\n                android:padding=\"10dp\"\n                android:text=\"@string/play\"\n                android:textColor=\"@color/white\"\n                app:backgroundTint=\"#111111\"\n                app:icon=\"@drawable/ic_play\"\n                app:iconGravity=\"textStart\"\n                app:iconTint=\"@color/download_button_bg_color\" />\n\n            <com.google.android.material.button.MaterialButton\n                android:id=\"@+id/changeShowTMDBId\"\n                style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"\n                android:layout_width=\"50dp\"\n                android:layout_height=\"48dp\"\n                app:iconTint=\"#626161\"\n                android:layout_below=\"@id/tvShowPosterInDetails\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_marginTop=\"10dp\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:orientation=\"horizontal\"\n                app:icon=\"@drawable/ic_change\"\n                app:iconGravity=\"textStart\" />\n\n\n            <LinearLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"\n                android:orientation=\"vertical\"\n                android:paddingBottom=\"70dp\"\n                android:layout_below=\"@id/playInTVShowDetails\">\n                <TextView\n                    android:id=\"@+id/overviewTextTvShow\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:text=\"@string/overview\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"18sp\">\n\n                </TextView>\n                <TextView\n                    android:id=\"@+id/overviewDescTVShow\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginTop=\"12dp\"\n                    android:textColor=\"@color/white\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:textSize=\"14sp\"\n                    tools:text=\"Basically the whole plot of movie\" />\n\n                <TableLayout\n                    android:id=\"@+id/detailsTableTV\"\n                    android:layout_marginTop=\"15dp\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\">\n                    <TableRow\n                        android:id=\"@+id/tvShowGenres\"\n                        android:visibility=\"gone\"\n                        android:padding=\"5dp\">\n                        <TextView\n                            android:layout_width=\"0dp\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_marginTop=\"5dp\"\n                            android:layout_weight=\".4\"\n                            android:textColor=\"@color/white\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:textSize=\"14sp\"\n                            android:text=\"Genres :\" />\n                        <TextView\n                            android:id=\"@+id/tvShowGenresText\"\n                            android:layout_width=\"0dp\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_weight=\".6\"\n                            android:layout_marginTop=\"5dp\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:textColor=\"@color/white\"\n                            android:textSize=\"14sp\" />\n\n                    </TableRow>\n                    <TableRow\n                        android:id=\"@+id/tvShowStatus\"\n                        android:padding=\"5dp\"\n                        android:visibility=\"gone\">\n                        <TextView\n                            android:layout_width=\"0dp\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_weight=\".4\"\n                            android:layout_marginTop=\"5dp\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:textColor=\"@color/white\"\n                            android:textSize=\"14sp\"\n                            android:text=\"Status :\" />\n\n                        <TextView\n                            android:id=\"@+id/tvShowStatusText\"\n                            android:layout_width=\"0dp\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_weight=\".6\"\n                            android:layout_marginTop=\"5dp\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:textColor=\"@color/white\"\n                            android:textSize=\"14sp\" />\n\n                    </TableRow>\n                    <TableRow\n                        android:visibility=\"gone\"\n                        android:id=\"@+id/tvShowType\"\n                        android:padding=\"5dp\">\n                        <TextView\n                            android:layout_width=\"0dp\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_marginTop=\"5dp\"\n                            android:layout_weight=\".4\"\n                            android:textColor=\"@color/white\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:textSize=\"14sp\"\n                            android:text=\"Type :\" />\n                        <TextView\n                            android:id=\"@+id/tvShowtypeText\"\n                            android:layout_width=\"0dp\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_marginTop=\"5dp\"\n                            android:layout_weight=\".6\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:textColor=\"@color/white\"\n                            android:textSize=\"14sp\" />\n\n\n                    </TableRow>\n                </TableLayout>\n\n                <TextView\n                    android:id=\"@+id/SeasonRecyclerTitle\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginTop=\"10dp\"\n                    android:textSize=\"18sp\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:text=\"Seasons\"\n                    android:textColor=\"@color/white\"/>\n\n                <androidx.recyclerview.widget.RecyclerView\n                    android:id=\"@+id/recyclerSeasons\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginTop=\"14dp\"\n                    android:clipToPadding=\"false\"\n                    android:paddingBottom=\"85dp\"\n                    android:nestedScrollingEnabled=\"false\"\n                    />\n\n            </LinearLayout>\n\n        </RelativeLayout>\n    </androidx.core.widget.NestedScrollView>\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_show_details_new.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:focusable=\"true\"\n    android:clickable=\"true\"\n    android:background=\"@color/black\"\n    android:orientation=\"vertical\">\n\n\n    <ImageView\n        android:id=\"@+id/tvShowBackdrop\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"290dp\"\n        android:scaleType=\"centerCrop\"\n        tools:src=\"@drawable/dummyposter\" />\n\n    <LinearLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"300dp\"\n        android:orientation=\"vertical\">\n\n        <View\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"0dp\"\n            android:layout_weight=\"0.2\"\n            android:background=\"@drawable/gradient_top_bottom_bg\" />\n    </LinearLayout>\n\n    <androidx.core.widget.NestedScrollView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\">\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\">\n\n            <RelativeLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"300dp\">\n\n\n                <ImageButton\n                    android:id=\"@+id/playInTVShowDetails\"\n                    android:layout_width=\"50dp\"\n                    android:layout_height=\"50dp\"\n                    android:layout_centerInParent=\"true\"\n                    android:background=\"@drawable/play_shape\"\n                    android:backgroundTint=\"@color/download_button_bg_color\"\n                    android:clickable=\"true\"\n                    android:focusable=\"true\"\n                    android:fontFamily=\"@font/jost_regular\"\n                    android:orientation=\"horizontal\"\n                    android:src=\"@drawable/ic_play\"\n                    app:cornerRadius=\"100dp\" />\n\n                <TextView\n                    android:id=\"@+id/tvShowTitle\"\n                    android:layout_width=\"wrap_content\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_alignParentBottom=\"true\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:autoSizeMaxTextSize=\"28sp\"\n                    android:autoSizeMinTextSize=\"16sp\"\n                    android:autoSizeTextType=\"uniform\"\n                    android:fontFamily=\"@font/jost_medium\"\n                    android:maxHeight=\"80dp\"\n                    android:textAlignment=\"center\"\n                    android:textColor=\"@color/white\"\n                    android:textSize=\"27sp\"\n                    android:textStyle=\"bold\"\n                    android:visibility=\"visible\"\n                    tools:text=\"Movie Title\" />\n\n                <ImageView\n                    android:id=\"@+id/tvLogo\"\n                    android:layout_width=\"175dp\"\n                    android:layout_height=\"80dp\"\n                    android:layout_alignParentBottom=\"true\"\n                    android:layout_centerHorizontal=\"true\"\n                    android:layout_marginStart=\"20dp\"\n                    android:scaleType=\"fitCenter\"\n                    android:src=\"@drawable/dummyposter\"\n                    android:visibility=\"invisible\" />\n\n            </RelativeLayout>\n\n            <RelativeLayout\n                android:id=\"@+id/relativeContainer\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:layout_marginTop=\"300dp\">\n\n\n                <RelativeLayout\n                    android:id=\"@+id/labelsTvShow\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:layout_marginVertical=\"5dp\"\n                    android:gravity=\"center_horizontal\">\n\n\n                    <TextView\n                        android:id=\"@+id/ratingsTVText\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_gravity=\"start|center_vertical\"\n                        android:textAlignment=\"viewStart\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:visibility=\"gone\"\n                        app:layout_constraintBottom_toBottomOf=\"parent\"\n                        app:layout_constraintHorizontal_bias=\"0.5\"\n                        app:layout_constraintTop_toTopOf=\"parent\"\n                        tools:text=\"8.6\" />\n\n                    <ImageView\n                        android:id=\"@+id/dot\"\n                        android:visibility=\"gone\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_centerInParent=\"true\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:layout_toEndOf=\"@id/ratingsTVText\"\n                        android:src=\"@drawable/oval\" />\n\n                    <TextView\n                        android:id=\"@+id/noOfSeasons\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_toEndOf=\"@id/dot\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\"\n                        tools:text=\"2099\" />\n\n\n                    <ImageView\n                        android:id=\"@+id/dot2\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_centerInParent=\"true\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:layout_toEndOf=\"@id/noOfSeasons\"\n                        android:src=\"@drawable/oval\" />\n\n                    <TextView\n                        android:id=\"@+id/noOfEpisodes\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n\n                        android:layout_height=\"wrap_content\"\n                        android:layout_toEndOf=\"@id/dot2\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:text=\"1h 30m\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\" />\n\n                </RelativeLayout>\n\n                <LinearLayout\n                    android:id=\"@+id/genresRow\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/labelsTvShow\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:gravity=\"center_horizontal\"\n                    android:orientation=\"horizontal\"\n                    android:visibility=\"visible\">\n\n\n                    <TextView\n                        android:id=\"@+id/tvShowGenresText\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:ellipsize=\"end\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:gravity=\"start\"\n                        android:maxLines=\"1\"\n                        android:scrollHorizontally=\"true\"\n                        android:text=\"Action, Adventure, Fantasy\"\n                        android:textColor=\"#CCCCCC\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\" />\n\n                </LinearLayout>\n\n                <LinearLayout\n                    android:id=\"@+id/continueWatching\"\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/genresRow\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:layout_marginVertical=\"5dp\"\n                    android:gravity=\"start\"\n                    android:orientation=\"horizontal\"\n                    android:paddingVertical=\"5dp\"\n                    android:visibility=\"visible\">\n\n\n                    <TextView\n                        android:id=\"@+id/continueWatchingText\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:ellipsize=\"end\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:gravity=\"start\"\n                        android:maxLines=\"1\"\n                        android:scrollHorizontally=\"true\"\n                        android:text=\"S01 E01 \"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"16sp\"\n                        android:textStyle=\"bold\"\n                        android:visibility=\"visible\" />\n\n                    <ImageView\n                        android:id=\"@+id/dot3\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_gravity=\"center\"\n                        android:layout_marginHorizontal=\"5dp\"\n                        android:src=\"@drawable/oval\"\n                        android:visibility=\"gone\" />\n\n                    <TextView\n                        android:id=\"@+id/episodeNameInTv\"\n                        style=\"@style/sizelabel\"\n                        android:layout_width=\"wrap_content\"\n                        android:layout_height=\"wrap_content\"\n                        android:ellipsize=\"end\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:gravity=\"start\"\n                        android:maxLines=\"1\"\n                        android:scrollHorizontally=\"true\"\n                        android:text=\"Episode Title\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"16sp\"\n                        android:visibility=\"gone\" />\n\n                </LinearLayout>\n\n\n                <LinearLayout\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:layout_below=\"@id/continueWatching\"\n                    android:layout_marginHorizontal=\"20dp\"\n                    android:orientation=\"vertical\">\n\n\n                    <TextView\n                        android:id=\"@+id/overviewtext\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:text=\"@string/overview\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"18sp\"\n                        android:visibility=\"gone\">\n\n                    </TextView>\n\n                    <TextView\n                        android:id=\"@+id/overviewDescTVShow\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginVertical=\"10dp\"\n                        android:fontFamily=\"@font/jost_regular\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"14sp\"\n                        android:visibility=\"visible\"\n                        tools:text=\"In the 22nd century, a paraplegic Marine is dispatched to the moon Pandora on a unique mission, but becomes torn between following orders and protecting an alien civilization.\" />\n\n                    <!--                    <TableLayout-->\n                    <!--                        android:id=\"@+id/detailsTable\"-->\n                    <!--                        android:layout_width=\"match_parent\"-->\n                    <!--                        android:layout_height=\"wrap_content\"-->\n                    <!--                        android:layout_marginTop=\"15dp\"-->\n                    <!--                        android:visibility=\"gone\">-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/Director\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Director :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:id=\"@+id/DirectorText\"-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".6\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/WrittenBy\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Written By :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:id=\"@+id/WrittenByText\"-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".6\"-->\n\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        <TableRow-->\n                    <!--                            android:id=\"@+id/Genres\"-->\n                    <!--                            android:padding=\"5dp\"-->\n                    <!--                            android:visibility=\"visible\">-->\n\n                    <!--                            <TextView-->\n                    <!--                                android:layout_width=\"0dp\"-->\n                    <!--                                android:layout_height=\"wrap_content\"-->\n                    <!--                                android:layout_weight=\".4\"-->\n                    <!--                                android:fontFamily=\"@font/jost_regular\"-->\n                    <!--                                android:text=\"Genres :\"-->\n                    <!--                                android:textColor=\"@color/white\"-->\n                    <!--                                android:textSize=\"14sp\" />-->\n\n                    <!--                            &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:id=\"@+id/GenresText\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_width=\"0dp\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:layout_weight=\".6\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                            &lt;!&ndash;                        android:textSize=\"14sp\" />&ndash;&gt;-->\n\n                    <!--                        </TableRow>-->\n\n                    <!--                        &lt;!&ndash;                <TableRow&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:padding=\"5dp\">&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:id=\"@+id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:layout_below=\"@id/videoQualityText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    tools:text=\"Budget :\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/BudgetText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/videoQualityText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_toEndOf=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"THE DIRECTOR\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                </TableRow>&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                <TableRow&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    android:padding=\"5dp\">&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/Revenue\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"Revenue :\" />&ndash;&gt;-->\n\n                    <!--                        &lt;!&ndash;                    <TextView&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:id=\"@+id/RevenueText\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_width=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_height=\"wrap_content\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_below=\"@id/Budget\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:layout_toEndOf=\"@id/Revenue\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:fontFamily=\"@font/jost_regular\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textColor=\"@color/white\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        android:textSize=\"14sp\"&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                        tools:text=\"THE DIRECTOR\" />&ndash;&gt;-->\n                    <!--                        &lt;!&ndash;                </TableRow>&ndash;&gt;-->\n\n                    <!--                    </TableLayout>-->\n\n                    <androidx.constraintlayout.widget.ConstraintLayout\n                        android:id=\"@+id/imageButtonContainer\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_gravity=\"bottom\"\n                        android:layout_marginVertical=\"5dp\"\n                        android:layout_marginBottom=\"20dp\">\n\n                        <ImageButton\n                            android:id=\"@+id/addToListButtonTV\"\n                            android:layout_width=\"50dp\"\n                            android:layout_height=\"50dp\"\n                            android:background=\"@drawable/play_shape\"\n                            android:backgroundTint=\"@color/download_button_bg_color\"\n                            android:clickable=\"true\"\n                            android:focusable=\"true\"\n                            android:nextFocusRight=\"@id/downloadButton\"\n                            android:nextFocusDown=\"@id/downloadButton\"\n                            android:scaleType=\"centerInside\"\n                            android:src=\"@drawable/ic_add\"\n                            app:layout_constraintBottom_toTopOf=\"@id/addToListText\"\n                            app:layout_constraintEnd_toStartOf=\"@id/changeShowTMDBId\"\n                            app:layout_constraintStart_toStartOf=\"parent\"\n                            app:layout_constraintTop_toTopOf=\"parent\" />\n\n                        <TextView\n                            android:id=\"@+id/addToListText\"\n                            style=\"@style/sizelabel\"\n                            android:layout_width=\"wrap_content\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_marginVertical=\"8dp\"\n                            android:ellipsize=\"end\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:gravity=\"start\"\n                            android:maxLines=\"1\"\n                            android:scrollHorizontally=\"true\"\n                            android:text=\"Add to List\"\n                            android:textColor=\"#CCCCCC\"\n                            android:textSize=\"14sp\"\n                            android:visibility=\"visible\"\n                            app:layout_constraintBottom_toBottomOf=\"parent\"\n                            app:layout_constraintEnd_toEndOf=\"@id/addToListButtonTV\"\n                            app:layout_constraintStart_toStartOf=\"@id/addToListButtonTV\"\n                            app:layout_constraintTop_toBottomOf=\"@id/addToListButtonTV\" />\n\n                        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n                        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n                        <ImageButton\n                            android:id=\"@+id/changeShowTMDBId\"\n                            android:layout_width=\"50dp\"\n                            android:layout_height=\"50dp\"\n                            android:layout_alignParentStart=\"true\"\n                            android:background=\"@drawable/play_shape\"\n                            android:backgroundTint=\"@color/download_button_bg_color\"\n                            android:clickable=\"true\"\n                            android:focusable=\"true\"\n                            android:nextFocusLeft=\"@id/downloadButton\"\n                            android:nextFocusUp=\"@id/downloadButton\"\n                            android:scaleType=\"centerInside\"\n                            android:src=\"@drawable/ic_edit\"\n                            app:layout_constraintBottom_toTopOf=\"@id/sourceText\"\n                            app:layout_constraintEnd_toEndOf=\"parent\"\n                            app:layout_constraintHorizontal_bias=\"0.5\"\n                            app:layout_constraintHorizontal_chainStyle=\"packed\"\n                            app:layout_constraintStart_toEndOf=\"@id/addToListButtonTV\"\n                            app:layout_constraintTop_toTopOf=\"parent\" />\n\n\n                        <TextView\n                            android:id=\"@+id/sourceText\"\n                            style=\"@style/sizelabel\"\n                            android:layout_width=\"wrap_content\"\n                            android:layout_height=\"wrap_content\"\n                            android:layout_marginVertical=\"8dp\"\n                            android:ellipsize=\"end\"\n                            android:fontFamily=\"@font/jost_regular\"\n                            android:gravity=\"start\"\n                            android:maxLines=\"1\"\n                            android:scrollHorizontally=\"true\"\n                            android:text=\"Change id\"\n                            android:textColor=\"#CCCCCC\"\n                            android:textSize=\"14sp\"\n                            android:visibility=\"visible\"\n                            app:layout_constraintBottom_toBottomOf=\"parent\"\n                            app:layout_constraintEnd_toEndOf=\"@id/changeShowTMDBId\"\n                            app:layout_constraintStart_toStartOf=\"@id/changeShowTMDBId\"\n                            app:layout_constraintTop_toBottomOf=\"@id/changeShowTMDBId\" />\n                        <!--                    android:background=\"@drawable/tab_bg_color\"-->\n\n\n                    </androidx.constraintlayout.widget.ConstraintLayout>\n\n                    <TextView\n                        android:id=\"@+id/SeasonRecyclerTitle\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginTop=\"10dp\"\n                        android:fontFamily=\"@font/jost_medium\"\n                        android:text=\"Seasons\"\n                        android:textColor=\"@color/white\"\n                        android:textSize=\"18sp\" />\n\n                    <androidx.recyclerview.widget.RecyclerView\n                        android:id=\"@+id/recyclerSeasons\"\n                        android:layout_width=\"match_parent\"\n                        android:layout_height=\"wrap_content\"\n                        android:layout_marginTop=\"14dp\"\n                        android:clipToPadding=\"false\"\n                        android:nestedScrollingEnabled=\"false\"\n                        android:paddingBottom=\"90dp\" />\n                </LinearLayout>\n\n            </RelativeLayout>\n\n        </RelativeLayout>\n    </androidx.core.widget.NestedScrollView>\n\n\n    <!--<androidx.core.widget.NestedScrollView-->\n    <!--    android:layout_width=\"match_parent\"-->\n    <!--    android:layout_height=\"wrap_content\"-->\n    <!--    android:layout_below=\"@id/frame\">-->\n\n    <!--    <RelativeLayout-->\n    <!--        android:layout_width=\"match_parent\"-->\n    <!--        android:layout_height=\"500dp\"-->\n    <!--        android:orientation=\"vertical\">-->\n\n    <!--        <eightbitlab.com.blurview.BlurView-->\n    <!--            android:id=\"@+id/blurView5\"-->\n    <!--            android:layout_width=\"match_parent\"-->\n    <!--            android:layout_height=\"match_parent\"-->\n    <!--            android:background=\"#00000000\"-->\n    <!--            android:clipChildren=\"false\"-->\n    <!--            android:elevation=\"8dp\"-->\n    <!--            android:fadingEdge=\"vertical\"-->\n    <!--            android:fadingEdgeLength=\"240dp\"-->\n    <!--            android:requiresFadingEdge=\"vertical\">-->\n\n\n    <!--        </eightbitlab.com.blurview.BlurView>-->\n\n\n    <!--    </RelativeLayout>-->\n\n\n    <!--    <eightbitlab.com.blurview.BlurView-->\n    <!--        android:id=\"@+id/blurView4\"-->\n    <!--        android:layout_centerHorizontal=\"true\"-->\n    <!--        android:layout_width=\"wrap_content\"-->\n    <!--        android:layout_height=\"wrap_content\"-->\n    <!--        android:background=\"#00000000\"-->\n    <!--        android:clipChildren=\"false\"-->\n    <!--        android:elevation=\"8dp\"-->\n    <!--        android:layout_marginTop=\"80dp\"-->\n    <!--        android:fadingEdge=\"vertical\"-->\n    <!--        android:fadingEdgeLength=\"240dp\"-->\n    <!--        android:requiresFadingEdge=\"vertical\">-->\n\n\n    <!--    </eightbitlab.com.blurview.BlurView>-->\n\n    <!--    <com.google.android.material.button.MaterialButton-->\n    <!--        android:id=\"@+id/download\"-->\n    <!--        style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"-->\n    <!--        android:layout_width=\"50dp\"-->\n    <!--        android:layout_height=\"48dp\"-->\n    <!--        android:layout_below=\"@id/GenresText\"-->\n    <!--        android:layout_marginStart=\"20dp\"-->\n    <!--        android:layout_marginTop=\"15dp\"-->\n    <!--        android:clickable=\"true\"-->\n    <!--        android:focusable=\"true\"-->\n    <!--        android:orientation=\"horizontal\"-->\n    <!--        app:icon=\"@drawable/ic_download\"-->\n    <!--        app:iconGravity=\"textStart\"-->\n    <!--        app:iconTint=\"@color/download_button_bg_color\" />-->\n\n    <!--    &lt;!&ndash;        <com.google.android.material.button.MaterialButton&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:id=\"@+id/changeTMDBId\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            style=\"@style/Widget.AppCompat.Button.Borderless.Colored\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_width=\"50dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_height=\"48dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_below=\"@id/labels\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_alignParentEnd=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:layout_marginTop=\"15dp\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:clickable=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:focusable=\"true\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            android:orientation=\"horizontal\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:icon=\"@drawable/ic_change\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:iconGravity=\"textStart\"&ndash;&gt;-->\n    <!--    &lt;!&ndash;            app:iconTint=\"#626161\" />&ndash;&gt;-->\n\n\n    <!--</androidx.core.widget.NestedScrollView>-->\n\n\n    <!--            <ImageView-->\n    <!--                android:id=\"@+id/moviePosterInDetails\"-->\n    <!--                android:layout_width=\"133dp\"-->\n    <!--                android:layout_height=\"200dp\"-->\n    <!--                android:layout_marginTop=\"150dp\"-->\n    <!--                android:scaleType=\"centerCrop\"-->\n    <!--                android:src=\"@color/transparent\" />-->\n\n\n</RelativeLayout>"
  },
  {
    "path": "app/src/main/res/layout/fragment_tv_shows_library.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_height=\"match_parent\"\n    android:layout_width=\"match_parent\"\n    xmlns:tools=\"http://schemas.android.com/tools\">\n        <androidx.recyclerview.widget.RecyclerView\n            android:id=\"@+id/recyclerLibraryTVShows\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:layout_gravity=\"center_horizontal\"\n            android:paddingBottom=\"85dp\"\n            android:clipToPadding=\"false\"\n            tools:listitem=\"@layout/media_item\" />\n</LinearLayout>\n"
  },
  {
    "path": "app/src/main/res/layout/fragment_update_app.xml",
    "content": "<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_gravity=\"center_horizontal\"\n    app:cardCornerRadius=\"8dp\"\n    app:cardElevation=\"8dp\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:layout_margin=\"5dp\"\n    app:cardBackgroundColor=\"@color/white\"\n    android:layout_centerInParent=\"true\"\n    app:cardMaxElevation=\"10dp\"\n    app:cardPreventCornerOverlap=\"true\"\n    app:cardUseCompatPadding=\"true\">\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:background=\"#1F1F1F\"\n        android:gravity=\"center_horizontal\"\n        android:backgroundTint=\"#292929\"\n        android:padding=\"5dp\">\n\n        <TextView\n            android:id=\"@+id/whatsNew\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/update_available\"\n            android:layout_centerHorizontal=\"true\"\n            android:layout_marginTop=\"5dp\"\n            android:layout_marginBottom=\"30dp\"\n            android:ems=\"10\"\n            android:paddingHorizontal=\"30dp\"\n            android:textColor=\"@color/white\"\n            app:layout_constraintEnd_toEndOf=\"parent\"\n            app:layout_constraintStart_toStartOf=\"parent\"\n            app:layout_constraintTop_toBottomOf=\"@+id/update_available\" />\n\n\n        <TextView\n            android:id=\"@+id/update_available\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_alignParentTop=\"true\"\n            android:layout_centerHorizontal=\"true\"\n            android:layout_marginTop=\"20dp\"\n            android:text=\"@string/update_available\"\n            android:textColor=\"@color/white\"\n            app:layout_constraintEnd_toEndOf=\"parent\"\n            app:layout_constraintStart_toStartOf=\"parent\"\n            app:layout_constraintTop_toTopOf=\"parent\" />\n\n        <androidx.constraintlayout.widget.ConstraintLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/whatsNew\"\n            android:paddingVertical=\"10dp\">\n\n            <Button\n                android:id=\"@+id/update\"\n                android:layout_width=\"120dp\"\n                android:layout_height=\"40dp\"\n                android:layout_centerHorizontal=\"true\"\n                android:background=\"@drawable/rounded_corner_labels\"\n                android:text=\"@string/update\"\n                android:textColor=\"@color/white\"\n                app:layout_constraintBottom_toBottomOf=\"parent\"\n                app:layout_constraintEnd_toStartOf=\"@+id/NotNow\"\n                app:layout_constraintHorizontal_bias=\"0.5\"\n                app:layout_constraintStart_toStartOf=\"parent\"\n                app:layout_constraintTop_toTopOf=\"parent\" />\n\n            <Button\n                android:id=\"@+id/NotNow\"\n                android:layout_width=\"120dp\"\n                android:layout_height=\"40dp\"\n                android:layout_centerHorizontal=\"true\"\n                android:background=\"@drawable/rounded_corner_labels\"\n                android:text=\"@string/not_now\"\n                android:textColor=\"@color/white\"\n                app:layout_constraintBottom_toBottomOf=\"parent\"\n                app:layout_constraintEnd_toEndOf=\"parent\"\n                app:layout_constraintHorizontal_bias=\"0.5\"\n                app:layout_constraintStart_toEndOf=\"@+id/update\"\n                app:layout_constraintTop_toTopOf=\"parent\" />\n        </androidx.constraintlayout.widget.ConstraintLayout>\n\n    </RelativeLayout>\n\n</androidx.cardview.widget.CardView>"
  },
  {
    "path": "app/src/main/res/layout/home_item.xml",
    "content": "<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:paddingVertical=\"10dp\"\n    android:orientation=\"vertical\"\n    tools:context=\"com.theflexproject.thunder.fragments.HomeFragment\">\n\n    <TextView\n        android:id=\"@+id/recyclerTitleInHomeItem\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:fontFamily=\"@font/jost_medium\"\n        android:paddingStart=\"20dp\"\n        android:text=\"New Releases\"\n        android:textColor=\"@color/white\"\n        android:textSize=\"16sp\" />\n\n    <androidx.recyclerview.widget.RecyclerView\n        android:id=\"@+id/recyclerInHomeItem\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_marginTop=\"14dp\"\n        tools:listitem=\"@layout/movie_item_recycler\"\n        android:orientation=\"horizontal\"\n        app:layoutManager=\"androidx.recyclerview.widget.LinearLayoutManager\" />\n\n</LinearLayout>"
  },
  {
    "path": "app/src/main/res/layout/index_item.xml",
    "content": "<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    android:layout_gravity=\"center_horizontal\"\n    app:cardCornerRadius=\"8dp\"\n    app:cardElevation=\"8dp\"\n    android:focusable=\"false\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    app:cardMaxElevation=\"10dp\"\n    android:backgroundTint=\"#1f1f1f\"\n    app:cardUseCompatPadding=\"true\"\n    app:cardPreventCornerOverlap=\"true\">\n\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:weightSum=\"5\"\n        android:layout_gravity=\"center\"\n        android:orientation=\"vertical\">\n\n\n        <androidx.appcompat.widget.SwitchCompat\n            android:id=\"@+id/enableIndexToggle\"\n            android:layout_width=\"42dp\"\n            android:layout_height=\"30dp\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_marginVertical=\"10dp\"\n            android:layout_marginStart=\"5dp\"\n            android:layout_marginEnd=\"15dp\"\n            android:checked=\"true\"\n            android:clickable=\"true\"\n            android:focusable=\"true\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:gravity=\"center_vertical\"\n            android:textColor=\"@color/download_button_bg_color\"\n            android:textSize=\"16sp\"\n            android:thumb=\"@drawable/switch_ios_selector\"\n            app:track=\"@drawable/switch_ios_track\"\n            app:trackTint=\"@color/switch_bg_color\" />\n\n\n        <TextView\n            android:id=\"@+id/textViewLink\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/typeContainer\"\n            android:layout_centerHorizontal=\"true\"\n            android:layout_marginBottom=\"10dp\"\n            android:layout_marginHorizontal=\"15dp\"\n            android:background=\"@drawable/index_link_bg\"\n            android:focusable=\"false\"\n            android:padding=\"10dp\"\n            android:text=\"https://linkmastershared.thelinkmaster111.workers.dev/0:/25/Movies/\"\n            android:textColor=\"#70FFFFFF\"\n            android:textIsSelectable=\"true\" />\n\n        <androidx.constraintlayout.widget.ConstraintLayout\n            android:id=\"@+id/typeContainer\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_marginVertical=\"15dp\"\n            android:layout_marginStart=\"15dp\"\n            android:layout_marginEnd=\"70dp\"\n            android:gravity=\"center_horizontal\"\n            android:orientation=\"horizontal\">\n\n\n            <!--            <com.google.android.material.textfield.TextInputLayout-->\n            <!--                style=\"@style/Widget.MaterialComponents.TextInputLayout.FilledBox.Dense.ExposedDropdownMenu\"-->\n            <!--                android:layout_width=\"match_parent\"-->\n            <!--                android:layout_height=\"wrap_content\"-->\n            <!--                android:layout_alignParentStart=\"true\"-->\n            <!--                android:layout_alignParentTop=\"true\"-->\n            <!--                android:layout_centerHorizontal=\"true\"-->\n            <!--                app:boxBackgroundColor=\"@color/black\"-->\n            <!--                app:layout_constraintEnd_toStartOf=\"@+id/folderTypeInIndexAdapter\"-->\n            <!--                app:layout_constraintHorizontal_bias=\"0.5\"-->\n            <!--                app:layout_constraintStart_toStartOf=\"parent\"-->\n            <!--                app:layout_constraintTop_toTopOf=\"parent\">-->\n\n            <!--                <AutoCompleteTextView-->\n            <!--                    android:id=\"@+id/actv\"-->\n            <!--                    android:layout_width=\"match_parent\"-->\n            <!--                    android:layout_height=\"wrap_content\"-->\n            <!--                    android:background=\"@drawable/search_bg\"-->\n            <!--                    android:inputType=\"none\"-->\n            <!--                    android:padding=\"15dp\"-->\n            <!--                    android:layout_weight=\"1\"-->\n            <!--                    android:textColor=\"@color/white\" />-->\n\n            <!--            </com.google.android.material.textfield.TextInputLayout>-->\n\n\n            <TextView\n                android:id=\"@+id/indexTypeInIndexAdapter\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_alignParentTop=\"true\"\n                android:layout_centerHorizontal=\"true\"\n                android:focusable=\"false\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:text=\"Index Type\"\n                android:textColor=\"@color/white\"\n                android:visibility=\"visible\"\n                app:layout_constraintBottom_toBottomOf=\"parent\"\n                app:layout_constraintEnd_toStartOf=\"@+id/folderTypeInIndexAdapter\"\n                app:layout_constraintHorizontal_bias=\"0.5\"\n                app:layout_constraintStart_toStartOf=\"parent\"\n                app:layout_constraintTop_toTopOf=\"parent\" />\n\n\n            <TextView\n                android:id=\"@+id/folderTypeInIndexAdapter\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_alignParentTop=\"true\"\n                android:layout_centerHorizontal=\"true\"\n                android:layout_toEndOf=\"@id/indexTypeInIndexAdapter\"\n                android:focusable=\"false\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:text=\"Folder Type\"\n                android:textColor=\"@color/white\"\n                android:visibility=\"visible\"\n                app:layout_constraintBottom_toBottomOf=\"parent\"\n                app:layout_constraintEnd_toEndOf=\"parent\"\n                app:layout_constraintHorizontal_bias=\"0.5\"\n                app:layout_constraintStart_toEndOf=\"@+id/indexTypeInIndexAdapter\"\n                app:layout_constraintTop_toTopOf=\"parent\" />\n        </androidx.constraintlayout.widget.ConstraintLayout>\n\n<!--        <TextView-->\n<!--            android:id=\"@+id/mediaDetected\"-->\n<!--            android:layout_width=\"wrap_content\"-->\n<!--            android:layout_height=\"wrap_content\"-->\n<!--            android:layout_below=\"@id/filesDetected\"-->\n<!--            android:text=\"Media Detected :\"-->\n<!--            android:focusable=\"false\"-->\n<!--            android:textColor=\"@color/white\" />-->\n<!--        -->\n<!--        <TextView-->\n<!--            android:id=\"@+id/filesDetected\"-->\n<!--            android:layout_width=\"wrap_content\"-->\n<!--            android:layout_height=\"wrap_content\"-->\n<!--            android:layout_below=\"@id/folderTypeInIndexAdapter\"-->\n<!--            android:text=\"Total Files Detected :\"-->\n<!--            android:focusable=\"false\"-->\n<!--            android:textColor=\"@color/white\" />-->\n\n        <RelativeLayout\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id/textViewLink\"\n            android:layout_alignParentStart=\"true\"\n            android:layout_alignParentEnd=\"true\"\n            android:layout_alignParentBottom=\"false\"\n            android:background=\"#121212\"\n            android:paddingBottom=\"5dp\">\n\n            <TextView\n                android:id=\"@+id/noOfMedia\"\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_alignParentStart=\"true\"\n                android:layout_centerVertical=\"true\"\n                android:layout_gravity=\"center_vertical\"\n                android:layout_marginStart=\"20dp\"\n                android:layout_toStartOf=\"@id/refreshButton\"\n                android:fontFamily=\"@font/jost_medium\"\n                android:text=\"69 Movies\"\n                android:textColor=\"@color/white\"\n                android:textSize=\"20sp\" />\n\n\n            <ImageButton\n                android:id=\"@+id/refreshButton\"\n                android:layout_width=\"30dp\"\n                android:layout_height=\"30dp\"\n                android:layout_gravity=\"center_vertical\"\n                android:layout_marginStart=\"5dp\"\n                android:layout_marginTop=\"5dp\"\n                android:layout_marginEnd=\"5dp\"\n                android:layout_marginBottom=\"5dp\"\n                android:layout_toStartOf=\"@id/deletebutton\"\n                android:background=\"@color/transparent\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:src=\"@drawable/ic_refresh\"\n                app:tint=\"@color/download_button_bg_color\" />\n            <!--    android:background=\"@drawable/tab_bg_color\"-->\n\n            <ImageButton\n                android:id=\"@+id/deletebutton\"\n                android:layout_width=\"30dp\"\n                android:layout_height=\"30dp\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_gravity=\"center_vertical\"\n                android:layout_marginStart=\"5dp\"\n                android:layout_marginTop=\"5dp\"\n                android:layout_marginEnd=\"15dp\"\n                android:layout_marginBottom=\"5dp\"\n                android:background=\"@color/transparent\"\n                android:clickable=\"true\"\n                android:focusable=\"true\"\n                android:src=\"@drawable/ic_delete\"\n                app:tint=\"@color/delete_button_color\" />\n            <!--    android:background=\"@drawable/tab_bg_color\"-->\n\n\n        </RelativeLayout>\n\n    </RelativeLayout>\n\n\n\n\n\n\n</androidx.cardview.widget.CardView>"
  },
  {
    "path": "app/src/main/res/layout/item_folder_type.xml",
    "content": "<TextView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:padding=\"14dp\"\n    android:textSize=\"14sp\"\n    android:gravity=\"start\"\n    android:fontFamily=\"@font/jost_medium\"\n    android:background=\"#90000000\"\n    android:textColor=\"@color/white\"\n    android:text=\"GDIndex\">\n</TextView>"
  },
  {
    "path": "app/src/main/res/layout/item_index_type.xml",
    "content": "<TextView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:padding=\"14dp\"\n    android:textSize=\"14sp\"\n    android:gravity=\"start\"\n    android:background=\"#90000000\"\n    android:fontFamily=\"@font/jost_medium\"\n    android:textColor=\"@color/white\"\n    android:text=\"GDIndex\">\n</TextView>"
  },
  {
    "path": "app/src/main/res/layout/media_item.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:id=\"@+id/movieCard\"\n    android:layout_width=\"100dp\"\n    android:layout_height=\"wrap_content\"\n    android:layout_margin=\"10dp\"\n    android:focusable=\"true\"\n    app:cardBackgroundColor=\"@color/media_item_bg_color\"\n    app:cardCornerRadius=\"12sp\">\n\n    <RelativeLayout\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\">\n\n        <ImageView\n            android:id=\"@+id/posterInMediaItem\"\n            android:layout_width=\"100dp\"\n            android:layout_height=\"150dp\"\n            android:layout_centerHorizontal=\"true\"\n            android:scaleType=\"centerCrop\"\n            app:srcCompat=\"@color/transparent\" />\n\n        <TextView\n            android:id=\"@+id/nameInMediaItem\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@+id/posterInMediaItem\"\n            android:layout_alignStart=\"@+id/posterInMediaItem\"\n            android:layout_alignEnd=\"@+id/posterInMediaItem\"\n            android:layout_marginTop=\"5dp\"\n            android:ellipsize=\"end\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:gravity=\"center\"\n            android:maxLines=\"1\"\n            android:paddingHorizontal=\"5dp\"\n            android:scrollHorizontally=\"true\"\n            android:text=\"TextView\"\n            android:textAlignment=\"center\"\n            android:textColor=\"@color/white\"\n            android:textSize=\"14sp\" />\n\n        <TextView\n            android:id=\"@+id/yearInMediaItem\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@+id/nameInMediaItem\"\n            android:layout_centerHorizontal=\"true\"\n            android:fontFamily=\"@font/jost_light\"\n            android:text=\"TextView\"\n            android:textSize=\"12sp\"\n            android:textAlignment=\"center\"\n            android:textColor=\"#cccccc\"\n            android:visibility=\"gone\" />\n    </RelativeLayout>\n\n\n</androidx.cardview.widget.CardView>\n"
  },
  {
    "path": "app/src/main/res/layout/movie_item_banner.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:cardCornerRadius=\"12dp\"\n    app:cardBackgroundColor=\"@color/media_item_bg_color\"\n    android:focusable=\"true\"\n    android:layout_margin=\"12dp\">\n\n    <RelativeLayout\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\">\n\n        <ImageView\n            android:id=\"@+id/moviePoster\"\n            android:layout_width=\"260dp\"\n            android:layout_height=\"146dp\"\n            android:layout_centerInParent=\"false\"\n            android:layout_centerHorizontal=\"true\"\n            android:layout_gravity=\"center_horizontal\"\n            android:scaleType=\"centerCrop\"\n            app:layout_constraintEnd_toEndOf=\"parent\"\n            app:layout_constraintStart_toStartOf=\"parent\"\n            app:layout_constraintTop_toTopOf=\"parent\"\n            app:srcCompat=\"@color/transparent\" />\n\n        <TextView\n            android:id=\"@+id/textView4\"\n            android:layout_width=\"355dp\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@+id/moviePoster\"\n            android:layout_alignStart=\"@+id/moviePoster\"\n            android:layout_alignEnd=\"@+id/moviePoster\"\n            android:layout_gravity=\"center_horizontal\"\n            android:layout_marginStart=\"0dp\"\n            android:layout_marginTop=\"10dp\"\n            android:layout_marginEnd=\"0dp\"\n            android:maxLines=\"1\"\n            android:ellipsize=\"end\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:text=\"TextView\"\n            android:textAlignment=\"center\"\n            android:textColor=\"@color/white\"\n            app:layout_constraintTop_toBottomOf=\"@+id/moviePoster\" />\n    </RelativeLayout>\n\n\n</androidx.cardview.widget.CardView>\n"
  },
  {
    "path": "app/src/main/res/layout/movie_item_library.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"100dp\"\n    android:layout_height=\"wrap_content\"\n    android:id=\"@+id/movieCard\"\n    app:cardBackgroundColor=\"#00000000\"\n    android:layout_margin=\"10dp\">\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\">\n\n        <ImageView\n            android:id=\"@+id/moviePoster2\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"150dp\"\n            android:scaleType=\"centerCrop\"\n            app:srcCompat=\"@drawable/dummyposter\" />\n\n        <TextView\n            android:id=\"@+id/movieName\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@+id/moviePoster2\"\n            android:layout_alignStart=\"@+id/moviePoster2\"\n            android:layout_alignEnd=\"@+id/moviePoster2\"\n            android:paddingTop=\"5dp\"\n            android:layout_centerInParent=\"true\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:text=\"TextView\"\n            android:textAlignment=\"center\"\n            android:textColor=\"@color/white\"\n            android:textSize=\"13sp\"\n            app:layout_constraintTop_toBottomOf=\"@+id/moviePoster2\" />\n\n        <TextView\n            android:id=\"@+id/movieYear\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@+id/movieName\"\n            android:layout_centerHorizontal=\"true\"\n            android:layout_gravity=\"center\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:text=\"TextView\"\n            android:textAlignment=\"center\"\n            android:textColor=\"#cccccc\"\n            android:visibility=\"gone\"\n            android:textSize=\"10sp\"\n            app:layout_constraintTop_toBottomOf=\"@+id/moviePoster2\" />\n    </RelativeLayout>\n\n\n</androidx.cardview.widget.CardView>\n"
  },
  {
    "path": "app/src/main/res/layout/movie_item_recycler.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"105dp\"\n    android:layout_height=\"wrap_content\"\n    app:cardBackgroundColor=\"#000000\"\n    android:layout_margin=\"8dp\">\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\">\n\n        <ImageView\n            android:id=\"@+id/moviePoster2\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"157dp\"\n            android:scaleType=\"centerCrop\"\n            app:srcCompat=\"@drawable/dummyposter\" />\n\n        <TextView\n            android:id=\"@+id/movieName\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@+id/moviePoster2\"\n            android:layout_alignStart=\"@+id/moviePoster2\"\n            android:layout_alignEnd=\"@+id/moviePoster2\"\n            android:layout_gravity=\"center\"\n            android:layout_marginStart=\"0dp\"\n            android:layout_marginTop=\"10dp\"\n            android:layout_marginEnd=\"0dp\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:text=\"TextView\"\n            android:textAlignment=\"center\"\n            android:textColor=\"@color/white\"\n            app:layout_constraintTop_toBottomOf=\"@+id/moviePoster2\" />\n    </RelativeLayout>\n\n\n</androidx.cardview.widget.CardView>\n"
  },
  {
    "path": "app/src/main/res/layout/refresh_time_dialog.xml",
    "content": "\n    <RelativeLayout\n        xmlns:android=\"http://schemas.android.com/apk/res/android\"\n        android:layout_width=\"fill_parent\"\n        android:layout_height=\"wrap_content\"\n        android:padding=\"10dp\">\n\n\n        <NumberPicker\n            android:id=\"@+id/numberPicker1\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_alignParentTop=\"true\"\n            android:layout_centerHorizontal=\"true\"\n            android:theme=\"@style/AppTheme.Picker\" />\n\n<!--        <Button-->\n<!--            android:id=\"@+id/button2\"-->\n<!--            android:layout_width=\"wrap_content\"-->\n<!--            android:layout_height=\"wrap_content\"-->\n<!--            android:layout_below=\"@+id/numberPicker1\"-->\n<!--            android:layout_toEndOf=\"@+id/numberPicker1\"-->\n<!--            android:text=\"Cancel\"-->\n<!--            android:textColor=\"@color/download_button_bg_color\" />-->\n\n        <Button\n            android:id=\"@+id/button1\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_centerHorizontal=\"true\"\n            android:layout_below=\"@id/numberPicker1\"\n            android:text=\"Set\"\n            android:textColor=\"@color/download_button_bg_color\" />\n\n    </RelativeLayout>\n\n"
  },
  {
    "path": "app/src/main/res/layout/tvshow_item.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<androidx.cardview.widget.CardView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"100dp\"\n    android:layout_height=\"wrap_content\"\n    android:id=\"@+id/tvShowCard\"\n    app:cardBackgroundColor=\"#00000000\"\n    android:layout_margin=\"10dp\">\n\n    <RelativeLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\">\n\n        <ImageView\n            android:id=\"@+id/tvShowPoster\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"150dp\"\n            android:scaleType=\"centerCrop\"\n            app:srcCompat=\"@drawable/dummyposter\" />\n\n        <TextView\n            android:id=\"@+id/tvShowName\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@+id/tvShowPoster\"\n            android:layout_alignStart=\"@+id/tvShowPoster\"\n            android:layout_alignEnd=\"@+id/tvShowPoster\"\n            android:layout_gravity=\"center\"\n            android:layout_marginStart=\"0dp\"\n            android:layout_marginTop=\"10dp\"\n            android:layout_marginEnd=\"0dp\"\n            android:fontFamily=\"@font/jost_regular\"\n            android:text=\"TextView\"\n            android:textAlignment=\"center\"\n            android:textColor=\"@color/white\"\n            app:layout_constraintTop_toBottomOf=\"@+id/tvShowPoster\" />\n    </RelativeLayout>\n\n\n</androidx.cardview.widget.CardView>\n"
  },
  {
    "path": "app/src/main/res/menu/bottom_navigation_menu.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<menu xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item\n        android:id=\"@+id/homeFragment\"\n        android:icon=\"@drawable/ic_home\"\n        android:title=\"Home\" />\n\n    <item\n        android:id=\"@+id/searchFragment\"\n        android:icon=\"@drawable/ic_search\"\n        android:title=\"Search\" />\n    <item\n        android:id=\"@+id/libraryFragment\"\n        android:icon=\"@drawable/ic_library\"\n        android:title=\"Library\" />\n    <item\n        android:id=\"@+id/settingsFragment\"\n        android:icon=\"@drawable/ic_settings\"\n        android:title=\"Settings\" />\n</menu>"
  },
  {
    "path": "app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n  <background android:drawable=\"@mipmap/ic_launcher_background\"/>\n  <foreground android:drawable=\"@mipmap/ic_launcher_foreground\"/>\n  <monochrome android:drawable=\"@mipmap/ic_launcher_monochrome\"/>\n</adaptive-icon>"
  },
  {
    "path": "app/src/main/res/values/bg.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <color name=\"bg\">#FFFFFF</color>\n</resources>"
  },
  {
    "path": "app/src/main/res/values/color.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources xmlns:tools=\"http://schemas.android.com/tools\">\n    <color name=\"purple_200\">#FFBB86FC</color>\n    <color name=\"purple_700\">#FF3700B3</color>\n    <color name=\"teal_200\">#FF03DAC5</color>\n    <color name=\"black\">#FF000000</color>\n    <color name=\"black85\">#85000000</color>\n    <color name=\"card_bg\">#111111</color>\n    <color name=\"white\">#FFFFFFFF</color>\n    <color name=\"red\">#FE2222</color>\n    <color name=\"red50\">#50FE2222</color>\n    <color name=\"transparent\">#00000000</color>\n    <color name=\"blue\">#00A3FF</color>\n\n    <color name=\"blue80\">#8000A3FF</color>\n\n    <color name=\"ui_controls_background\">#98000000</color>\n    <color name=\"exo_bottom_bar_background\" tools:keep=\"@color/exo_bottom_bar_background\">@color/ui_controls_background</color>\n    <color name=\"exo_black_opacity_70\" tools:keep=\"@color/exo_black_opacity_70\">@color/ui_controls_background</color>\n    <color name=\"exo_styled_error_message_background\" tools:keep=\"@color/exo_styled_error_message_background\">@color/ui_controls_background</color>\n</resources>"
  },
  {
    "path": "app/src/main/res/values/strings.xml",
    "content": "<resources>\n    <string name=\"app_name\">Thunder</string>\n    <string name=\"save\">Save</string>\n    <string name=\"enter_index_details\">Enter Index Details</string>\n    <string name=\"index_link\">Index Link</string>\n    <string name=\"username\">Username</string>\n    <string name=\"password\">Password</string>\n    <string name=\"todo\">TODO</string>\n    <string name=\"index_details\">Index Details</string>\n    <string name=\"overview\">Overview</string>\n    <string name=\"download\">Download</string>\n    <string name=\"play\">Play</string>\n    <string name=\"available_files\">Available Files</string>\n\n    <string-array name=\"sort_methods\">\n        <item>FileName</item>\n        <item>Title</item>\n        <item>TimeModified</item>\n        <item>ReleaseDate</item>\n        <item>Size</item>\n        <item>IndexLink</item>\n    </string-array>\n\n    <string-array name=\"index_types\">\n        <item>GDIndex</item>\n        <item>GoIndex</item>\n        <item>MapleIndex</item>\n        <item>SimpleProgram</item>\n    </string-array>\n\n    <string-array name=\"folder_types\">\n        <item>Movies</item>\n        <item>TVShows</item>\n    </string-array>\n    <!-- TODO: Remove or change this placeholder text -->\n    <string name=\"hello_blank_fragment\">Hello blank fragment</string>\n    <string name=\"update_available\">Update Available</string>\n    <string name=\"update\">update</string>\n    <string name=\"not_now\">Not Now</string>\n    <string name=\"sort_by\">Sort By</string>\n    <string name=\"movies\">Movies</string>\n    <string name=\"tv_shows\">TV Shows</string>\n    <string name=\"import_export_instructions\">When permission is asked for storage allow and restart the app \\n Exported Database is stored in Download/Thunder \\n (Check if the file \\\"ThunderBackup.db\\\" is present in the device after export)\\n To import previously exported Database: \\n Click Import Database and restart the app</string>\n    <string name=\"search_for_a_movie_or_a_show\">Search for a movie or a show</string>\n    <string name=\"gdindex\">GDIndex</string>\n    <string name=\"goindex\">GoIndex</string>\n    <string name=\"mapleindex\">Maple</string>\n    <string name=\"simpleprogram\">SimpleProgram</string>\n    <string name=\"enter_link_msg\">Enter Index Link</string>\n</resources>"
  },
  {
    "path": "app/src/main/res/values/style.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <style name=\"sizelabel\">\n        <item name=\"android:gravity\">center</item>\n        <item name=\"android:layout_width\">wrap_content</item>\n        <item name=\"android:layout_height\">wrap_content</item>\n        <item name=\"android:textSize\">12sp</item>\n        <item name=\"android:textColor\">@color/white</item>\n    </style>\n\n    <style name=\"tabText\">\n        <item name=\"android:gravity\">center</item>\n        <item name=\"android:layout_width\">wrap_content</item>\n        <item name=\"android:layout_height\">wrap_content</item>\n        <item name=\"android:textSize\">16sp</item>\n        <item name=\"android:textAlignment\">center</item>\n        <item name=\"android:fontFamily\">@font/jost_medium</item>\n        <item name=\"android:textColor\">@color/white</item>\n    </style>\n\n    <style name=\"AppTheme.Picker\" parent=\"Theme.AppCompat.Light.NoActionBar\" >\n        <item name=\"android:textColorPrimary\">@android:color/black</item>\n    </style>\n\n\n    <style name=\"RoundedTabLayoutStyle\" parent=\"Widget.Design.TabLayout\">\n        <item name=\"android:background\">@drawable/tab_layout_bg</item>\n        <item name=\"tabSelectedTextColor\">@color/white</item>\n        <item name=\"tabTextColor\">@color/white</item>\n        <item name=\"background\">@color/transparent</item>\n        <item name=\"tabBackground\">@drawable/tab_item_selector</item>\n        <item name=\"tabIndicatorAnimationMode\">elastic</item>\n        <item name=\"tabIndicatorHeight\">4dp</item>\n        <item name=\"tabIndicatorFullWidth\">false</item>\n        <item name=\"tabIndicator\">@drawable/tab_indicator_bg</item>\n\n\n    </style>\n\n</resources>"
  },
  {
    "path": "app/src/main/res/values/themes.xml",
    "content": "<resources xmlns:tools=\"http://schemas.android.com/tools\">\n    <!-- Base application theme. -->\n    <style name=\"Theme.MyApplication\" parent=\"Theme.MaterialComponents.DayNight.NoActionBar\">\n\n        <item name=\"colorPrimary\">@color/black</item>\n        <item name=\"colorPrimaryVariant\">@color/black</item>\n        <item name=\"colorOnPrimary\">@color/black</item>\n        <item name=\"colorSecondary\">@color/black</item>\n        <item name=\"colorSecondaryVariant\">@color/black</item>\n        <item name=\"colorOnSecondary\">@color/white</item>\n        <item name=\"colorAccent\">#00A3FF</item>\n        <item name=\"android:statusBarColor\">@color/transparent</item>\n        <!-- Customize your theme here. -->\n    </style>\n\n    <style name=\"SplashTheme\" parent=\"Theme.MaterialComponents.Light.NoActionBar\">\n        <item name=\"android:windowBackground\">@drawable/splash_background</item>\n        <item name=\"colorPrimary\">@color/black</item>\n        <item name=\"colorPrimaryDark\">@color/black</item>\n        <item name=\"colorAccent\">@color/red</item>\n        <item name=\"android:statusBarColor\">@color/transparent</item>\n    </style>\n\n</resources>"
  },
  {
    "path": "app/src/main/res/xml/backup_rules.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?><!--\n   Sample backup rules movie; uncomment and customize as necessary.\n   See https://developer.android.com/guide/topics/data/autobackup\n   for details.\n   Note: This movie is ignored for devices older that API 31\n   See https://developer.android.com/about/versions/12/backup-restore\n-->\n<full-backup-content>\n    <!--\n   <include domain=\"sharedpref\" path=\".\"/>\n   <exclude domain=\"sharedpref\" path=\"device.xml\"/>\n-->\n</full-backup-content>"
  },
  {
    "path": "app/src/main/res/xml/data_extraction_rules.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?><!--\n   Sample data extraction rules movie; uncomment and customize as necessary.\n   See https://developer.android.com/about/versions/12/backup-restore#xml-changes\n   for details.\n-->\n<data-extraction-rules>\n    <cloud-backup>\n        <!-- TODO: Use <include> and <exclude> to control what is backed up.\n        <include .../>\n        <exclude .../>\n        -->\n    </cloud-backup>\n    <!--\n    <device-transfer>\n        <include .../>\n        <exclude .../>\n    </device-transfer>\n    -->\n</data-extraction-rules>"
  },
  {
    "path": "app/src/test/java/com/theflexproject/thunder/ExampleUnitTest.java",
    "content": "package com.theflexproject.thunder;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.Test;\n\n/**\n * Example local unit test, which will execute on the development machine (host).\n *\n * @see <a href=\"http://d.android.com/tools/testing\">Testing documentation</a>\n */\npublic class ExampleUnitTest {\n    @Test\n    public void addition_isCorrect() {\n        assertEquals(4, 2 + 2);\n    }\n}"
  },
  {
    "path": "build.gradle",
    "content": "// Top-level build file where you can add configuration options common to all sub-projects/modules.\nplugins {\n    id 'com.android.application' version '7.2.2' apply false\n    id 'com.android.library' version '7.2.2' apply false\n}\n\ntask clean(type: Delete) {\n    delete rootProject.buildDir\n}"
  },
  {
    "path": "gradle/wrapper/gradle-wrapper.properties",
    "content": "#Wed Aug 31 08:34:56 IST 2022\ndistributionBase=GRADLE_USER_HOME\ndistributionUrl=https\\://services.gradle.org/distributions/gradle-7.3.3-bin.zip\ndistributionPath=wrapper/dists\nzipStorePath=wrapper/dists\nzipStoreBase=GRADLE_USER_HOME\n"
  },
  {
    "path": "gradle.properties",
    "content": "# Project-wide Gradle settings.\n# IDE (e.g. Android Studio) users:\n# Gradle settings configured through the IDE *will override*\n# any settings specified in this movie.\n# For more details on how to configure your build environment visit\n# http://www.gradle.org/docs/current/userguide/build_environment.html\n# Specifies the JVM arguments used for the daemon process.\n# The setting is particularly useful for tweaking memory settings.\n\norg.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8\n# When configured, Gradle will run in incubating parallel mode.\n# This option should only be used with decoupled projects. More details, visit\n# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects\n# org.gradle.parallel=true\n# AndroidX package structure to make it clearer which packages are bundled with the\n# Android operating system, and which are packaged with your app\"s APK\n# https://developer.android.com/topic/libraries/support-library/androidx-rn\nandroid.useAndroidX=true\n# Enables namespacing of each library's R class so that its R class includes only the\n# resources declared in the library itself and none from the library's dependencies,\n# thereby reducing the size of the R class for that library\nandroid.nonTransitiveRClass=true\n\n"
  },
  {
    "path": "gradlew",
    "content": "#!/usr/bin/env sh\n\n#\n# Copyright 2015 the original author or authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n##############################################################################\n##\n##  Gradle start up script for UN*X\n##\n##############################################################################\n\n# Attempt to set APP_HOME\n# Resolve links: $0 may be a link\nPRG=\"$0\"\n# Need this for relative symlinks.\nwhile [ -h \"$PRG\" ] ; do\n    ls=`ls -ld \"$PRG\"`\n    link=`expr \"$ls\" : '.*-> \\(.*\\)$'`\n    if expr \"$link\" : '/.*' > /dev/null; then\n        PRG=\"$link\"\n    else\n        PRG=`dirname \"$PRG\"`\"/$link\"\n    fi\ndone\nSAVED=\"`pwd`\"\ncd \"`dirname \\\"$PRG\\\"`/\" >/dev/null\nAPP_HOME=\"`pwd -P`\"\ncd \"$SAVED\" >/dev/null\n\nAPP_NAME=\"Gradle\"\nAPP_BASE_NAME=`basename \"$0\"`\n\n# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\nDEFAULT_JVM_OPTS='\"-Xmx64m\" \"-Xms64m\"'\n\n# Use the maximum available, or set MAX_FD != -1 to use that value.\nMAX_FD=\"maximum\"\n\nwarn () {\n    echo \"$*\"\n}\n\ndie () {\n    echo\n    echo \"$*\"\n    echo\n    exit 1\n}\n\n# OS specific support (must be 'true' or 'false').\ncygwin=false\nmsys=false\ndarwin=false\nnonstop=false\ncase \"`uname`\" in\n  CYGWIN* )\n    cygwin=true\n    ;;\n  Darwin* )\n    darwin=true\n    ;;\n  MINGW* )\n    msys=true\n    ;;\n  NONSTOP* )\n    nonstop=true\n    ;;\nesac\n\nCLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar\n\n\n# Determine the Java command to use to start the JVM.\nif [ -n \"$JAVA_HOME\" ] ; then\n    if [ -x \"$JAVA_HOME/jre/sh/java\" ] ; then\n        # IBM's JDK on AIX uses strange locations for the executables\n        JAVACMD=\"$JAVA_HOME/jre/sh/java\"\n    else\n        JAVACMD=\"$JAVA_HOME/bin/java\"\n    fi\n    if [ ! -x \"$JAVACMD\" ] ; then\n        die \"ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\n    fi\nelse\n    JAVACMD=\"java\"\n    which java >/dev/null 2>&1 || die \"ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\nfi\n\n# Increase the maximum file descriptors if we can.\nif [ \"$cygwin\" = \"false\" -a \"$darwin\" = \"false\" -a \"$nonstop\" = \"false\" ] ; then\n    MAX_FD_LIMIT=`ulimit -H -n`\n    if [ $? -eq 0 ] ; then\n        if [ \"$MAX_FD\" = \"maximum\" -o \"$MAX_FD\" = \"max\" ] ; then\n            MAX_FD=\"$MAX_FD_LIMIT\"\n        fi\n        ulimit -n $MAX_FD\n        if [ $? -ne 0 ] ; then\n            warn \"Could not set maximum file descriptor limit: $MAX_FD\"\n        fi\n    else\n        warn \"Could not query maximum file descriptor limit: $MAX_FD_LIMIT\"\n    fi\nfi\n\n# For Darwin, add options to specify how the application appears in the dock\nif $darwin; then\n    GRADLE_OPTS=\"$GRADLE_OPTS \\\"-Xdock:name=$APP_NAME\\\" \\\"-Xdock:icon=$APP_HOME/media/gradle.icns\\\"\"\nfi\n\n# For Cygwin or MSYS, switch paths to Windows format before running java\nif [ \"$cygwin\" = \"true\" -o \"$msys\" = \"true\" ] ; then\n    APP_HOME=`cygpath --path --mixed \"$APP_HOME\"`\n    CLASSPATH=`cygpath --path --mixed \"$CLASSPATH\"`\n\n    JAVACMD=`cygpath --unix \"$JAVACMD\"`\n\n    # We build the pattern for arguments to be converted via cygpath\n    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`\n    SEP=\"\"\n    for dir in $ROOTDIRSRAW ; do\n        ROOTDIRS=\"$ROOTDIRS$SEP$dir\"\n        SEP=\"|\"\n    done\n    OURCYGPATTERN=\"(^($ROOTDIRS))\"\n    # Add a user-defined pattern to the cygpath arguments\n    if [ \"$GRADLE_CYGPATTERN\" != \"\" ] ; then\n        OURCYGPATTERN=\"$OURCYGPATTERN|($GRADLE_CYGPATTERN)\"\n    fi\n    # Now convert the arguments - kludge to limit ourselves to /bin/sh\n    i=0\n    for arg in \"$@\" ; do\n        CHECK=`echo \"$arg\"|egrep -c \"$OURCYGPATTERN\" -`\n        CHECK2=`echo \"$arg\"|egrep -c \"^-\"`                                 ### Determine if an option\n\n        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition\n            eval `echo args$i`=`cygpath --path --ignore --mixed \"$arg\"`\n        else\n            eval `echo args$i`=\"\\\"$arg\\\"\"\n        fi\n        i=`expr $i + 1`\n    done\n    case $i in\n        0) set -- ;;\n        1) set -- \"$args0\" ;;\n        2) set -- \"$args0\" \"$args1\" ;;\n        3) set -- \"$args0\" \"$args1\" \"$args2\" ;;\n        4) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" ;;\n        5) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" ;;\n        6) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" ;;\n        7) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" ;;\n        8) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" ;;\n        9) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" \"$args8\" ;;\n    esac\nfi\n\n# Escape application args\nsave () {\n    for i do printf %s\\\\n \"$i\" | sed \"s/'/'\\\\\\\\''/g;1s/^/'/;\\$s/\\$/' \\\\\\\\/\" ; done\n    echo \" \"\n}\nAPP_ARGS=`save \"$@\"`\n\n# Collect all arguments for the java command, following the shell quoting and substitution rules\neval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS \"\\\"-Dorg.gradle.appname=$APP_BASE_NAME\\\"\" -classpath \"\\\"$CLASSPATH\\\"\" org.gradle.wrapper.GradleWrapperMain \"$APP_ARGS\"\n\nexec \"$JAVACMD\" \"$@\"\n"
  },
  {
    "path": "gradlew.bat",
    "content": "@rem\n@rem Copyright 2015 the original author or authors.\n@rem\n@rem Licensed under the Apache License, Version 2.0 (the \"License\");\n@rem you may not use this movie except in compliance with the License.\n@rem You may obtain a copy of the License at\n@rem\n@rem      https://www.apache.org/licenses/LICENSE-2.0\n@rem\n@rem Unless required by applicable law or agreed to in writing, software\n@rem distributed under the License is distributed on an \"AS IS\" BASIS,\n@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n@rem See the License for the specific language governing permissions and\n@rem limitations under the License.\n@rem\n\n@if \"%DEBUG%\" == \"\" @echo off\n@rem ##########################################################################\n@rem\n@rem  Gradle startup script for Windows\n@rem\n@rem ##########################################################################\n\n@rem Set local scope for the variables with windows NT shell\nif \"%OS%\"==\"Windows_NT\" setlocal\n\nset DIRNAME=%~dp0\nif \"%DIRNAME%\" == \"\" set DIRNAME=.\nset APP_BASE_NAME=%~n0\nset APP_HOME=%DIRNAME%\n\n@rem Resolve any \".\" and \"..\" in APP_HOME to make it shorter.\nfor %%i in (\"%APP_HOME%\") do set APP_HOME=%%~fi\n\n@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\nset DEFAULT_JVM_OPTS=\"-Xmx64m\" \"-Xms64m\"\n\n@rem Find java.exe\nif defined JAVA_HOME goto findJavaFromJavaHome\n\nset JAVA_EXE=java.exe\n%JAVA_EXE% -version >NUL 2>&1\nif \"%ERRORLEVEL%\" == \"0\" goto execute\n\necho.\necho ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\necho.\necho Please set the JAVA_HOME variable in your environment to match the\necho location of your Java installation.\n\ngoto fail\n\n:findJavaFromJavaHome\nset JAVA_HOME=%JAVA_HOME:\"=%\nset JAVA_EXE=%JAVA_HOME%/bin/java.exe\n\nif exist \"%JAVA_EXE%\" goto execute\n\necho.\necho ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%\necho.\necho Please set the JAVA_HOME variable in your environment to match the\necho location of your Java installation.\n\ngoto fail\n\n:execute\n@rem Setup the command line\n\nset CLASSPATH=%APP_HOME%\\gradle\\wrapper\\gradle-wrapper.jar\n\n\n@rem Execute Gradle\n\"%JAVA_EXE%\" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% \"-Dorg.gradle.appname=%APP_BASE_NAME%\" -classpath \"%CLASSPATH%\" org.gradle.wrapper.GradleWrapperMain %*\n\n:end\n@rem End local scope for the variables with windows NT shell\nif \"%ERRORLEVEL%\"==\"0\" goto mainEnd\n\n:fail\nrem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of\nrem the _cmd.exe /c_ return code!\nif  not \"\" == \"%GRADLE_EXIT_CONSOLE%\" exit 1\nexit /b 1\n\n:mainEnd\nif \"%OS%\"==\"Windows_NT\" endlocal\n\n:omega\n"
  },
  {
    "path": "settings.gradle",
    "content": "pluginManagement {\n    repositories {\n        gradlePluginPortal()\n        google()\n        mavenCentral()\n    }\n}\ndependencyResolutionManagement {\n    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n    repositories {\n        google()\n        mavenCentral()\n        jcenter()\n        maven { url 'https://jitpack.io' }\n\n\n    }\n}\nrootProject.name = \"Thunder\"\ninclude ':app'\n"
  }
]