mar-mei / guide2go

Schedules Direct JSON to XML grabber
MIT License
61 stars 15 forks source link

Sub-title added to the programme description #6

Closed dazedcrazy closed 4 years ago

dazedcrazy commented 5 years ago

Describe the bug Sub-title added to the programme description

Screenshots How it looks using guide2go image How it looks using xmltv image

You can see guide2go adds the sub-title in brackets at the end of the description [Premier League: Watford v Arsenal]

mar-mei commented 5 years ago

Some apps do not show the subtitle, so it's in the description again. Very important for sports broadcasts 😀

Sent with GitHawk

dazedcrazy commented 5 years ago

Could there maybe be a flag to remove it? I can remove it with powershell by doing

Get-Content "F:\github\guide2go\xmltv.xml" | Foreach-Object {$_ -replace "\[.*\]" , ""} | Set-Content "F:\github\guide2go\edited.xml"

but I'd rather not have to on the off chance it removes something it's not suppose to

mar-mei commented 5 years ago

The next time I touch the code I can implant that. But will take some time, currently working on another project.

mar-mei commented 4 years ago

There is now a Beta, which can be set in the config file.