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

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\Resources\*.*
  12. Contents\Code\*.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 %%f "%TARGET%%%f"
  19. rem "%ProgramFiles%\WinRAR\winrar.exe" x -ibck requests.zip *.* "%TARGET%\Contents\Libraries\Shared"
  20. pause