Get Microsoft event session information and contents

NOTICE: The TechNet gallery will be retired in June, 2020. For future updates to these script, please visit my GitHub profile at https://github.com/michelderooij. Here you can also watch for updates, report bugs or ask questions, or contribute yourself. Official announcement

 
 
 
 
 
5 Star
(61)
27,206 times
Add to favorites
5/6/2020
E-mail Twitter del.icio.us Digg Facebook
  • Ignite 2017
    2 Posts | Last post February 24, 2020
    • Sorry Guys I am kind of slow. Is there a way to get the video's of Ignite 2017 using this script?
    • That edition was moved to Channel9, so can't use this script.
  • missing slide decks
    3 Posts | Last post December 08, 2019
    • there seems to be bug in the script. it doesn't download all slide decks (e.g. BRK3086)
      
      and in case you didn't see it yet there's also an API for all the content. https://api-myignite.techcommunity.microsoft.com/api/session/all
    • What is the exact issue? Downloaded the deck just fine from the REST feed. Also, not all sessions links are published via the REST feed, and the script 'trying' calculated scraping results in a succesfull download in some cases.
    • i get about 100 more slide decks through the rest api than this script. so not sure where the issue is.
  • what are file type f5-A_AACUND_2_128
    2 Posts | Last post December 02, 2019
    • i see so many files with full name mp4.f5-A_AACUND_2_128
      what are this
    • The tool used to download the streams, gets the video and audio streams separately. These files are later merged in a single MP4. If you abort the process, it could be these files are still lingering around. However, if the download is not complete, the already downloaded stream will be reused. If the files are still there when downloading is complete, let me know as I may need to add this type to the cleanup after downloading.
  • WriteErrorException
    5 Posts | Last post November 20, 2019
    • Hello
      
      I get many 
      
      Get-BackgroundDownloadJobs : Problem downloading x:\Ignite2019\BRK3186 - Developing secure applications in Azure.mp4:
      Au caractère C:\ignite2019\Get-EventSession.ps1:559 : 31
      +                 $JobsRunning= Get-BackgroundDownloadJobs
      +                               ~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
          + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-BackgroundDownloadJobs
      
      What is the problem?  Should I stop and restart script ?
      
      Greetings
    • And by the way Michel.  I love your script.  I have been using it for years.
    • same issue here. the command I am using: .\Get-EventSession.ps1 -OGVPicker -DownloadFolder e:\Ignite2019 -event Ignite
    • Currently don't catch output of why it went wrong (timeout, network hiccups, etc). That is on the list. For now, you are stuck with these uninformative messages :) (you could change the script to make the windows non-hidden if you want). Not having too much parallel downloads also helps.
    • Version 3.27 will show the last line of YouTube, which will show/hint about download errors. It will also capture its output to show some completion percentages. Depending on the filter used, not all streams are provided in all formats. I'm using bestvideo[height<720]+bestaudio for example, and some streams are not available in lower than 720p format.
  • Downloader not working properly
    2 Posts | Last post November 20, 2019
    • So im having issues downloading sessions. I get this alot
      
      Cannot see if a key has been pressed when either application does not have a console or when console input has been redirected from a file. Try Console.In.Peek.
      At C:\Ignite 2019\Get-EventSession.ps1:549 char:21
      +                 if ([system.console]::KeyAvailable) {
      +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : OperationStopped: (:) [], InvalidOperationException
          + FullyQualifiedErrorId : System.InvalidOperationException
       
      Cannot see if a key has been pressed when either application does not have a console or when console input has been redirected from a file. Try Console.In.Peek.
      At C:\Ignite 2019\Get-EventSession.ps1:549 char:21
      +                 if ([system.console]::KeyAvailable) {
      +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : OperationStopped: (:) [], InvalidOperationException
          + FullyQualifiedErrorId : System.InvalidOperationException
    • Are you running it from ISE?
  • embedded AMS or Youtube URL not found
    3 Posts | Last post November 14, 2019
    • is this due to contents not yet being available? or is there a coding issue here?
      
      examples:
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R10 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R11 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R12 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R13 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R4 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R5 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R6 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R7 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R8 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      ARNING: Skipping: Embedded AMS or YouTube URL not found
      rocessing info session WRK2016R9 - Teamwork Immersion Workshop by Core BTS. (No Timestamp)
      
    • Contents not available, not through catalog, nor on guessed locations.
    • Do note the R sessions are repeats
  • Download full size MP4?
    4 Posts | Last post November 12, 2019
    • For Ignite 2019 high-resolution MP4 files can be directly downloaded.
      
      Why use ytdl and ffmpeg when you could directly download the MP4s and keep a better resolution?
      
      Thanks!
      JP
    • Only if you want to 720p version. AzureMS provides other quality streams, which might be preferred because of 720p's size. Also, direct is 720p only; the MediumMP4 version (instead of HighMP4) is same file.
      
      BRK3012:
      HighMP4 (720p)= 529MB
      BestVideo (720p)= 529MB
      Medium (540p)= 349MB
      Low (192p)= 73MB
      
      Q: Would automatic downscaling (to certain lower quality) of directly obtained HighMP4 stream be an useful option?
    • I think a parameter would be awesome. Personally I have plenty of bandwidth and storage so I'd prefer the highest quality instead of downscaled versions.
    • Did a test, and transcoding isn't fast. But hey, YMMV, putting it on the to-do list :)  Thanks for your feedback!
  • Slide decks
    2 Posts | Last post November 12, 2019
    • Are the slide decks not uploaded?  I receive "WARNING: Skipping: Unavailable https://mediusprodstatic.studios.ms/presentations/Ignite2019/BRK2137.pptx". I've seen this on several downloads at this point.
      
      Thanks much.
    • Not all sessions have their slidedecks purchased. Information is cached per 24h; to re-read from catalog, throw the .cache file and restart.
  • Download fails to start
    3 Posts | Last post November 11, 2019
    • .\Get-EventSession.ps1 -DownloadFolder E:\IgniteDownloader\ -ScheduleCode BRK3147
      
      E:\IgniteDownloader\Get-EventSession.ps1 : Problem retrieving session catalog: The response content cannot be parsed because the Internet Explorer engine is not
      available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
      
      Any Ideas on what to do next?
    • Actually just got this working by doing a local policy change.
      Here's how:
      http://wahlnetwork.com/2015/11/17/solving-the-first-launch-configuration-error-with-powershells-invoke-webrequest-cmdlet/
    • Noted, will add to assist in First-Run scenarios
  • Scripts fails to download videos
    2 Posts | Last post November 11, 2019
    • Getting this:
      
      Get-BackgroundDownloadJobs : Problem downloading <file-name>:
      At C:\temp\Get-EventSession.ps1:480 char:23
      
      Happens when using -ScheduleCode and -Format params.
    • Run -Verbose and see what it's trying to execute. Run manually (the YT windows are hidden) to see what goes on.
1 - 10 of 131 Items