Repository navigation
Conversation
* Introduced `Out-PodView` function to format and display podcast episode information with Sixel graphics. * Enhanced `Get-PSPodcast` to include a new parameter `$Sixel` for utilizing the custom formatter.
There was a problem hiding this comment.
Pull request overview
This PR adds a new Out-PodView function that provides custom formatting and display of podcast episode information with Sixel graphics support. The enhancement allows users to view episode details with thumbnail images directly in the terminal.
Key changes:
- Introduces
Out-PodViewfunction with Spectre.Console integration for rich visual display - Adds
-Sixelswitch parameter toGet-PSPodcastfor using the custom formatter - Updates module manifest to export the new function
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| functions/Out-PodView.ps1 | New function that formats episode data with YouTube thumbnails and podcast logo using Spectre.Console |
| functions/Get-PSPodcast.ps1 | Added -Sixel parameter and logic to conditionally call Out-PodView instead of returning raw episode objects |
| PSPodcast.psd1 | Added Out-PodView to the FunctionsToExport array |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* Implemented the `Out-PodView` function to display PowerShell Podcast episode information with rich formatting. * fixed manifest * Added documentation for `Out-PodView` including usage examples and parameter descriptions.
|
Because this module should work cross-platform, we should avoid creating paths using a /. Can you revise using |
i already updated that to use Line 35 in 9049f53 do you want me to take a look and update the other paths to use Join-Path as well? |
…and update image path in `about.ps1` * Standardized alignment values to `Left` and `Center` in the format XML. * Updated image path construction in `Get-AboutPSPodcast` function for better compatibility.
|
I'll check and test anything I may have missed. I may not get to incorporating your PR until after the holidays. Thanks for your contribution. |
btw, i think i fixed them all in my last commit 5b08e0a |
Out-PodViewfunction to format and display podcast episode information with Sixel graphics.Get-PSPodcastto include a new parameterSixelfor utilizing the custom formatter.unfortunately you can't really put sixels through the format engine, it gets destroyed.
not sure if this is something you're interested in, but i remembered you could get youtube thumbnail images.. figured it'd be a fun excercise.
basically copied your layout from the
Get-AboutPSPodcastfunction.