Downloads:

485

Downloads of v 1.3.5:

485

Last Update:

05 Nov 2016

Package Maintainer(s):

Software Author(s):

  • Cory Parsons

Tags:

comicreader plex ubooquity cbz cbr cb7 admin

ComicReader for Plex

1.3.5 | Updated: 05 Nov 2016

Downloads:

485

Downloads of v 1.3.5:

485

Maintainer(s):

Software Author(s):

  • Cory Parsons

ComicReader for Plex 1.3.5

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

Dependency Exemption:

Dependency requires a reboot, which is not handled by verifier.

To install ComicReader for Plex, run the following command from the command line or from PowerShell:

>

To upgrade ComicReader for Plex, run the following command from the command line or from PowerShell:

>

To uninstall ComicReader for Plex, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade comicreader-plex -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade comicreader-plex -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure comicreader-plex installed
  win_chocolatey:
    name: comicreader-plex
    state: present
    version: 1.3.5
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'comicreader-plex' do
  action    :install
  version  '1.3.5'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: comicreader-plex,
    Version: 1.3.5,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller comicreader-plex
{
   Name     = 'comicreader-plex'
   Ensure   = 'Present'
   Version  = '1.3.5'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'comicreader-plex':
  provider => 'chocolatey',
  ensure   => '1.3.5',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install comicreader-plex version="1.3.5" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 14 Nov 2016.

Description

###A Plex Media Server channel.

Browse and view locally stored CBZ, CBR, CB7 comic book archives. It currently acts like a file browser, starting at the directory specified in the channels preferences.

Each user of the channel will have their reading status saved for each comic. Comics can be marked as read/unread and can be resumed from your previous position.

###Format Support

  • .CBZ - the ideal format for the channel. Consider converting archives to zip, it's much easier to work with.
  • .CBR - requires unrar.
  • .CB7 - requires 7-Zip (windows). or p7zip (linux, osx).
  • .zip, .rar, and .7z should also work.

###Windows

  • unrar
  • 7-Zip
  • set channel preferences paths:
    C:\Program Files (x86)\WinRAR\unrar.exe if you installed WinRAR, or C:\wherever\unrar.exe
    C:\Program Files (x86)\7-Zip\7z.exe if you installed 7-Zip.

###Plex Client Support

working: OpenPHT, PMP, Plex Web, Android, iOS

###Channel Preferences

  • Comics Path: path to the root directory of where comic archives are stored.
  • Unrar Executable Path: path to unrar binary. leave blank if unrar is in $PATH.
  • 7-Zip Executable Path: path to 7z binary. leave blank if 7z is in $PATH.
  • Items per page: default: 50 number of directories/comics to show per page.
  • Number of pages to include before resume page: default: 5 when going to the resume option on a comic, the channel will start the list at the last viewed page. This is the number of pages prior to that page to include so you can get a recap.
  • Show directories on top: Put the directories at the start of the list when file browsing. (Windows style)
  • Enable channel updater: default: enabled disable this if you don't want the channel to check for updates.
  • Read Indicator: default: blank string to add to the start of a file to indicate it is read.
  • Unread Indicator: default: * string to add to the start of a file to indicate it is unread.
  • In Progress Indicator: default: > string to add to the start of a file to indicate it is in progress.
  • Prevent client image caching: default: disabled In order to keep track of your position in a comic, the channel runs code when it serves a page to the client. If the client holds a cached copy it won't make a request to the server and we can't track what page you are on.
    Enable this option to get the client to download a new copy of the page every time it's viewed.
    If you don't have any issues with the resume features, you can leave this disabled to save bandwidth.

tools\chocolateyinstall.ps1
$packageName      = 'comicreader-plex' 
$url              = 'https://codeload.github.com/coryo/ComicReader.bundle/zip/v1.3.5'
$LocalAppDataPath = Get-ItemProperty -path "registry::hkey_current_user\software\Plex, Inc.\Plex Media Server" | select-object -expandproperty LocalAppDataPath

if ($LocalAppDataPath -eq $null) {
   Write-Host "Plex Media Server has not been configured yet!" -ForegroundColor red -BackgroundColor blue
   Write-Host "Creating default directories..." -ForegroundColor green -BackgroundColor blue
   New-Item "$env:LOCALAPPDATA\Plex" -Type Directory -force
   New-Item "$env:LOCALAPPDATA\Plex\Plex Media Server" -Type Directory -force
   New-Item "$env:LOCALAPPDATA\Plex\Plex Media Server\Plug-ins" -Type Directory -force
   $LocalAppDataPath = "$env:LOCALAPPDATA\Plex"
  }
$UnZipDir         = Join-Path -Path $LocalAppDataPath -ChildPath "Plex Media Server\Plug-ins"

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $UnZipDir
  fileType      = 'ZIP' 
  url           = $url
  checksum      = '66487922CC685E99E2C847415EFD350EEB954F438AADA1230E121BA791B9FA2A'
  checksumType  = 'sha256'  
}

