Comments (3)
hmm, doesnt appear to be in the stations list
<id>JOLK</id>
<name>NHKラジオ第1(福岡)</name>
<ascii_name>JOLK</ascii_name>
<ruby>えぬえいちけーらじおだいいちふくおか</ruby>
<areafree>0</areafree>
<timefree>1</timefree>
all nhk stations are areafree 0, timefree 1
maybe its in the programme json
from yt-dlp-rajiko.
ts_in_ng/ts_out_ng
in the programme json, might be it
for timefree available (CCL):
ts_in_ng: 0
ts_out_ng: 0
for no timefree (JOBK):
ts_in_ng: 2
ts_out_ng: 2
but what do the numbers mean? why are there two? is it ever 1?
might need to read the site js
from yt-dlp-rajiko.
if (!data.isAreaFree) {
data.nowPlayArea = '<p class="live-detail__plan invalid-station">この放送局の番組は、<br />放送エリア外からは聴取することができません。</p>';
$btnList.remove();
}
else if (+data.isFuture === 0) {
data.nowPlayArea = '<p class="live-detail__plan">この番組は' + data.progStartTime + '〜配信予定です</p>';
}
else if (!_.contains($.Radiko.user_station_list, _stationId) && +data.tsInNg !== 2 && +data.tsOutNg === 2) {
data.nowPlayArea = '<p class="live-detail__plan">この番組は、放送エリア外からは聴取することができません。 </p>';
$btnList.remove();
}
else if (!_.contains($.Radiko.user_station_list, _stationId) && +data.tsInNg === 2 && data.tsOutNg === 2) {
data.nowPlayArea = '<p class="live-detail__plan">この番組は、タイムフリー聴取機能では聴取することができません。</p>';
$btnList.remove();
}
else if (_.contains($.Radiko.user_station_list, _stationId) && +data.tsInNg === 2) {
data.nowPlayArea = '<p class="live-detail__plan">この番組は、タイムフリー聴取機能では聴取することができません。</p>';
$btnList.remove();
}
from tsDetail.js
maybe
tsInNg = playable in the area
tsOutNg = playable outside the area
outside station area + playable in area + not playable outside = not available in your area
outside station area + not playable in area + not playable outside area = not available on timefree
inside station area + not playable in area = not available on timefree
we'll always be in the station area, so i think we only have to check tsInNg
from yt-dlp-rajiko.
Related Issues (20)
- question dump (why are things the way they are)
- package/load v8 key properly HOT 1
- unified time handling might be a good idea HOT 5
- (mobile) programme support HOT 3
- paginate search HOT 1
- auth fails on newer yt-dlp! HOT 1
- maybe cache station details? HOT 2
- extractor arg: stream device HOT 2
- mark as-live streams as such HOT 1
- decouple device spoofing from main extractor HOT 3
- How to designate region code HOT 4
- cache formats? HOT 1
- switch to v8 auth HOT 2
- station button embeds
- share embeds HOT 4
- chapters with played songs HOT 5
- law-abiding citizen mode HOT 6
- gRPC APIs HOT 4
- law-abiding citizen mode: premium account support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt-dlp-rajiko.