define service_longname when service specified #57
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #56
If --service is argumented, service_longname is not set in the meta causing error
Upload-Assistant/src/trackers/MTV.py
Line 372 in 69c0bce
I'm really lost as to what the intended purpose was here. If I just keyed like the existing logic, it would key from the first key, and just use CR, being the first key, instead of the services long name, Crunchy Roll, (since every service long_name key is duplicated from an abbreviated service key).
If I manually set --service "Crunchy Roll", then it would use "Crunchy Roll" for both the service and service_longname meta.
What on earth was the purpose of service_longname if it's just set as the abbreviated service name.......And if you service the longname, why didn't it use the abbreviated service name for the service meta.
This PR sets the service longname to the actual service longname when the argument --service is used.