Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BBC films being named like TV Programmes (with Kodi naming) #470

Open
jefro108 opened this issue Jan 17, 2024 · 3 comments
Open

BBC films being named like TV Programmes (with Kodi naming) #470

jefro108 opened this issue Jan 17, 2024 · 3 comments

Comments

@jefro108
Copy link

Recently the app has started naming BBC films as TV Programmes with s01e01 appended to the name.

See log for Hope and Glory

HnGlog.txt

Any idea why this might be happening now?


What steps will reproduce the problem? Be specific, and provide as much detail as possible.
Just downloading a film from BBC iPlayer
What is the expected output? What do you see instead?
Expected to see film named 'Hope and Glory.mp4'. Instead it was named 'Hope and Glory.s01e01.mp4'
What version of GiA are you using? On what version of OS X?
Using GiA Version 1.26.0 (20240101001) on Monterey
Are you using a web proxy? DNS proxy? VPN? VPS?
No
*What program are you attempting to download (full title, series and episode)? Provide only ONE program as an example. *
Hope and Glory
Please provide any additional information below.
See log attached above.

@skovatch
Copy link

When XBMC naming is turned we use this format:
<.senum><.episodeshort>

get_iplayer is somehow detecting a series and episode number of 1, based on get_iplayer's metadata fetch:

get_iplayer --info --pid m001vgfb                    
get_iplayer 3.34.0-darwin
  Copyright (C) 2008-2010 Phil Lewis, 2010- get_iplayer contributors
  This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
  This is free software, and you are welcome to redistribute it under certain
  conditions; use --conditions for details.


Episodes:
Hope and Glory - -, BBC Two, m001vgfb
INFO: 1 total programmes

INFO: Processing tv: 'Hope and Glory - - (m001vgfb)'
INFO: No versions of this programme were selected (available versions: original)

brand:           Hope and Glory
categories:      Drama,Relationships & Romance,Films,Comedy
category:        Drama
channel:         BBC Two
credits:         /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.credits.txt
cuesheet:        /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.cue
desc:            Second World War London is Bill's playground, though there are also lessons to be learned.
desclong:        Second World War London is Bill's playground, though there are also lessons to be learned as the boy observes the behaviour of the adults around him. John Boorman's autobiographical drama.
descmedium:      Second World War London is Bill's playground, though there are also lessons to be learned as the boy observes the behaviour of the adults around him. John Boorman's autobiographical drama.
descshort:       Second World War London is Bill's playground, though there are also lessons to be learned.
dir:             /Users/skovatch/Desktop/iPlayer Recordings
dldate:          2024-01-16
dltime:          20:54:52
durations:       original: 6420
episode:         -
episodenum:      1
episodeshort:    -
expires:         in 26 days 20 hours (2024-02-13T00:55:26+00:00)
ext:             EXT
filename:        /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.EXT
filepart:        /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.partial.EXT
fileprefix:      Hope_and_Glory_-__m001vgfb_default
firstbcast:      2024-01-13T23:05:00Z
firstbcastdate:  2024-01-13
firstbcastday:   13
firstbcastmonth: 01
firstbcastrel:   3 days 5 hours ago
firstbcasttime:  23:05:00
firstbcastyear:  2024
longname:        Hope and Glory
name:            Hope and Glory
nameshort:       Hope and Glory
pid:             m001vgfb
player:          https://www.bbc.co.uk/iplayer/episode/m001vgfb
qualities:       original: fhd,hd,sd,web,mobile
qualitysizes:    original: fhd=6976MB,hd=4422MB,sd=2501MB,web=1444MB,mobile=453MB [estimated sizes]
releaseyear:     1987
sebcast:         202401132305
sebcastdate:     20240113
sebcasttime:     2305
senum:           s01e01
senumx:          01x01
seriesnum:       1
seriessort:      2024
sesort:          s01e01
sesortx:         01x01
subsfile:        /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.srt
subspart:        /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.partial.srt
subsraw:         /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.ttml
thumbfile:       /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.jpg
thumbnail:       https://ichef.bbci.co.uk/images/ic/1920x1080/p0h4597s.jpg
title:           Hope and Glory
tracklist:       /Users/skovatch/Desktop/iPlayer Recordings/Hope_and_Glory_-__m001vgfb_default.tracks.txt
type:            tv
verpids:         original: m001vgf6
version:         default
versions:        original
web:             https://www.bbc.co.uk/programmes/m001vgfb

I don't see anything in the program metadata that would indicate that the BBC gave it a series or episode number. I would file a bug with get_iplayer, since I can reproduce this outside of GiA.

@jefro108
Copy link
Author

Glad it's not just me then 😊

@jefro108
Copy link
Author

This seems to be still happening. Is there no solution in get_iplayer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants