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

deploy.bat 740B

1234567891011121314151617181920212223
  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\Libraries\Shared\*.py
  13. Contents\Libraries\Shared\content\*.py
  14. Contents\Libraries\Shared\content\sources\*.py
  15. Contents\Libraries\Shared\content\sources\*.cfg
  16. Contents\Libraries\Shared\content\resolvers\*.py
  17. ) do echo f | xcopy /y %%f "%TARGET%%%f"
  18. xcopy Contents\Libraries\Shared\content\picons\*.* "%TARGET%Contents\Resources\"
  19. rem "%ProgramFiles%\WinRAR\winrar.exe" x -ibck requests.zip *.* "%TARGET%\Contents\Libraries\Shared"
  20. pause