My Anime 3 | Page 108

Discussion in 'MediaPortal 1 Plugins' started by ElementalCrisis, April 20, 2012.

  1. pur_berger
    • Super User

    pur_berger Super User

    Joined:
    May 14, 2007
    Messages:
    1,674
    Likes Received:
    183
    Gender:
    Male
    Location:
    Vienna
    Ratings:
    +270 / 1
    Home Country:
    Austria Austria
    Show System Specs
    of course - it#s no like I didn't try - but honestly - I'm to stupid for coding ...


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ElementalCrisis

    ElementalCrisis Portal Pro

    Joined:
    September 4, 2016
    Messages:
    65
    Likes Received:
    15
    Gender:
    Male
    Ratings:
    +33 / 0
    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? :)
     
  4. Otaku

    Otaku New Member

    Joined:
    July 9, 2018
    Messages:
    4
    Likes Received:
    0
    Ratings:
    +0 / 0
    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!
     
  5. pur_berger
    • Super User

    pur_berger Super User

    Joined:
    May 14, 2007
    Messages:
    1,674
    Likes Received:
    183
    Gender:
    Male
    Location:
    Vienna
    Ratings:
    +270 / 1
    Home Country:
    Austria Austria
    Show System Specs
    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 (Text):
    1. {
    2.   "FirstRun": "False",
    3.   "DatabaseType": "MySQL",
    4.   "SQLServer_DatabaseServer": "",
    5.   "SQLServer_DatabaseName": "",
    6.   "SQLServer_Username": "",
    7.   "SQLServer_Password": "",
    8.   "MySQL_Hostname": "192.168.0.3",
    9.   "MySQL_SchemaName": "shokoserver_2018",
    10.   "MySQL_Username": "Your SQL Username",
    11.   "MySQL_Password": "Your SQL Password",
    12.   "SQLite_DatabaseFile": "",
    13.   "AniDB_Username": "Your ANIDB Yusername",
    14.   "AniDB_Password": "Your AniDB Password",
    15.   "AniDB_ServerAddress": "api.anidb.info",
    16.   "AniDB_ServerPort": "9000",
    17.   "AniDB_ClientPort": "4556",
    18.   "AniDB_AVDumpClientPort": "4557",
    19.   "AniDB_AVDumpKey": "ShokoServer",
    20.   "WebCache_Address": "omm.hobbydb.net.leaf.arvixe.com",
    21.   "WebCache_Anonymous": "False",
    22.   "WebCache_FileHashes_Get": "true",
    23.   "WebCache_FileHashes_Send": "true",
    24.   "WebCache_XRefFileEpisode_Get": "True",
    25.   "WebCache_XRefFileEpisode_Send": "True",
    26.   "WebCache_TvDB_Get": "True",
    27.   "WebCache_TvDB_Send": "True",
    28.   "TvDB_AutoFanart": "True",
    29.   "TvDB_AutoFanartAmount": "10",
    30.   "TvDB_AutoWideBanners": "True",
    31.   "TvDB_AutoPosters": "True",
    32.   "MovieDB_AutoFanart": "True",
    33.   "MovieDB_AutoFanartAmount": "10",
    34.   "MovieDB_AutoPosters": "True",
    35.   "DefaultSeriesLanguage": "1",
    36.   "AniDB_DownloadSimilarAnime": "False",
    37.   "AniDB_DownloadCharactersCreators": "false",
    38.   "AniDB_DownloadReviews": "True",
    39.   "AniDB_DownloadReleaseGroups": "True",
    40.   "AniDB_DownloadRelatedAnime": "True",
    41.   "AniDB_MyList_AddFiles": "True",
    42.   "AniDB_MyList_StorageState": "1",
    43.   "AniDB_MyList_ReadWatched": "True",
    44.   "AniDB_MyList_ReadUnwatched": "True",
    45.   "AniDB_MyList_SetWatched": "True",
    46.   "AniDB_MyList_SetUnwatched": "True",
    47.   "AniDB_MyList_DeleteType": "1",
    48.   "DefaultEpisodeLanguage": "1",
    49.   "VideoExtensions": "MKV,AVI,MP4,MOV,OGM,WMV,MPG,MPEG,MK3D,M4V",
    50.   "WatchForNewFiles": "true",
    51.   "RunImportOnStart": "True",
    52.   "Hash_CRC32": "True",
    53.   "Hash_MD5": "True",
    54.   "Hash_SHA1": "True",
    55.   "LanguagePreference": "x-jat,en",
    56.   "LanguageUseSynonyms": "True",
    57.   "ClientSettingsProvider.ServiceUri": "",
    58.   "Import_UseExistingFileWatchedStatus": "True",
    59.   "Trakt_Username": "",
    60.   "Trakt_Password": "",
    61.   "Culture": "en",
    62.   "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}",
    63.   "ImagesPath": "/anime/ShokoServerImages/",
    64.   "RotateLogs": "True",
    65.   "JMMServerPort": "8111",
    66.   "MySqliteDirectory": "/root/.shoko/Shoko.CLI/SQLite",
    67.   "PlexThumbnailAspects": "Default, 0.6667, IOS, 1.0, Android, 1.3333",
    68.   "AnimeXmlDirectory": "/home/shoko/.shoko/Shoko.CLI/Anime_HTTP",
    69.   "AniDB_MyList_UpdateFrequency": "4",
    70.   "AniDB_Calendar_UpdateFrequency": "3",
    71.   "AniDB_Anime_UpdateFrequency": "3",
    72.   "AniDB_MyListStats_UpdateFrequency": "4",
    73.   "AniDB_File_UpdateFrequency": "4",
    74.   "AniDB_DownloadCharacters": "True",
    75.   "AniDB_DownloadCreators": "True",
    76.   "WebCache_Trakt_Get": "True",
    77.   "WebCache_Trakt_Send": "True",
    78.   "WebCache_MAL_Get": "True",
    79.   "WebCache_MAL_Send": "True",
    80.   "WebCache_UserInfo": "True",
    81.   "TvDB_AutoLink": "False",
    82.   "TvDB_AutoPostersAmount": "10",
    83.   "TvDB_AutoWideBannersAmount": "10",
    84.   "TvDB_UpdateFrequency": "3",
    85.   "TvDB_Language": "en",
    86.   "MovieDB_AutoPostersAmount": "10",
    87.   "AutoGroupSeries": "True",
    88.   "AutoGroupSeriesUseScoreAlgorithm": "True",
    89.   "AutoGroupSeriesRelationExclusions": "allowdissimilartitleexclusion|ova|movie|side story|full story|parent story|same setting|character",
    90.   "FileQualityFilterEnabled": "False",
    91.   "ScanDropFoldersOnStart": "True",
    92.   "EpisodeTitleSource": "1",
    93.   "SeriesDescriptionSource": "1",
    94.   "SeriesNameSource": "1",
    95.   "Trakt_IsEnabled": "True",
    96.   "Trakt_UpdateFrequency": "4",
    97.   "Trakt_SyncFrequency": "1",
    98.   "MAL_AutoLink": "True",
    99.   "MAL_UpdateFrequency": "4",
    100.   "MAL_NeverDecreaseWatchedNums": "True",
    101.   "Plex_Server": "",
    102.   "Plex_Libraries": "",
    103.   "MAL_Username": "Your MAL Username",
    104.   "MAL_Password": "Your MAL Password",
    105.   "RotateLogs_Zip": "True",
    106.   "RotateLogs_Delete": "True",
    107.   "RotateLogs_Delete_Days": "30",
    108.   "MyListDirectory": "/home/shoko/.shoko/Shoko.CLI/MyList",
    109.   "Trakt_AuthToken": "",
    110.   "Trakt_RefreshToken": "",
    111.   "Trakt_TokenExpirationDate": "",
    112.   "DatabaseBackupDirectory": "/home/shoko/.shoko/Shoko.CLI/DatabaseBackup"
    113. }
    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
     

    Attached Files:

    • Thank You! Thank You! x 1
  6. ElementalCrisis

    ElementalCrisis Portal Pro

    Joined:
    September 4, 2016
    Messages:
    65
    Likes Received:
    15
    Gender:
    Male
    Ratings:
    +33 / 0
    Home Country:
    United States of America United States of America
  7. pur_berger
    • Super User

    pur_berger Super User

    Joined:
    May 14, 2007
    Messages:
    1,674
    Likes Received:
    183
    Gender:
    Male
    Location:
    Vienna
    Ratings:
    +270 / 1
    Home Country:
    Austria Austria
    Show System Specs
    MariaDB comes with Synology
     
  8. ElementalCrisis

    ElementalCrisis Portal Pro

    Joined:
    September 4, 2016
    Messages:
    65
    Likes Received:
    15
    Gender:
    Male
    Ratings:
    +33 / 0
    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.
     
  9. Otaku

    Otaku New Member

    Joined:
    July 9, 2018
    Messages:
    4
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    South Africa South Africa
    Thank you, pur_berger and ElementalCrisis. I'll give it a go later this week and will feedback.
     
  10. Otaku

    Otaku New Member

    Joined:
    July 9, 2018
    Messages:
    4
    Likes Received:
    0
    Ratings:
    +0 / 0
    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?
     
  11. pur_berger
    • Super User

    pur_berger Super User

    Joined:
    May 14, 2007
    Messages:
    1,674
    Likes Received:
    183
    Gender:
    Male
    Location:
    Vienna
    Ratings:
    +270 / 1
    Home Country:
    Austria Austria
    Show System Specs
    default and no PW unless you have set one there
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!