Plex plugin to to play various online streams (mostly Latvian).

deploy.bat 766B

123456789101112131415161718192021222324
  1. @echo off
  2. if (nas3)==(%1%) (
  3. set TARGET=Q:\Plex\Library\Application Support\Plex Media Server\Plug-ins\PlayStream.bundle\
  4. ) else (
  5. set TARGET=c:\Users\user\AppData\Local\Plex Media Server\Plug-ins\PlayStream.bundle\
  6. )
  7. for %%f in (
  8. readme.md
  9. changelog.md
  10. Contents\*.*
  11. Contents\Code\*.py
  12. Contents\Resources\*.py
  13. Contents\Libraries\Shared\*.py
  14. Contents\Libraries\Shared\content\*.py
  15. Contents\Libraries\Shared\content\sources\*.py
  16. Contents\Libraries\Shared\content\sources\*.cfg
  17. Contents\Libraries\Shared\content\resolvers\*.py
  18. ) do echo f | xcopy /y /u %%f "%TARGET%%%f"
  19. xcopy Contents\Libraries\Shared\content\picons\*.* "%TARGET%Contents\Resources\"
  20. rem "%ProgramFiles%\WinRAR\winrar.exe" x -ibck requests.zip *.* "%TARGET%\Contents\Libraries\Shared"
  21. pause