My Anime 3 (3 Viewers)

pur_berger

Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    of course - it#s no like I didn't try - but honestly - I'm to stupid for coding ...
     

    ElementalCrisis

    Portal Pro
    September 4, 2016
    70
    18
    Home Country
    United States of America United States of America
    Coding can be rough and this is no easy project. Maybe check out some C# tutorials and start small? :)
     

    Otaku

    Banned Users
    July 9, 2018
    4
    0
    49
    Home Country
    South Africa South Africa
    I'm hoping that the more experienced users of Shoko can help me out. I'm a total newb to Shoko Server.

    I have a Synology NAS and I'm running Docker on it. I have Plex and other containers running on Docker. I also plan to have MariaDB (the fork of MySQL) as well as Shoko Server running in separate containers. Please let me know if I'm on the right track:
    1. Install and run the MariaDB Docker container (together with the phpMyAdmin container)
    2. Install and run the Shoko Server Docker container
    3. Create a DB for Shoko Server
    4. Update the settings .json file with the MariaDB settings (username, password, host IP).

    Would step 5 be to run the WebUI, log in and then...what?

    Thanks in advance!
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    please follow the guide on the shoko website. What you miss is to set the json config file (/volume1/@appstore/Docker/docker/volumes/...../_data/shoko.CLI/settings.json)

    Code:
    {
      "FirstRun": "False",
      "DatabaseType": "MySQL",
      "SQLServer_DatabaseServer": "",
      "SQLServer_DatabaseName": "",
      "SQLServer_Username": "",
      "SQLServer_Password": "",
      "MySQL_Hostname": "192.168.0.3",
      "MySQL_SchemaName": "shokoserver_2018",
      "MySQL_Username": "Your SQL Username",
      "MySQL_Password": "Your SQL Password",
      "SQLite_DatabaseFile": "",
      "AniDB_Username": "Your ANIDB Yusername",
      "AniDB_Password": "Your AniDB Password",
      "AniDB_ServerAddress": "api.anidb.info",
      "AniDB_ServerPort": "9000",
      "AniDB_ClientPort": "4556",
      "AniDB_AVDumpClientPort": "4557",
      "AniDB_AVDumpKey": "ShokoServer",
      "WebCache_Address": "omm.hobbydb.net.leaf.arvixe.com",
      "WebCache_Anonymous": "False",
      "WebCache_FileHashes_Get": "true",
      "WebCache_FileHashes_Send": "true",
      "WebCache_XRefFileEpisode_Get": "True",
      "WebCache_XRefFileEpisode_Send": "True",
      "WebCache_TvDB_Get": "True",
      "WebCache_TvDB_Send": "True",
      "TvDB_AutoFanart": "True",
      "TvDB_AutoFanartAmount": "10",
      "TvDB_AutoWideBanners": "True",
      "TvDB_AutoPosters": "True",
      "MovieDB_AutoFanart": "True",
      "MovieDB_AutoFanartAmount": "10",
      "MovieDB_AutoPosters": "True",
      "DefaultSeriesLanguage": "1",
      "AniDB_DownloadSimilarAnime": "False",
      "AniDB_DownloadCharactersCreators": "false",
      "AniDB_DownloadReviews": "True",
      "AniDB_DownloadReleaseGroups": "True",
      "AniDB_DownloadRelatedAnime": "True",
      "AniDB_MyList_AddFiles": "True",
      "AniDB_MyList_StorageState": "1",
      "AniDB_MyList_ReadWatched": "True",
      "AniDB_MyList_ReadUnwatched": "True",
      "AniDB_MyList_SetWatched": "True",
      "AniDB_MyList_SetUnwatched": "True",
      "AniDB_MyList_DeleteType": "1",
      "DefaultEpisodeLanguage": "1",
      "VideoExtensions": "MKV,AVI,MP4,MOV,OGM,WMV,MPG,MPEG,MK3D,M4V",
      "WatchForNewFiles": "true",
      "RunImportOnStart": "True",
      "Hash_CRC32": "True",
      "Hash_MD5": "True",
      "Hash_SHA1": "True",
      "LanguagePreference": "x-jat,en",
      "LanguageUseSynonyms": "True",
      "ClientSettingsProvider.ServiceUri": "",
      "Import_UseExistingFileWatchedStatus": "True",
      "Trakt_Username": "",
      "Trakt_Password": "",
      "Culture": "en",
      "FileQualityFilterPreferences": "{\"Types\":[\"SOURCE\",\"RESOLUTION\",\"AUDIOSTREAMCOUNT\",\"SUBSTREAMCOUNT\",\"SUBGROUP\",\"CHAPTER\",\"VIDEOCODEC\",\"AUDIOCODEC\",\"VERSION\"],\"PreferredAudioCodecs\":[\"flac\",\"dolby digital plus\",\"dolby truehd\",\"dts\",\"he-aac\",\"aac\",\"ac3\",\"mp3 cbr\",\"mp3 vbr\",\"vorbis (ogg vorbis)\",\"wma (also divx audio)\",\"realaudio g2/8 (cook)\",\"alac\",\"msaudio\",\"opus\",\"mp2\",\"pcm\",\"unknown\",\"none\"],\"PreferredResolutions\":[\"2160p\",\"1440p\",\"1080p\",\"720p\",\"480p\"],\"PreferredSources\":[\"bd\",\"dvd\",\"hdtv\",\"tv\",\"www\",\"unknown\"],\"PreferredSubGroups\":[\"fffpeeps\",\"doki\",\"commie\",\"horriblesubs\"],\"PreferredVideoCodecs\":[\"hevc\",\"h264/avc\",\"divx5/6\",\"mpeg-4 asp\",\"mpeg-2\",\"mpeg-1\",\"ms mp4x\",\"divx4\",\"divx3\",\"vc-1\",\"xvid\",\"realvideo 9/10\",\"other (divx)\",\"other (mpeg-4 sp)\",\"other (realvideo)\",\"vp8\",\"vp6\",\"other (vpx)\",\"other (wmv3/wmv/9)\",\"unknown\",\"none\"],\"Prefer8BitVideo\":false,\"AllowDeletionOfImportedFiles\":false,\"RequiredTypes\":[\"SOURCE\",\"CHAPTER\",\"VERSION\"],\"RequiredAudioCodecs\":{\"Item1\":[\"flac\",\"dolby digital plus\",\"dolby truehd\",\"dts\",\"aac\"],\"Item2\":\"IN\"},\"RequiredAudioStreamCount\":{\"Item1\":1,\"Item2\":\"GREATER_EQ\"},\"RequiredResolutions\":{\"Item1\":[\"1080p\"],\"Item2\":\"GREATER_EQ\"},\"RequiredSources\":{\"Item1\":[\"bd\",\"dvd\"],\"Item2\":\"IN\"},\"RequiredSubGroups\":{\"Item1\":[\"horriblesubs\"],\"Item2\":\"NOTIN\"},\"RequiredSubStreamCount\":{\"Item1\":1,\"Item2\":\"GREATER_EQ\"},\"RequiredVideoCodecs\":{\"Item1\":[\"hevc\",\"h264/avc\"],\"Item2\":\"IN\"},\"Require10BitVideo\":true,\"MaxNumberOfFilesToKeep\":1}",
      "ImagesPath": "/anime/ShokoServerImages/",
      "RotateLogs": "True",
      "JMMServerPort": "8111",
      "MySqliteDirectory": "/root/.shoko/Shoko.CLI/SQLite",
      "PlexThumbnailAspects": "Default, 0.6667, IOS, 1.0, Android, 1.3333",
      "AnimeXmlDirectory": "/home/shoko/.shoko/Shoko.CLI/Anime_HTTP",
      "AniDB_MyList_UpdateFrequency": "4",
      "AniDB_Calendar_UpdateFrequency": "3",
      "AniDB_Anime_UpdateFrequency": "3",
      "AniDB_MyListStats_UpdateFrequency": "4",
      "AniDB_File_UpdateFrequency": "4",
      "AniDB_DownloadCharacters": "True",
      "AniDB_DownloadCreators": "True",
      "WebCache_Trakt_Get": "True",
      "WebCache_Trakt_Send": "True",
      "WebCache_MAL_Get": "True",
      "WebCache_MAL_Send": "True",
      "WebCache_UserInfo": "True",
      "TvDB_AutoLink": "False",
      "TvDB_AutoPostersAmount": "10",
      "TvDB_AutoWideBannersAmount": "10",
      "TvDB_UpdateFrequency": "3",
      "TvDB_Language": "en",
      "MovieDB_AutoPostersAmount": "10",
      "AutoGroupSeries": "True",
      "AutoGroupSeriesUseScoreAlgorithm": "True",
      "AutoGroupSeriesRelationExclusions": "allowdissimilartitleexclusion|ova|movie|side story|full story|parent story|same setting|character",
      "FileQualityFilterEnabled": "False",
      "ScanDropFoldersOnStart": "True",
      "EpisodeTitleSource": "1",
      "SeriesDescriptionSource": "1",
      "SeriesNameSource": "1",
      "Trakt_IsEnabled": "True",
      "Trakt_UpdateFrequency": "4",
      "Trakt_SyncFrequency": "1",
      "MAL_AutoLink": "True",
      "MAL_UpdateFrequency": "4",
      "MAL_NeverDecreaseWatchedNums": "True",
      "Plex_Server": "",
      "Plex_Libraries": "",
      "MAL_Username": "Your MAL Username",
      "MAL_Password": "Your MAL Password",
      "RotateLogs_Zip": "True",
      "RotateLogs_Delete": "True",
      "RotateLogs_Delete_Days": "30",
      "MyListDirectory": "/home/shoko/.shoko/Shoko.CLI/MyList",
      "Trakt_AuthToken": "",
      "Trakt_RefreshToken": "",
      "Trakt_TokenExpirationDate": "",
      "DatabaseBackupDirectory": "/home/shoko/.shoko/Shoko.CLI/DatabaseBackup"
    }

    In MyAnime you need to set the path to your collection (similiar to teh settings ShokoDesktop)

    upload_2018-7-9_17-9-8.png


    I did the other setting via shokodesktop.

    upload_2018-7-9_17-12-13.png
     

    Attachments

    • upload_2018-7-9_17-11-37.png
      upload_2018-7-9_17-11-37.png
      58 KB

    ElementalCrisis

    Portal Pro
    September 4, 2016
    70
    18
    Home Country
    United States of America United States of America
    Ah, I did not know that. :)

    I would still use SQLite though, MySQL and SQL Server are deprecated and are no longer available options for new users starting with the next version. Current MySQL and SQL Server users will of course still be able to use it.
     

    Otaku

    Banned Users
    July 9, 2018
    4
    0
    49
    Home Country
    South Africa South Africa
    Thank you, pur_berger and ElementalCrisis. I'll give it a go later this week and will feedback.
     

    Otaku

    Banned Users
    July 9, 2018
    4
    0
    49
    Home Country
    South Africa South Africa
    I've successfully installed the Docker containers for:
    • MariaDB
    • phpMyAdmin
    • Shoko Server
    I've updated the settings.json file as per pur_berger's suggestion, above, and restarted the Shoko Server container. I've checked the Terminal window in the Synology Docker app and I've seen that the Shoko Server DB has been successfully created. I've also verified this in phpMyAdmin.

    I can also launch the login screen for the WebUI on port 8111. However, when I enter the username and password, which are root and its associated password for the MySQL DB, I'm getting a 401: Unauthorized error message.

    Can you please tell me where I'm going wrong?
     

    Users who are viewing this thread

    Top Bottom