Install-ChocolateyZipPackage @packageArgs

$strFileName="$LocalAppDataPath\Plex Media Server\Plug-ins\ComicReader.bundle.old"
If (Test-Path $strFileName){
  Write-Host "Removing previous .old version." -ForegroundColor green -BackgroundColor blue
  Remove-Item "$UnZipDir\ComicReader.bundle.old" -recurse
}Else{
  Write-Host ".old version does not exist." -ForegroundColor green -BackgroundColor blue
}

$strFileName="$LocalAppDataPath\Plex Media Server\Plug-ins\ComicReader.bundle"
If (Test-Path $strFileName){
  Write-Host "Renaming previous version .old." -ForegroundColor green -BackgroundColor blue
  Rename-Item "$UnZipDir\ComicReader.bundle" ComicReader.bundle.old
}Else{
  Write-Host "No previous version exists." -ForegroundColor green -BackgroundColor blue
}

Rename-Item "$UnZipDir\ComicReader.bundle-1.3.5" ComicReader.bundle
Write-Host "You can ignore Only an exit code of non-zero will fail... messages." -ForegroundColor green -BackgroundColor blue
tools\ChocolateyUninstall.ps1
$packageName      = 'comicreader-plex' 
$LocalAppDataPath = Get-ItemProperty -path "registry::hkey_current_user\software\Plex, Inc.\Plex Media Server" | select-object -expandproperty LocalAppDataPath

if ($LocalAppDataPath -eq $null) {
   Write-Host "Plex Media Server has not been configured yet!" -ForegroundColor red -BackgroundColor blue
   $LocalAppDataPath = "$env:LOCALAPPDATA\Plex"
  }
$UnZipDir         = Join-Path -Path $LocalAppDataPath -ChildPath "Plex Media Server\Plug-ins"

$strFileName="$LocalAppDataPath\Plex Media Server\Plug-ins\ComicReader.bundle.old"
If (Test-Path $strFileName){
  Write-Host "Removing previous .old version." -ForegroundColor green -BackgroundColor blue
  Remove-Item "$UnZipDir\ComicReader.bundle.old" -recurse
}Else{
  Write-Host ".old version does not exist." -ForegroundColor green -BackgroundColor blue
}

$strFileName="$LocalAppDataPath\Plex Media Server\Plug-ins\ComicReader.bundle"
If (Test-Path $strFileName){
  Write-Host "Removing $packageName" -ForegroundColor green -BackgroundColor blue
  Remove-Item "$UnZipDir\ComicReader.bundle" -recurse
}Else{
  Write-Host "ERROR: No previous version exists." -ForegroundColor green -BackgroundColor blue
}
  Write-Host "You can ignore Only an exit code of non-zero will fail... messages." -ForegroundColor green -BackgroundColor blue


In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Discussion for the ComicReader for Plex Package

Ground Rules:

  • This discussion is only about ComicReader for Plex and the ComicReader for Plex package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or ComicReader for Plex, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus